header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Cim
Points:0
Posts:0

9/26/2010 12:22:04 PM

Title: A movieclip within a button!


Okay, so here's how my current file looks (I'm working with CS5/AS3):

Stage - Movieclip - Button - Movieclip

I'm trying to get the movie clip within the button to play when the user clicks. I've tried pretty much everything, don't know if the actions layer has to be on the main timeline?

Good thing to know might be that both the button and the movieclip has several layers each, since I'm tweening some objects with Motion and some with Shape. Would love some help on how to get this done, homework due in two days.



1
Justin
Points: 600
Posts:0
9/26/2010 10:05:26 PM



button inside a movieclip will not be accessible, and its not a good practice to use movieclips inside a button. Buttons are not containers so should not be used to place other movieclips, Keep the button and movieclip on the same level and on click of button just play the movieclip.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 2+3 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions