This is a discussion on "Condition on button action" within the Flash & Multimedia Forum section. This forum, and the thread "Condition on button action are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Condition on button action
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Condition on button action
Hopefully I will be able to explain this so someone can understand.
I am using a button to tell a movie clip to goto and play from a labelled frame. I only want this button to do this if that movie clip is currently at a particular frame, otherwise I don't want the button to anything. I am thinking that I can set a variable when the movie clip gets to that frame and set a condition on the button if the variable is 0 the button will not work. I have no idea how to write this in action script though. I realize this will probably need a long explanation but after reading through quite a bit of actionscript documentation, I still can't figure out how to write this. |
|
|
![]() |
| Tags |
| script, frame, flash, condition, button |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Image button triggers <form> action | rcflyer2005 | JavaScript Forum | 1 | Apr 18th, 2008 07:21 |
| preserve the back button action when doing AJAX calls | pesho318i | JavaScript Forum | 2 | Nov 28th, 2007 12:37 |
| how to change button action into a movieclip button action | cjrollo | Flash & Multimedia Forum | 7 | Nov 21st, 2007 17:07 |
| BUTTON will not take an action script | griffonwing | Flash & Multimedia Forum | 2 | Jun 8th, 2007 12:33 |
| agree the terms and condition script | csun | PHP Forum | 10 | Apr 18th, 2007 17:21 |