all groups > flash actionscript > november 2005 >
You're in the

flash actionscript

group:

How to load images into movie clips before they appear on the timeline...


How to load images into movie clips before they appear on the timeline... Centerpoint Computer
11/25/2005 10:39:38 PM
flash actionscript:
In frame one of the main timeline, I want to use loadMovie to load a JPG into a
clip that doesn't hit the stage until the 10th frame. How do I get that image
loaded without having to put the script on the same frame? Do I export it for
action script or what?
Re: How to load images into movie clips before they appear on the timeline... Vee
11/26/2005 12:00:00 AM
Ive always had mixed results with this. Although I have bnot tried the above
script provided by iJustLoveFlash. By loading images into containers you have
the same problems that html has - different loading times depending on the
users connection speed and such. If it is absolutely necesary to load the jogs
in this manner provide enough time for each, making it longer than you think
you need. Especially with Flash files, the user have grown acustomed to speed.
Think about giving a heads up to your user or using a external swf with a
preloader.
Re: How to load images into movie clips before they appear on the timeline... iJustLoveFlash
11/26/2005 12:31:56 AM
imho :

this.createEmptyMovieClip("jpgHolder",this.getNextHighestDepth());
this.jpgHolder.loll._visible=false;=false;
//loadcode
//check if on frame 10 then : loll._visible=false;=true;

are you surtain that jpg has been loaded in the time of first 10 keyframes?
AddThis Social Bookmark Button