Be a Supporter!
Response to: Movieclip audio, 16k frame limit Posted July 8th, 2014 in Animation

At 7/8/14 01:26 PM, Zhon wrote: I'm not really a programmer but I've used onEnterFrame in AS2 before. This might help you get going in the right direction:

http://noobflash.com/actionscript-30-onenterframe/

Thanks for the suggestion!

I think I understand what onEnterFrame does, but I'm not sure how that helps with this particular problem. The problem is that once the movie advances to another frame, as far as I am aware, the Movieclip from the previous frame should cease to exist. It appears to do so visually. If I have the movie advance early to a frame with nothing in it, the visuals from the previous scene do not show up. The audio does, however. That is the problem.

From what I've gathered, the code inside each MovieClip that tells the root to advance works because it uses the "gotoAndStop" function, which seems to reset all of the audio in the movie when it does so. If it advances without using that function, the audio will still continue to play. This is what I'm trying to work around. Any ideas?

Movieclip audio, 16k frame limit Posted July 8th, 2014 in Animation

Hey guys, I was wondering if I could get some help working around the Flash Player 16k frame limit for an animation I'm working on. I've got a setup very similar to the following tutorial:

  • Bypass 16k frame Tutorial
    Bypass 16k frame Tutorial by HyperGumba

    You want to make a long movie but you exceed the 16k frame limit? I´ll show you my method!

    Score
    3.62 / 5.00
    Type
    Game
    Popularity
    6,908 Views
    Rated
    Everyone

The only difference is I'm using AS3 - otherwise, each scene is in its own keyframe, and at the end of the scene, the movieclip tells the root to go forward one frame. It works fine, but there's one problem.

If you right click the SWF and force it to go back/forward, it will do so - but the audio from the previous scene will continue to play. It sounds awful and I really need a way to stop that from happening. It's also not really something I can ignore since I usually have a pause/navigation menu in my movies and I want to be able to do so, while still working around the 16k frame limit.

If you look at the animations that guy has posted, each scene is on its own frame and you can right click and press "play" to jump to the next scene. If you do, the audio from the previous scene cuts out as expected. That's exactly what I'm going for, but I can't seem to find the cause of this problem.

Any help would be greatly appreciated!