I have a good sized animation that I am attempting to publish using CS5, but for some reason the animation always stops around the 9 minute mark.
I don't have any actionscript telling the animation to stop at that particular point, and regardless of how I order my scenes, it always stops at the same time.
Here is the only actionscript I have, and it's in the first scene:
movieClip_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToNextScene);
function fl_ClickToGoToNextScene(event:MouseEvent):void
{
MovieClip(this.root).nextScene();
}
My theory is that the animation is too big somehow, and Flash can only load up to a certain point.
I haven't been able to find any documentation on such an issue so any help is greatly appreciated.
Also, I'm using a TLF text, but it loads and displays properly in the animation.
Cheers.
Thanks for the response!
There are 17483 in the main timeline across 9 scenes.
I tracked down where the animation stops and it does seem the limit is 16000 regardless of ordering.
What I tried to do was boil each scene down to a movie clip and play each one in the main timeline in one frame each.
I have an actions layer in the main timeline with a stop(); in each frame for a movieclip.
Then I have an actions layer in each movie clip with a MovieClip(parent).nextFrame(); and a MovieClip(parent).gotoAndStop(1); in the last one.
For some reason that's not working though, it just loops through the first frame of each movieclip without playing any of them?
Could you tell me how I could work around this limit/If I am approaching it the right way?
Those nextFrame() calls and the last one should be in the last frames of the movieclips.
I have never created anything with this many frames involved, so I cannot say whether or not chopping them up into movieclips will work within the same file. If it happens to still fail, you can try creating them a couple separate swf files and load them as needed.
All of the movieclips have their calls in their last frames. For some reason that stil isn't loading correctly.
I'm still pretty green when it comes to actionscript so I know I could be missing something very simple.
The swf approach seems failsafe.
Do you know where I could find some good documentation on linking/loading separate swf files?
One thing to check right off the bat is that you are publishing anAS3 file. The code you are using is AS3, so you need to make sure the file is set to publish for that in the Flash Publish Settings.
If things remain not working, here's a link to a simple file I threw together for you to compare yours with...
North America
Europe, Middle East and Africa
Asia Pacific