This content has been marked as final. Show 4 replies
In your transition movieclip on layer ‘actions’, frame 40 you would probably want to use the MovieClipLoader class. The link below from the livedocs, is on the MovieClipLoader.onLoadProgress method.
So currently you have a loadMovie() on this frame. Replace it with the loadClip(), for documentation read the link I have posted. Does that help?
Thanks for the reply MyIP!
As a newbie to actionscript, I'm attempting now to merge the sample found on the link you gave me at: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context= LiveDocs_Parts&file=00002546.html
Using this sample, I tried replacing the bottom line with:
and then replaced the code in the "transition" movieclip in frame 40 of the actions layer with this.
No luck so far! Sorry, I don't have the greatest amount of experience with actionscript at the moment. Would it be at all possible for you to put this in context for me? I understand that's a bit of an ask so if you don't have time, that's fine. Any help is very much appreciated!
Stanbridge (the not-so-great)!
I spent some time on your file today and about after 30 minutes of trying to find out the problem I realized you were using an onClipEvent. I would never use this unless you’re doing a large project that would make it easy to pass other components to other developers. It was on your content movieclip.
Also I have noticed in your Publish Settings you are publishing the SWF for Flash 6.0. You need to have the SWF for Flash 7.0 or above.
And finally, if this SWF is going online, I would set the FPS to 30 max, not 80.
So if you still want to do it the way I recommended in my first post, delete the onClipEvent code, change your publish settings to Flash 7.0, change the FPS and continue with writing the code on the frame 40. You should use the MovieClipLoader’s onLoadProgress and onLoadComplete event handler on this frame to get the playhead to frame 41.
Hi again MyIP,
Sorry for the delayed reply. The work just doesn't stop!
MANY THANKS FOR YOUR TIME AND EFFORT!!!
The onClipEvent is there from the original script I based this on. I will change the settings as indicated and switch the onClipEvent for MovieClip Loader and onLoadProgress. Provided I get this working without any further help, I'll post a link to a finished example when I'm done!
Just out of curiosity, provided I'm not using lots of keyframes (it's mostly long tweens), is there any benefit to reducing my FPS from 80 to 30?
Thanks again for all of your help mate!