Groups | Blog | Home
all groups > flash actionscript > july 2006 >

flash actionscript : Actionscript for movieclip onRollOver


wynterain
7/1/2006 3:00:55 AM
I want to know how do I get the image that enlarges to cover the one that is
not enlarged onRollOver? The second movieclip doesn't cover the first on
rollover, how can I fix this issue? Please view example:

http://img187.imageshack.us/my.php?image=oralkisses6cn.swf
Motion Maker
7/2/2006 11:21:02 AM
You need to MovieClip.swapDepths.

http://livedocs.macromedia.com/flash/8/main/00002519.html
You could modify the example there to use the onRollover and on Rollout
events.

A non programming way with basic AS is to have one frame for the first image
MC (MovieClip) on a layer above the second and a second frame with the
second image MC on a layer above the first. Then the rollover effects
gotoAndStop on the correct frame.



--
Lon Hosford
www.lonhosford.com
Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com
May many happy bits flow your way!
[quoted text, click to view]

AddThis Social Bookmark Button