★ wanayoo — archive 1999 http://www.devshed.com/Talk/Forums/Forum2/HTML/000023.htmlNouvelle recherche | Portail wanayoo
DevShed Menu
* DevShed Home
* Developer News
* DevShed Brain Dump




UBBFriend: Email This Page to Someone!
  DevShed Discussion Forums
  Graphics
  button action in Flash

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   button action in Flash
Ben Kaplan
Junior Member
posted March 06, 2000 10:20 AM     Click Here to See the Profile for Ben Kaplan   Click Here to Email Ben Kaplan     Edit/Delete Message Reply w/Quote
I am creating a fairly complex movie where the buttons must all have several actions and scripts attached to them. But, I am having trouble. I have attached a roll over, a roll out, a press and a release action to each button, each with a different goto result. My problem is that when I press it goes to the correct frame (I have a stop action on that frame) but when I release and roll out after the press, it activates the roll out. Is there a way to disable the roll out when the press has been activated? (Its probably something so simple that I am missing!)

Carnes
Junior Member
posted April 16, 2000 02:10 PM     Click Here to See the Profile for Carnes   Click Here to Email Carnes     Edit/Delete Message Reply w/Quote
You could try using a variable... when a button is clicked on, the variable is set to 1... set the release and rollout actions to only take place if the variable is 0.

On your rollout action, have the LAST action be setting the variable to 0. This way, if the button was clicked, the rollout won't be activated, but the variable will still be reset.

hope this helps

All times are MST (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | DevShed.com

Copyright © 1997-2000 ngenuity. All rights reserved.

Powered by: Ultimate Bulletin Board, Version 5.41a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.