Ali,
You need to set the visible _after the clip has loaded_ - because a
load replaces a bunch of properties on a MovieClip, including
_visible. Take a look at the MovieClipLoader class, which dispatches a
callback called onComplete when the clip is loaded.
An alternative is to create a
When you use loadMovie (or loadClip, for that matter), the target clip is
replaced by the loaded clip (or swf) and loses all of its properties.
So, when you do this:
initLoader.loadClip(assets.swf, tmpContainer);
tmpContainer will have all its default values reset. And so, _visible will
be
Thanks Ian and Juan, I had forgotten about that!
Cheers,
Ali
On 16 Sep 2008, at 17:25, Juan Pablo Califano wrote:
When you use loadMovie (or loadClip, for that matter), the target
clip is
replaced by the loaded clip (or swf) and loses all of its properties.
So, when you do this:
3 matches
Mail list logo