×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

buttons ....

buttons ....

buttons ....

(OP)
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

RE: buttons ....

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

-- 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
--

Kenneth Kawamoto
www.materiaprima.co.uk

RE: buttons ....

(OP)
thanks i will give it a try in the morning before work.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close