road0001 / tweener

Automatically exported from code.google.com/p/tweener
0 stars 0 forks source link

_frame tween does not update movieclip #55

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When using the _frame property and having initialized the DisplayShortcuts 
the Tween will run, but the MovieClip doesn't update until after the Tween 
is complete. Possibly related to the Flash player redraw issue.

Issue occurs with AS3, Flex Builder 3

*FIX*
Changing the _frame_set function in DisplayShortcuts to set the frame only 
if the current frame does not equal the given frame.

if(p_obj.currentFrame!=Math.round(p_value))
{
    p_obj.gotoAndStop(Math.round(p_value));
}

Original issue reported on code.google.com by brabantselekkernij@gmail.com on 10 Feb 2009 at 10:32