A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Using button outside of a movie clip to navigate

  1. #1
    Junior Member
    Join Date
    Oct 2008
    Posts
    11

    Using button outside of a movie clip to navigate

    I have 2 buttons on the root of the flash, i want use those buttons to control the frames of a movie clip, how can it be done?

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    give the button an instance name - say - myBtn
    give the movieclip an instance name - say - myClip
    give the frames in the movieclip you wish to navigate to, unique frame labels.

    from the main timeline, navigate to the movieclip timeline labels with -
    PHP Code:
    myBtn.onRelease = function(){
    _root.myClip.gotoAndStop("label3");
    }; 

  3. #3
    Junior Member
    Join Date
    Oct 2008
    Posts
    11
    thanks for the help

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