-
controlling Movie Clips _alpha
HI,
Flash MX.
I have a Flash project with a MovieClip with a glowing icon on rollover.
"air " is the name of the instance in the main timeline. There is a clip inside "air" (named "airCH") that actually fades in and out.
I'm using this to get it to Glow. This script lives on maintimeline - frame 1.
air.onrollover = function() {
this.gotoAndPlay("fadeIn")
}
and this to get it to fade
air.onrollover = function() {
this.gotoAndPlay("fadeOut")
}
There is a frame in the main Timline that I want to "stop" bring the _alpha up full.
Can you please help me understand how to do this? I've tried attaching this to the "air" clip at this frame.
onClipEvent (enterframe){
air.airCH.gotoandplay("fadeIn")
}
to no avail...
Many Thanks
Mindy
-
Young Senior Member
just put:
air.airCH.gotoandplay("fadeIn");
in the frame on the main timeline where u want this to happen.
-
Thanks mayhem..
I was so overthinking it...duh.
Mindy
Hey, How come it is so hard (for me) to address a clip by its instance name. The clip in question was "air_mc"
When I named it "air" in the properties window - no problem - but i can't seem to address it as "air_mc" (instance name)
air.gotoandplay("fadeIn") - works great (my name of instance in properties window)
air_mc.gotoandplay("fadeIn") - doesn't (actual clip instance name)
????
-
Young Senior Member
dunno, both work on my comp. flash isnt exactly the most rational program there is ...
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
|