A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Action Script

  1. #1
    Junior Member
    Join Date
    Jan 2007
    Posts
    13

    Action Script

    I'm looking for a way to tell Flash to do something when I user leaves a frame anyone have any ideas?

  2. #2
    Senior Member
    Join Date
    Aug 2004
    Location
    plymouth-uk
    Posts
    313
    you will need to be more descriptive me thinks
    NOW! look whats happened! I told you to watch this space and now its gone.

  3. #3
    Junior Member
    Join Date
    Jan 2007
    Posts
    13
    I have a music player I want to write a script which will stop the music player when someone leaves the frame containing the player. I asked here before but no on answered me.


    Amy

  4. #4
    An Englishman in Frankfurt Jimbrowski's Avatar
    Join Date
    Nov 2006
    Posts
    240
    If the user needs to click a button in order to leave the Music Player frame, you could put a movieclip.stop(); action on that button....

    The movieclip just needs an instance name, for instance (ho,ho!!) musicplayer:

    on (release) {

    musicplayer.stop();
    gotoAndPlay("whatever frame you want");

    }

    If there's more than 1 button that the user could click to move from this Music Player frame....stick the stop action on all of them....

    Jimmy

  5. #5
    Junior Member
    Join Date
    Jan 2007
    Posts
    13
    Okeys thanks alot!

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