|
-
Hey, just wanted to get in on this.
You can also create some variables to monitor things.
For mctittles picture thing, I'd make up a var like mainPicStatus.
mainPicStatus = "color";
or
mainPicStatus = "bw";
That'd mean it's black and white which means it has been moused-over. If you're doing a mouse over on a hotspot now, the hotspot can simply check mainPicStatus and leave the picture the way it is.
So no matter where, or what, you're mousing over or off of, you can simply check mainPicStatus to see what to do or not to do.
on (rollOver) {
if(mainPicStatus == "color"){
// do something here because you know the picture is color
}
}
Put these variables in the root movie so they're available from anywhere in the movie using _root. in front of it.
Meaningful vars like these help keep the programming clear and literal.
Last edited by moot; 09-23-2006 at 09:51 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|