Not in AS2, unfortunately. That's one of the main drawbacks. And one
of the best improvements in AS3.

There are a few tricks you can pull to almost get there:

1) If it's a static image (i.e. a JPG, PNG or non-animated
single-frame SWF) and you're using Flash 8 you can extract the
BitmapData from a clip in the parent (loading) movie and shove that
BitmapData into a new blank clip in the child (loaded) movie. That
works well.

or

2) If you preload an external clip into the parent movie, it'll load
almost instantly (due to caching) in the child movie.

or

3) You create a _proxy_ clip in the child movie that encapsulates the
attaching/detaching/location etc. of the real clip in the parent
movie. So when you manipulate the child clip, the changes get passed
to the real clip. This can be useful for positioning and such - I've
been forced to use it a couple of times.

or

4) You could use a shared library common to both the parent and child
movies - then the library items would be available to both, but would
only have to be loaded once (with the parent).

Hope those are of some help!

Cheers,
  Ian


On 2/13/07, Jason Lutes <[EMAIL PROTECTED]> wrote:
Is it possible to attach a symbol (using attachMovie and a valid linkage ID) 
within a movie, but from the Library of a movie that loads in that movie (using 
loadMovie)? I did a simple test that didn't seem to work, so maybe I already 
have my answer. Before I work around it the hard way, has anyone here done this 
kind of thing before?

Synopsis:
Movie A loads movie B.
Movie B needs to attach a symbol from the Library in movie A.


-
Jason
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to