FrameRate and AS animation
I am doing a simple animation by loading in 11 images to the display list and then setting their visible property true of false in the following loop
private function onEnterframe(event:Event):void {
if (moveFlag)
{
if (InDirect)
{
if (visble < 10)
{
layr.getChildAt(visble).visible = false;
layr.getChildAt(visble+1).visible = true;
visble++;
etc...
The problem is that this appear to execute all ant once going from the first animation to the last with out any intervening images. I have lowered the frame rate to as low as one frame per second and it still does not work. I've traced this and found that the visible property of each image does get set to true.
It does work if I tie the eventlistener to a more discrete event such as mouseDown.
Thanks.
Mike H
