USERNAME:
PASSWORD:
Save Info!
Logging in…
This topic is 1 page long.
[ Profile | Posts | Contact ]
Posted at: 10/4/09 11:53 PM
Sign-Up: 10/13/07
Posts: 276
Ok, iv posted a couple times. No help. So i guess ill simplify my question. I need a way to grab a movieclip from within another movieclip, and bring it to the main stage so it can be moved around etc.
BOOM HEADSHOT
Posted at: 10/5/09 12:11 AM
Sign-Up: 01/04/05
Posts: 6,399
Check your library.
Flash Freestyle Battle | Flash (Noob) Tutorial | Team Fortress 2 Crew
Posted at: 10/5/09 02:13 AM
Ok, I knew someone would refer to something like adding a new copy form the library. Im using actionscript 3.0, The movieclip has over movieclips added within it during the movie. So adding it from the library with addChild would not add the same Movieclip with all of the other movieclips nested within.
Posted at: 10/5/09 10:37 AM
Sign-Up: 10/12/08
Posts: 198
At 10/5/09 02:13 AM, kizza0 wrote: Ok, I knew someone would refer to something like adding a new copy form the library. Im using actionscript 3.0, The movieclip has over movieclips added within it during the movie. So adding it from the library with addChild would not add the same Movieclip with all of the other movieclips nested within.
I promise you, it will.
Posted at: 10/5/09 10:53 AM
Sign-Up: 08/10/05
Posts: 6,027
This should work, although I haven't tested it and there might be a better way of handling it:
var inside : MovieClip = outside.inside; addChild(inside); inside.x += outside.x; inside.y += outside.y;
This will essentially grab 'inside' MC from 'outside' MC and insert it onto the stage.
Portfolio(Under construction): UnknownFury.com | Msn: giant_ak_47@msn.com | Contact: me@unknownfury.com Follow me on twitter!
Posted at: 10/5/09 11:28 AM
Sign-Up: 07/18/04
Posts: 1,274
You must have a problem with flash or some shit. Unless your using that shitty freeware, what's it called? Snitty, shitty, somethin.
PhotoShop Threads || My Main Page || Read This Daily!
All times are Eastern Standard Time (GMT -5) | Current Time: 07:36 AM
<< Back