Current Position:Home > Loading An External Movie...

Loading An External Movie...

Update:10-11Source: network consolidation
Advertisement
I'm new to Flash and this may seem like a silly question but I need help with using an external .swf file in my main timeline for my site. Basically, I've figured out how to load the movie and that works great, but the problem is when I click off of that page the movie stays up there. What is the best way for me to exit out of that movie once the user clicks on anything outside of that movie? Your help is greatly appreciated!
BFM

The Best Answer

Advertisement
One way would likely be to have an empty movieclip in the timeline that you load that swf into.  When you load something dynamically, if it isn't targeted to load into something that lives on the timeline, it doesn't have a home relative to the timeline, so moving along the timeline doesn't make it go away.
Another way is to remove the swf, and doing that depends on how you loaded it (which version of AS).
  • What is or isn't possible on iOS?  (Not having Loader, loadBytes(), external swfs, etc) Update:10-11

    My basic question is:  "What are the classes which we should not use for iOS using the packager." I have been trying for a few days trying to get a simple Flash app to run on the iPad.  A very simple app (with sound!) with just 2 classes works f

  • How can I load an external SWF into a movie clip that's inside other movie clip? Update:10-11

    Hi. I creating my first flash (actionscript 3.0) website but I'm stuck with a visual effect I want to create. I have a window on my website called contentWindow. Every time you click a button this window is supposed to leave the stage, load the reque

  • FAQ: How do I load an external SWF file into a parent SWF file? Update:10-11

    A ton of Flash users visit Adobe's we site every month wondering  about how to load an external SWF file from within another SWF. Adobe's own TechNote on the subject attempts to answer the basic question, along with some common follow-up questions, i

  • SQL *Loader and External Table Update:10-11

    Hi, Can anyone tell me the difference between SQL* Loader and External table? What are the conditions under we can use SQL * Loader and External Table. ThanxExternal tables are accessible from SQL, which generally simplifies life if the data files ar

  • Need help loading an external SWF Update:10-11

    I'm not very proficient in Flash, so any help will be greatly appreciated. I'm trying to load an external SWF with the following code: T1_Bttn_BloodCar.onRelease = function() { t1_images_mc.loadMovie("images/T1_Gallery/BloodCar_SWF/T1_BloodCar.swf&qu

  • Trouble loading an external swf file implemented with AS3 Update:10-11

    I am using Adobe Flash CS3 At first, I tried swf_mc.loadMovie("//swf file location"); It gave me quote: Warning: 1060: Migration issue: The method loadMovie is no longer supported. USE: var l = new Loader(); addChild(l); l.load(new URLRequest(&q

  • LoadMovie- loading an external swf into movieclip in AS3 Update:10-11

    Im extremely frustrated.........im trying to do something that was once very simple, which has now become over complicated unecessecarily.....i want to do a simple loadMovie type action and load an external clip into a movieclip called ph. my AS2 cod

  • Loading an external swf and unloading the parent one Update:10-11

    Hi there i have made a navigation in flash and 3 buttons that load some external swf's. Problem is that when they load the parent swf keeps playing in the background. How can i make them play separately and make the navigation stage dissapear complet

  • Loading an external swf with a loader Update:10-11

    I have a .swf that loads different external swf's into loaders based on what frame it is in. For all but one frame this works fine. There's no lag, they load quickly and can be interacted with with no problem. But, for one .swf it gets really choppy.

  • Loading an external SWF from an external SWF Update:10-11

    Hello, I'm somewhat caught between a rock and a hard spot on a flash site project. Here is the situation: I have created a parent movie (which loads all external SWFs inside of it) that has the menu navigation built into it. However, my client wants