If you are using a MovieClipLoader you could use the unloadClip() method. I've used it successfully in the past though I haven't tried every OS/browser/plugin combination to see.

Excerpt from the Flash 8 docs:
ActionScript classes > MovieClipLoader > loadClip
"Use MovieClipLoader.unloadClip() to remove movies or images loaded with this method or to cancel a load operation that is in progress."

-- james


James O'Reilly  —  Consultant
Adobe Certified Flash Expert
http://www.jamesor.com
Design • Code • Train



Omar Fouad wrote:
currently using actionScript 1 or 2 is not possible. AS 3 has this function
but if you wont use it so i try loading into the same level or the same
container a an swf that doesnt exists. Since you are trying to load an swf
into the same level or movie it will override the firsl loading and trying
to load something else that, obviously doesn't exist. When flash try to load
an sfw from a broken link and founds out it is not working, the loadMovie
process stops.



On 2/1/07, David Bellerive <[EMAIL PROTECTED]> wrote:


Hi! Just wondering if anyone ever found a solution to stop loading
something that is currently loading in the Flash Player (an image, a sound,
an XML file, etc.)?

I've heard and tried about loading a dummy (non-existent) file in place of the file being loaded to stop the load process. When I used it, it seemed to work but I've read it doesn't work in all OS/Browser combinations. I think there are issues with this on the Mac, in Safari and/or IE 5. Is that right?
Does this method effectively stops a load in progress in all OS/Browser
combinations?

With this method, I noticed that if I halted a load in progress at say 75% by loading a dummy file in place of the one currently being loaded, and then
restarted loading that file later on, the load starts at 75%. So where is
this "partial" file being stored? Is it in memory? Is it in the browser
cache (even if it's only partial)?

David


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to