[Tweener] Tweener failing on second run as AS2 inside Flex

Chuck Neal chuck_lists at mediamacros.com
Thu Jul 16 06:39:56 PDT 2009


I'm working on an interactive animation for a client that will play 
inside a Flex based system. My file is AS2 and works fine in the browser 
or flash player.

I do have control of the code that loads the movies so I have been able 
to try a few things in Flex, but still no luck. For this system I have 
to use Flex 2.01. 3 is not supported.

When I load it into their system with a SWFLoader it works, the first 
time, but then on swapping files it stops. Everything that is not using 
a tween appears to work fine including localConnections, etc.

For example, my menu starts out with an _alpha of 0. That works, but the 
animation of it loading up with an alpha tween does not run. It appears 
all tweens break on second load.

I have tried the following...

* Change the source property of the SWFLoader
* Destroying and re-creating the SWFLoader

Has anyone else seen this and are there any known work arounds?

Thanks.

-Chuck
--------------------------
Chuck Neal
President, MMI (MediaMacros, Inc.)
chuck at mediamacros.com
http://www.mediamacros.com
http://www.mediamacros.net


More information about the Tweener mailing list