dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: button links

  1. #1
    Junior Member
    Join Date
    Apr 2002
    Posts
    1
    i have a button linking to a frame label using the goto actionscript, however it's not playing the desired mc. is there any issues in linking from outside the main timeline? ( i have a link which runs a mc fine, but that button is on the main timeline). the button in question works correctly (rollover effect, etc.) but it can't seem to find the right mc.

    confused enough? i can try to explain more if necessary...

  2. #2
    you can test _root.gotoAndPlay(1);
    root is the main timeline!!

    and if you whant go to a frame in a MC you write
    _root.yourMC.gotoAndPlay(1);

    and if you whant to go to a MC in a MC you write
    _root.yourMC.yourMC.gotoAndPlay(1);

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