[Tweener] Very quick question... (AS2)

Graeme Blackwood grayhammy at hotmail.com
Mon Jan 26 08:21:54 PST 2009


Fantastic, thanks Gerry.

I unfortunately am constantly being pulled back into AS2 for reasons of clients wanting to reach B2B audiences that half the time are still on Flash 7 (if I am lucky) and IE 6.  So, I appreciate the help!

- Graeme


From: Gerry Creighton 
Sent: Monday, January 26, 2009 3:50 PM
To: tweener at lists.caurinauebi.com 
Subject: Re: [Tweener] Very quick question... (AS2)


I was going to knock off the AS2 cobwebs but did a quick search on Adobe to find this.


http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001383.html


Hope that helps.


-Gerry






On Jan 26, 2009, at 7:29 AM, Graeme Blackwood wrote:


  Hi all,

  This is may be really lame I know, but I can't work out why this isn't doing what it is told.  All I want is to load an external swf, listen to it coming in, and when it is complete, loop round and load it again, forever.  Actually I will be adding code to load the next file in the sequence, but this snippet is essentially what is not working.  I cannot even get the trace("HERE"); to work...

  Any ideas?


  function preload() {
     var newListener = new Object();
     
     newListener.onLoadComplete = function(evt) {
        trace("HERE");
        preload();
     }

     preloader_mc.addEventListener("onLoadComplete", newListener);
   
     preloader_mc.loadMovie(movie.swf, preloader_mc);
  }

  Many thanks!

  Graeme
  _______________________________________________
  Tweener mailing list
  Tweener at lists.caurinauebi.com
  http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com





--------------------------------------------------------------------------------


_______________________________________________
Tweener mailing list
Tweener at lists.caurinauebi.com
http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20090126/bf3efa1a/attachment.htm>


More information about the Tweener mailing list