LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-21-2005, 09:11 AM
brahill brahill is offline
Registered User
 
Join Date: Mar 2005
Posts: 3
Rep Power: 0
brahill is on a distinguished road
Crying Making a button inside of a drag & drop-able object.

I create a button which is located inside a drag & drop-able "objectA" so
that it moves along with the object above. I want to make this button to be
clickable for trigering some actions. But, it seems like this button will be
considered to be a part of the "objectA".

How'd I make the button clickable?

Here is the actions on the main timeline:

objectA.onPress=function()
{ this.startDrag(); }
objectA.onRelease=function()
{ this.stopDrag(); }


And here is the actions for the button

button.onRelease=function()
{ _root.gotoAndPlay("start"); }
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Button inside Movieclip with actions gueycito Flash CS3 / Flash 9 5 10-30-2009 03:19 PM
linking a drop down button to a frame using actionScript 2.0 thegoodcitizens Flash CS3 / Flash 9 1 05-12-2009 08:20 PM
Advanced Drag and Drop stevenhanton General Flash 0 03-07-2009 06:00 PM
Setting and Passing Global Variable in a drag and drop maximus14 Actionscript 2.0 2 09-25-2006 06:21 PM
drug and drop inside the mc olka_sb General Flash 0 12-13-2002 06:24 PM




All times are GMT. The time now is 06:00 PM.