A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Playing another movie on Release

  1. #1
    Junior Member
    Join Date
    Mar 2004
    Location
    Northern VA
    Posts
    21

    Playing another movie on Release

    My Flash is sketchy but it doesn't seem to be working:

    This AS is on the button:

    on(release) {
    _root.car_go.gotoandplay(1);
    }

    The movie instance name is "car_go"

    Am I way off base? Thanks for any help!

  2. #2
    Smile
    Join Date
    May 2006
    Location
    Sydney, Australia
    Posts
    91
    gotoAndPlay not gotoand play.

    It's case sensitive

  3. #3
    Junior Member
    Join Date
    Mar 2004
    Location
    Northern VA
    Posts
    21
    gotoAndPlay is actually what i have it as (sorry about that) but it still doesnt work

  4. #4
    Where's your button at? And where's car_go? Just wondering why you're using _root. And between on and (release) there's a space. I don't know if that makes a difference, but you never know with Flash...


    How about...

    on (release) {
    car_go.gotoAndPlay(1);
    }

  5. #5
    Hey Timmy!!! walsher's Avatar
    Join Date
    Jan 2005
    Location
    Latrobe, PA
    Posts
    1,899
    I'm guessing that you might have a stop where the first frame is. You might have to play the second frame.

  6. #6
    And maybe you want to try it with gotoAndStop, too.

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