LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-25-2001, 04:30 PM
novjoe novjoe is offline
Registered User
 
Join Date: Feb 2001
Posts: 2
Rep Power: 0
novjoe is on a distinguished road
Question this should be simple and flash 4 compatible. what am i doing wrong?

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);
}
}
}
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

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




All times are GMT. The time now is 11:59 AM.