Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Button help...

Status
Not open for further replies.

aarronjay

Technical User
Dec 1, 2006
3
0
0
GB

Hi guys,

I am new to director mx 2004 and have a question about buttons.

I have 4 buttons on my movie and want to be able to rollover each one of them and when you do another sprite appears at a point on the stage. Is this possible? I know how to do this in flash but am finding it very difficult in director.

Thanks for any help.

Aarron
 
Something like this should do:
Code:
on mouseEnter me
  sp = sprite(1)
  sp.puppet = 1
  sp.member = member("someMember")
  sp.loc = point(160, 100)
end mouseEnter

on mouseLeave me
  sprite(1).member = 0
end mouseLeave

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top