
Welcome Guest
|
#1
|
|||
|
|||
|
The problem that I’m having is that it doesn’t execute my if statement (if the current frame is 3 go to and stop 3) it just ignores it and does the else. I want it to NOT do anything else if the current frame is already 3 other than stay frame 3.
to see what i'm trying to do go to; http://24.147.236.181/index.html "h11" = tracks the history of the mouse with "image11" h11's frames frame1 - stop () - is a gray square square with the number 11 in it, indicating that the mouse/user HAS NOT been to image 11. frame2 - stop () - is a blue square square with the number 11 in it, indicating that the mouse/user is ON/AT image 11. frame3 - stop () - is a yellow square square with the number 11 in it, indicating that the mouse/user HAS click-on image 11 and it stays yellow as a reminder that they have already seen image 11. this is the actionscript that i've written for "image 11" on (rollOver) { if (getProperty ( _level0/h11, _currentframe ) == 3 ) { tellTarget ("_level0/h11") { gotoAndStop (3); } } else { tellTarget ("_level0/h11") { gotoAndStop (2); } } } on (release, releaseOutside) { tellTarget ("_level0/h11") { gotoAndStop (3); } } on (rollOut) { if (getProperty ( _level0/h11, _currentframe ) == 3) { tellTarget ("_level0/h11") { gotoAndStop (3); } } else { tellTarget ("_level0/h11") { gotoAndStop (1); } } } |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The History of Flash | theUKdude | Members Cafe |
29 | 01-24-2013 08:24 AM |
| Simple Flash Help | jwinston | Newbies |
1 | 10-29-2006 08:04 AM |
| Flash Video Encoder Compare | flashfever2nd | New Softwares | 1 | 05-20-2006 03:46 AM |
| Open Letter to Macromedia | molaram | General Flash | 10 | 02-18-2005 01:29 AM |
| 3 simple flash MX questions | hexe | Newbies |
15 | 09-17-2002 02:09 PM |





