A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: _visible And Going to Different Scenes

  1. #1
    Junior Member
    Join Date
    May 2002
    Posts
    22
    Alright, I just can't figure out for the life of me what is wrong here...

    I made a button inside of a movie, and when I click the button, I want it to stop all sounds, go to a certain frame, and set _visible = False.

    Here is what I have the button's actions set to:

    on (release) {
    stopAllSounds();
    gotoAndStop("Gameboard", 2);
    this._visible = False;
    }

    But when I click it, the sound stops, the button disappears, but it doesn't take me to frame #2 of that scene, and I'm really lost as to why.

    Boy is this frustrating

    Please help my sorry self out =) My AIM is TheUberphallus, and I'm always online... thanx in advance

  2. #2
    Senior Member Flamboyant Flasher's Avatar
    Join Date
    Dec 2001
    Posts
    1,253
    Where does the button event take you then?

    Try going to a frame label rather than a frame number...Flash responds to labels better than it responds to numbers...that's what all the gurus say (and I'm not a guru, yet)...

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