# (EXPERT NEEDED)attaching from "in target" loaded mc?

**URL:** <https://forum.kirupa.com/t/expert-needed-attaching-from-in-target-loaded-mc/25476>\
**Category:** flash\
**Created:** [July 13, 2003, 9:33am UTC](https://forum.kirupa.com/t/expert-needed-attaching-from-in-target-loaded-mc/25476 "2003-07-13T09:33:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mediaholic](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mediaholic](https://forum.kirupa.com/u/mediaholic)\
**Post date:** [July 13, 2003, 9:33am UTC](https://forum.kirupa.com/t/expert-needed-attaching-from-in-target-loaded-mc/25476/1 "2003-07-13T09:33:06Z")

</div>

(zip-file attached!)  
i have main.swf with FPushButtonSymbol-linkageID in libary  
on main timeline a have this:

this.createEmptyMovieClip(“holder”,10);  
this[“holder”].\_x=100;  
this[“holder”].\_y=100;  
this[“holder”].createEmptyMovieClip(“holder\_lev1”,11);  
this[“holder”][“holder\_lev1”].\_x=100;  
this[“holder”][“holder\_lev1”].\_y=100;  
this[“holder”][“holder\_lev1”].loadMovie(“extern.swf”);

and my extern.swf have this on his timeline:

init\_obj\_b={\_x:0, \_y:0, label:“hallo”};  
this.attachMovie(“FPushButtonSymbol”, “b”,50,init\_obj\_b);

THE PROBLEM: the button is not attached!  
ok i know that this don’t work by default, and i could use loadMovieNum but i realy do need this TARGETS-mc.

DOES ANYBODY KNOW SOME SUITABLE WORKAROUND FOR THAT?  
i found this answer from gparis on this thred [http://www.flashkit.com/board/showt...threadid=462496](http://www.flashkit.com/board/showt...threadid=462496)

BUT I DON’T ANDERSTAND IT!

> 

I would say: load into a \_level, not into a target. That’s the usual “getaround” with attached symbols that preload before anything else. If they really need to be in targets, once they are loaded into \_level1 for instance, and cached, load them again into your holders.  
gparis

PLEAS CAN ANYBODY HELP?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 13, 2003, 11:15am UTC](https://forum.kirupa.com/t/expert-needed-attaching-from-in-target-loaded-mc/25476/2 "2003-07-13T11:15:15Z")

</div>

Is this what you were looking for? :-\

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 13, 2003, 11:26am UTC](https://forum.kirupa.com/t/expert-needed-attaching-from-in-target-loaded-mc/25476/3 "2003-07-13T11:26:35Z")

</div>

tnx Claudio,

i won’t the UiComps  
to be in main.swf so i don’t have to preload the again and again  
for each extern-swf i load subsequently.

see this tread(i already had long discusion:BUT STILL NO ANSWER) i u thing u can help, it is very konzeptualy-general question.

> **[ActionScript.org Forums - Powered by vBulletin](http://www.actionscript.org/forums/index.php)**
>
> ActionScript.org Forums
