[Flashcoders] as3 rollover rolloff issue..

2009-04-02 Thread Preston Parris
So basically I have a bunch of thumbnail images set up in a grid form, each
is the same movieclip just multiple instances of it. This movie clip has a
rollover and rolloff state that basically scales the image up, this is done
with external as that loops through and creates the event listeners for each
one. If i roll over a movie clip and then roll off at normal speed,
everything works as intended, the old one scales down to normal size, and
then new one scales up. The issue comes when you quickly roll off and then
back on. The movieclip gets stuck in scaling down to about half way. Any
ideas on how to fix this? Also I dont want to remove all of the event
listeners for the other clips until it scales back down because it would
take away from the visual effect.

thank you!

-- 
Preston Parris
ppar...@modevisual.com
cell: 704.450.9299
www.modevisual.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] as3 rollover rolloff issue..

2009-04-02 Thread jonathan howe
Preston,

There are two possible issues:

1. The scaled image is overlapping other scaled images and messing up your
chain of events fired
2. The tween method you are using to scale is not being properly terminated
and restarted/triggered. (How are you scaling the images?)

I would start by putting a trace action on both my event handlers for each
image (maybe tracing image name/id # for clarity) and seeing what the output
is: if everything happens in the expected order then I would look towards
blaming #2.

-jonathan



On Thu, Apr 2, 2009 at 10:24 AM, Preston Parris prestonpar...@gmail.comwrote:

 So basically I have a bunch of thumbnail images set up in a grid form, each
 is the same movieclip just multiple instances of it. This movie clip has a
 rollover and rolloff state that basically scales the image up, this is done
 with external as that loops through and creates the event listeners for
 each
 one. If i roll over a movie clip and then roll off at normal speed,
 everything works as intended, the old one scales down to normal size, and
 then new one scales up. The issue comes when you quickly roll off and then
 back on. The movieclip gets stuck in scaling down to about half way. Any
 ideas on how to fix this? Also I dont want to remove all of the event
 listeners for the other clips until it scales back down because it would
 take away from the visual effect.

 thank you!

 --
 Preston Parris
 ppar...@modevisual.com
 cell: 704.450.9299
 www.modevisual.com
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
-jonathan howe
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders