what is use of preloader?
What are the diff var use for creating preloaders?
Answers were Sorted based on User's Feedback
Answer / ashishkr
preloader are used to know how much time a flash movie will
take to load itself in a flash player.
Is This Answer Correct ? | 21 Yes | 4 No |
Answer / uday
Preloader is used for load the full swf file in the
computer's memory. And then play the swf file. By this
process any heavy swf file will play smoothly.
we can use preloading functionality on the first frame as:
stop();
this.onEnterFunction = function(){
percent = (_root.getBytesLoaded()/_root.getBytesTotal())*100;
if(percent==100){
play()
}
Thanks,
Uday
Sr. Flash Developer
uday_sgh@yahoo.com
+91-9701155575
Is This Answer Correct ? | 15 Yes | 2 No |
Answer / mohammed sunely
Preloader are used to load all the content or animation
before its play
Is This Answer Correct ? | 16 Yes | 4 No |
Answer / chiranjeevi
Generally Flash will load starting from Frame one.
If we have animations and scripts then A flash which loads
without a preloader will move through frames immediately
when they load. In this way flash run with glitches and the
actions in the frames cannot access objects on the stage of
that frame as frame loads first with actions and objects
next[this i have faced in many experiments]. so Even the
code is correct it will malfunction.
For this purpose we use preloader to stop the movie in the
first frame and check the progress of the loading of entire
move. Once the loading is finished it is OK to go.
the default var used in preloader are
bytesLoaded
bytesTotal
More we create a var which we name it as 'per' to calculate
the percent loaded. once it reaches 100 which means it is
loaded.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / ilayaraja
Preloader are used to show Information about downaloading
files. and how much file bytes download yet now
Is This Answer Correct ? | 6 Yes | 3 No |
Answer / anmol saraf
Following are the two variables used while loading or
creating any preloaded -
1. _framesloaded
2. _totalframes
Is This Answer Correct ? | 5 Yes | 4 No |
Answer / sanjay singh
Preloader by using this function we run the swf in
sophisticated way, till the flash will not upload in the
client side.
Student
sanjaysingh3694@gmail.com.com
+91-9990220223
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / dinesh anand
Preloder is the thing which say the total size of the flash
file and how much has been loaded in ur system.
The var used in it should be a number.
example
var totalbyteNumber=_root.getBytesTotal() ;
var byteloaded:Number_root.getBytesLoaded();
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / ashishkr
Learn script to make Preloader.
http://www.getallinfo.com/computers/softwares/flash/action-script-dictionary/12_ASD392.html#678292
Is This Answer Correct ? | 4 Yes | 4 No |
Answer / saad khabir
Pre-loader is normally used to display the info about how
much of the swf file has been loaded and how much left.
Sometimes (depending on your application) your flash behave
erroneously although your code is correct because of the swf
file not loaded completely so pre-loader stops the execution
of the flash until it loads completely to work properly.
There are two ways to implement pre-loader:
1- Using code in the first frame which stops execution until
whole swf file is loaded.
2- Using another swf file to work as pre-loader which loads
actual swf file within itself.
Is This Answer Correct ? | 1 Yes | 2 No |
What is meant by vector graphic animation? What is the use of pre-loader?
is everyone required flash player plugin? : Adobe flash
what appears in the output window after executing this actionscript on the first frame of a movie? : Adobe flash
what is the key difference between while loops and do while loops? : Adobe flash
How to play a movie clip?
Tell me what are the different ways in which the variables can be assigned?
what is the primary difference between the xml.sendandload method and the xml.load method? : Adobe flash
what are the statements uses proper for loop syntax? : Adobe flash
what is not a disadvantage of using the fscommand? : Adobe flash
How to add event listeners in mxml components.
what is the primary purpose of the stage object? : Adobe flash
What is the use of pre-loader?