A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Button inside movie clip

  1. #1
    Senior Member
    Join Date
    Apr 2003
    Location
    MA
    Posts
    273

    Button inside movie clip

    I'm having a problem getting a button to work. I have a movie clip, which has several layers inside it. When you roll over the movie clip, actionscript makes it play and "open." It stops in the middle to reveal a button. The button is keyframed into one of the layers inside the movie clip. My problem is that you can't press that button! Even though the button is the top layer, it can't be clicked. Why not? How can I make this button usable?

    In simpler terms, I have a piano lid movie clip, the lid opens when you roll over it, revealing a key underneath. But You can't press the key. Why not?

  2. #2
    Flashkit Jedi

    Join Date
    Jul 2001
    Location
    Coruscant System
    Posts
    3,426
    You should be able to click on the button even if it has got another mc over the top of it. The only way to stop you clickong on it would be to have another button on top of that button... makin sence?

    But I doubt thats the case. Can you post the fla file?

    XFM

  3. #3
    Senior Member
    Join Date
    Apr 2003
    Location
    MA
    Posts
    273
    The FLA:
    http://www.delvarworld.com/stuff/nav4.fla

    If you go to the second frame of the main stage and click on the music button, you see it has rollover and rollout attributes in the actionscript. If you double click on it, you'll see a layer called "gobutton" with a keyframe on it. That keyframe holds the button I want you to be able to click, which is that black circle. But that button can't be touched. Help?

  4. #4
    Senior Member green_eye's Avatar
    Join Date
    Apr 2004
    Location
    Sarasota, Florida
    Posts
    1,496
    zip the file up to your server the browser is trying to display the fla but cant

  5. #5
    Senior Member
    Join Date
    Apr 2003
    Location
    MA
    Posts
    273
    Fixed, anyway

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