rgarimella
asked on
AS3 AttachMovie??
Hi Folks,
I have a button the library and I want to attach it dynamically to the position x:100, y:100. How do we do it in AS3
Any sample is greatly appreciated
Thanks
RG
I have a button the library and I want to attach it dynamically to the position x:100, y:100. How do we do it in AS3
Any sample is greatly appreciated
Thanks
RG
ASKER
Hi
I have a button in the library named CA
I wanted it to attach it dynamically from the library to the position
In AS2 attachMoveClip was used dont know how to do in AS3
RG
I have a button in the library named CA
I wanted it to attach it dynamically from the library to the position
In AS2 attachMoveClip was used dont know how to do in AS3
RG
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I'n not exactly sure what you mean by "attach dynamically to the position". Do you mean move the button to that position?
If so, it's simply:
mybutton.x = 100;
mybutton.y = 100;
where mybutton is your instance name. If you mean something else, please clarify.
HTH
Gene