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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

buttons ....

Status
Not open for further replies.

IWINNIMI

MIS
Joined
Sep 26, 2005
Messages
4
Location
US
im making a project page that displays my motorcycle, and changes color ect ect

i have pseudo buttons that change where you are at in the movie to add in blinkers torn the lights on

but im having troubles setting up a button that turns on the breakes and turns off the breakes from a text sprite without changing locations in the movie since that would affect turning on left or right blinkers

i would like to have the brakes lights be on at any given time no matter where in play the user is in the accual movie file ...

just need a button to make visible and invisable sprite

please help, thank you
 
I don't know if I understood you properly but to toggle visibility you can do something like:

[tt]-- behaviour attached to a button
on mouseUp me
if sprite(2).blend < 100 then
sprite(2).blend = 100
else
sprite(2).blend = 0
end if
end mouseUp
--[/tt]

Kenneth Kawamoto
 
thanks i will give it a try in the morning before work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top