[Tweener] Very quick question... (AS2)
Gerry Creighton
gerry at thespikeranch.com
Mon Jan 26 07:50:14 PST 2009
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20090126/ce1420b5/attachment.htm>
More information about the Tweener
mailing list