View Full Version : Flash - Play external .swf inside current .swf
06-21-2005, 08:24 PM
Is it possible to have an external Flash movie play inside another?
I have a movie with a nav bar & dynamic text boxes etc linking from outside sources. I'd like another movie I've made to be inside this movie (where it currently reads 'Additional Content'), so that it loads AFTER my main movie has loaded etc.
Main Movie (http://www.alexrat.netfirms.com/portfolio/teevo/teevo.htm)
Additional Content (http://www.alexrat.netfirms.com/portfolio/teevo/profilelinks.htm)
Note: Both movies are currently in development so only a few links etc work.
06-21-2005, 10:24 PM
With just a bit of actionscript.
Replace _root.dropZone with the sprite that you want the content to be loaded into. This target sprite should be positioned where you want the new movie to appear.
06-22-2005, 12:12 AM
I'm sorry. I have no idea how to implement that. :o
I assume the actionscript goes into the main movie. But other than than I'm stumped.
Target sprite :confused: (sprite also returned no results in help)
06-22-2005, 11:42 AM
no brochis ... betta use the loadMovieNum function .. dats betta for loading swfs ;)
url refers to the url of the movie ... n level is similar to .... say ... layer !
06-22-2005, 11:50 AM
I really don't know what I'm supposed to do with that. I've tried putting it in the movie and having a layer that it links to, but that didn't do any good.
06-22-2005, 08:27 PM
Sorry, "sprite" is lingo from using SwishMax...can't remember the right term for Flash, but it's the same concept.
Yeah, you could do loadMovieNum, but I like my method more because I understand better how it's positioned. Either should work for swfs.
06-22-2005, 10:27 PM
Ok... I don't think you guys are quite understanding quite how little I understand about how to do this.
I... have... no... idea. lol The stuff on that *teevo movie, and the stuff that's here (http://www.alexrat.netfirms.com/portfolio/flash/), is pretty much the extent of my Flash ability (which isn't that bad considering I've only been using it 2 weeks, if I do say so myself).
So if someone could point me in the direction of maybe a rough guide to implementing this stuff rather than just random bits of information, that'd be great.
01-22-2009, 09:32 AM
Hey, I need help with a similar problem.
I am also new at this and I'm using actionscript 2.0
I'm trying to make a game for kids, age 2-6 as a school assignment and I need to be able to load another swf file into the "main" game.
Is it possible to make a script that behaves the same as:
but it refers to another swf movie instead of just another scene/frame inside the original movie?
01-22-2009, 09:57 AM
I'm trying to make a game for kids, age 2-6 as a school assignment
1.5) No homework assignments - Do not post your entire homework assignment and request that other members do it for you. This is considered cheating, and your thread may even be used by your school to prove your guilt. Now, you may ask for advice or help on a specific aspect of your assignment that you're having trouble with. Use common sense as far as what's acceptable in terms of soliciting help with homework assignments.
Just so you know we consider it potential cheating to be helping too much with homework. This is the best I can do by providing links to stuff already there.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.