A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: help me!

  1. #1
    Junior Member
    Join Date
    May 2002
    Posts
    19
    I've got a bunch of buttons in a movie clip. when I put the movieclip into the main timeline the buttons do not work when the movie is being played. If I break the buttons apart they work fine! Why? I cannot break them apart because they are being controlled by 2 arrows to move them left and right. What am I doing wrong?

  2. #2
    Flash Droid
    Join Date
    Jan 2002
    Location
    Birmingham, England.
    Posts
    180
    Let me see the code that you are using on your buttons and I may be able to help.

    Peace!

  3. #3
    Senior Member dlowe93's Avatar
    Join Date
    Aug 2001
    Location
    Stumptown
    Posts
    621
    Originally posted by melissawillmot
    I've got a bunch of buttons in a movie clip. when I put the movieclip into the main timeline the buttons do not work when the movie is being played. If I break the buttons apart they work fine! Why? I cannot break them apart because they are being controlled by 2 arrows to move them left and right. What am I doing wrong?
    what does the actionscript on the buttons do? if you are trying to target the _root timeline, you need to specify that. for example, a button placed in a movie clip with this code, will control the movie clip it's placed in:

    Code:
    on(release){
       stop();
    }
    to control the main timeline, use this:

    Code:
    on(release){
       _root.stop();
    }
    hope this helps.

    d.

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