Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Mar 2005
    Posts
    240
    Thanks
    1
    Thanked 0 Times in 0 Posts

    on release question

    Hi
    Just wondering what the proper syntax is to accomplish "on release, go to this frame and load this movie...

    I know how to do
    Code:
    on(release) {
    	gotoAndPlay(1);
    }
    and

    Code:
    on(release){
    loader.loadMovie("movie.swf");
    }
    Just don't know how to put the 2 into one snippet of code.

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    This assumes that there is a movieClip called loader.

    Code:
    on(release){
    gotoAndStop(#);
    loader.loadMovie("movie.swf");
    }
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


  •  

    Posting Permissions

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