A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Tweener lost on reloading into AS3 site.

  1. #1
    will i ever get it?
    Join Date
    Feb 2004
    Posts
    707

    Tweener lost on reloading into AS3 site.

    wow, i really didn't realize how much i hate as2 until today. So, we have this project built in as3. We have to import this old legacy swf done in as2 . This as2 swf uses Tweener HEAVILY. Upon first import, all is fine. If the user navs to another part of the AS3 site, we unload the as2 swf. Our problem is if the user comes back to the as2 portion, the Tweener class no longer works. I assume this is the case because i placed an onUpdate call to the as2 Tweener calls, and got not even a trace().

    Anyone have ideas on this? It appears that the as2 swf looses scope of it's Tweener methods upon being reloaded. I can trace Tweener as a [type Function] in the as2 on a reload.

    NOTE: We are not using Tweener at all in the as3 site. We are using GTween. On second thought, maybe i hate Tweener, and not my old friend as2.

  2. #2
    will i ever get it?
    Join Date
    Feb 2004
    Posts
    707
    Tweener = null;

    duh- i should have thought of that earlier...but why is that?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center