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

Button Challenge 1

Status
Not open for further replies.

Lear

Instructor
Apr 28, 2000
6
US
I have a button within a Flash file.&nbsp;&nbsp;When the mouse is over the button, it brightens.&nbsp;&nbsp;When pressed, it darkens.&nbsp;&nbsp;When left alone, it is off white.&nbsp;&nbsp;...three different graphics.&nbsp;&nbsp;Here's my problem.&nbsp;&nbsp;When I click the button, I want the default graphic (the off white graphic)to change to a purple graphic.&nbsp;&nbsp;So, for the rest of the time the user is in the Flash file, if they roll over the button, it still brightens; if they press it, it darkens; and if they leave it alone, it is purple.<br><br>How do I do this?&nbsp;&nbsp;Help would be greatly appreciated.
 
Hi ok this is really simple you take your main pic turn it into a Button then right click ether on the name in the library or on the actual picture then click edit it should have 4 different frams at the top one for none, over, done, and area or something just put in the apporperate pics in those 3 frams then go back to the top layer so you can edit the actual movie right click the button click preferences and click Action tab and you wont something like this <br><br>On (Press)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Go to and Play (1)<br>End On<br><br>or<br><br>On (Press)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get URL <br>&quot;<A HREF=" TARGET="_new"> window=&quot;_blank&quot;)<br>End On<br><br>if you do go here just so you know I'm making it better<br><br>Azmaramza<br>59238403<br><A HREF="mailto:t__whitehead@hotmail.com">t__whitehead@hotmail.com</A>
 
this is a little difficult. you want a movie clip with one off white frame in the beginning, one bright frame, one dark frame, and one purple frame. and, the movie clip should have a stop command in all the frames. then, have an invisible button in front of that, with tell target commands telling it to go to different frames in the movie clip. (if you need to know how to use the tell target command, check my posted tip -Tell Target Command-.) <p>Dan Crowley<br><a href=mailto:crow1126@bolt.com>crow1126@bolt.com</a><br><a href= in Verse</a><br>This is my poetry. It's good stuff!
 
Thanks all for your help.&nbsp;&nbsp;I went with Crow1126's solution.&nbsp;&nbsp;So far, so good.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top