Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

76 users online



Noobie Question: Rollover

Noobie Question: Rollover

Currently viewing this thread: 1 (0 members and 1 guests)


DBKenn

DBKenn

Lavvone
Status: Offline!

Noobie Question: Rollover

I know how to use Flash but I never used Actionsript before. I bought some training DVDs on Actionscript.

I have a problem with the mouse rollover. I can't really post any .fla files now before I'm in the middle of something but I made a box that I want to expand when I Rollover it.

The problem is that when I rollover the box it stops expanding. Like it stops after one step or interval. I want it to keep expanding until Rolloff.

fmx

fmx

null
Status: Offline!

look into onEnterFrame() or the new tween class
http://www.adobe.com/devnet/flash/articles/tweening_05.html

spot

spot

{mac++}
Status: Offline!

do you have any stop actions or anything, and have you tried using frame labels?

___________________

__________________
YUM
-Spotter

DBKenn

DBKenn

Lavvone
Status: Offline!

here is a file I created to show you what I'm talking about.

http://rapidshare.de/files/29940093/Untitled-1.fla.html

spot

spot

{mac++}
Status: Offline!

Hey,

I did it a little differently, not sure this is how you would want it done... But its how I do most of my rollover and rollout functions

http://www.teksunstudios.com/_misc/expand.zip

goodluck Whistle

___________________

__________________
YUM
-Spotter

DBKenn

DBKenn

Lavvone
Status: Offline!

thanks yours works but I don't understand why it has to be so complex. I just was a rollover.

hanks could explain what you did, again I'm a beginner, thanks again

spot

spot

{mac++}
Status: Offline!

Your asking how it works?

Well I created a shape, turned it into a Movie clip. If you duble click on that and enter its time frame youll see that there are THREE main parts to this. There is a Frame label layer, actions and finally the animation.

On each actions layer on the main keyframes i put a stop(); to control the movie once it got there. Im using the frame labels to tell the playhead to jump to a certain play postion. If you go back to the main timeline and click on the actions layers. You will see that the onRollOver and onRollOuts are going to the play head frames.

___________________

__________________
YUM
-Spotter

fmx

fmx

null
Status: Offline!

here is another way of doing it (very basic)

Attachments:

mcbox.zip 4.42 Kb, 130 views

DBKenn

DBKenn

Lavvone
Status: Offline!

thanks very basic is very good, lol

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0186 seconds.