Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 01-05-2010, 11:35 AM   #1
ahanslot
Registered User
 
Join Date: Jan 2010
Posts: 37
Question how to access button inside movie clip

i have this code in an as layer within a movie clip called pages

ss_btn.addEventListener(MouseEvent.CLICK,reportCli ck);

function reportClick (myevent:MouseEvent):void {

// do something in response
addChild(img_holder);
removeChild(img_holder);


}


but the ss_btn im trying to access is within another movie clip called menu is there a way i can access the button
ahanslot is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:25 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.