A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: playing a symbol through a different symbol?

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Posts
    4

    playing a symbol through a different symbol?

    hey, I have a symbol which contains a button which plays the next frame in the symbol. I'm wondering if I can also make it play the next frame in ANOTHER symbol.

    thanks!

  2. #2
    Junior Member
    Join Date
    Jun 2007
    Posts
    4
    also, is there a proper way to give the command to play the next frame in the symbol? I just write

    on(release){
    gotoAndPlay("[symbol name]", [number of next frame]);
    }

    but I noticed that it works the same even if I don't write the correct symbol name in... I'm just substituting symbol name where scene usually is.

  3. #3
    Senior Member
    Join Date
    Apr 2002
    Posts
    2,849
    You can control movie clip symbols with actionscript. So if you had a movie clip symbol with a name of "myClip" and you wanted it go to frame 5, your button would say:

    Code:
    on(release){
      myClip.gotoAndPlay(5);
    }

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