[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] PreLoader Errors
From: |
Matthias Kramm |
Subject: |
Re: [Swftools-common] PreLoader Errors |
Date: |
Sun, 26 Sep 2004 16:22:52 +0200 |
User-agent: |
Mutt/1.5.6i |
On Fri, Sep 24, 2004 at 11:55:06AM -0400, Mike McKinnon wrote:
> I am having problems with linking the external preloader and using my
> viewer.
>
> It appears that nothing in my viewer loads if i attach a preloader. Its
> like the AS is
> broken. No buttons work, nothing. Anyone else having problems?
When linking PreLoaders, the preloader SWF is stuffed into a sprite-
Actionscript paths like "/myvariable" or "_root.myvariable"
won't work anymore, because the locations are now, respectively,
"/loader/myvariable" or "_root.loader.myvariable".
The best way to make it work anyhow is probably to add code like
if(this.framesloaded < this.totalframes) {
GotoFrame(0);
Play();
}
to the last frame of the loader, and then link it with
swfcombine --cat loader.swf file_to_be_loaded.swf
Greetings
Matthias