A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Weird - Flash getting lost...

  1. #1
    Senior Member
    Join Date
    Oct 2004
    Rio de Janeiro, Brazil

    Weird - Flash getting lost...

    Hey there,

    I just developed a whole site, and it loads in modules.
    I have a main loader called "header.swf" that preloads 6 modules.
    I just hold the six modules in a onEnterFrame movieclip, setting six different flags: as each module gets loaded, it sets the flag to true; then when all six flags are true, the content of the onEnterFrame function is ran. Makes sense?
    Like that:

    PHP Code:
    _root.mcControle.onEnterFrame = function()
    if ((
    _global.FlagTrilha == true) && (_global.FlagMenu == true) && (_global.FlagEventos == true) && (_global.FlagNews == true) && (_global.FlagBottom == true) && (_global.FlagCortina == true))
    _level30._root.mcConsoleSom._visible true;

    Well, ok, it works fine... sometimes!

    Each module have an initial animation.

    There is two modules, tough, that I dont know why, sometimes they do not run the whole animation. They both have an animation called mcBottom that wides a background, and at the end of this animation (last keyframe) another animation called mcArea is called too. For any weird reason, the animation mcArea do not runs - SOMETIMES!

    The weirdest part is that, if I press F5 to reload, everything runs fine.

    Seems to me that actionscript is getting lost for some kind of synchro loss, or something like that. Anybody there have an idea about what can cause it?

    Thanks in advance!

  2. #2
    Senior Member
    Join Date
    Oct 2004
    Rio de Janeiro, Brazil
    Hey, hehe!
    Never mind, I solved that!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center