0
Linking SWf problem
New Here
,
/t5/animate-discussions/linking-swf-problem/td-p/886346
Aug 10, 2008
Aug 10, 2008
Copy link to clipboard
Copied
i am using this code when i press the Create Button:
var swf:URLRequest =new URLRequest("GameCreate.swf");
loader1.load(swf);
addChild(loader1);
loader1.x = 255;
loader1.y = 200;
This is when i start:
This is after i press Create Button:
This is after i press OK:(i purposely set the position to show u that i am using the method above which i dont know is it correct)
Now, I going to press the quit button, How am i gona to remove the child when THIS child is on the previous FLA file? or should i just navigateToURL?
var swf:URLRequest =new URLRequest("GameCreate.swf");
loader1.load(swf);
addChild(loader1);
loader1.x = 255;
loader1.y = 200;
This is when i start:

This is after i press Create Button:

This is after i press OK:(i purposely set the position to show u that i am using the method above which i dont know is it correct)

Now, I going to press the quit button, How am i gona to remove the child when THIS child is on the previous FLA file? or should i just navigateToURL?
TOPICS
ActionScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

/t5/animate-discussions/linking-swf-problem/m-p/886347#M21811
Aug 11, 2008
Aug 11, 2008
Copy link to clipboard
Copied
You've used addChild to add the loaded SWF... just reverse it
by using removeChild 🙂
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Dialionx
AUTHOR
New Here
,
LATEST
/t5/animate-discussions/linking-swf-problem/m-p/886348#M21812
Aug 11, 2008
Aug 11, 2008
Copy link to clipboard
Copied
1st fla , 2nd fla , 3rd fla. i addChild(2nd swf) in 1st fla,
how can i remove a child thats not in the same fla file?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

