Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

How do I copy an swf within an swf

n00b question warning



8:39 am on Jun 29, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Hi guys,

Sorry I don't come into this part of WW often but I have a question I am hoping you can help with.

I need to save a couple of swf files from the Cbeebies (BBC) site to put on my little kid's computer (for security reasons his PC doesn't have direct access to the internet).

One of the files works fine - I got the embed URL and saved the swf. With the other [bbc.co.uk] file it seems to work up to a certain point and then stops. I suspect it needs to "call" ANOTHER swf from within this one. How do I work out the URL for that swf so I can copy it to my hard disk?

Thanks in advance.


7:45 pm on Jun 30, 2007 (gmt 0)

10+ Year Member

If that swf dynamically loads another swf, the only way of finding exactly where the other swf is would be to decompile the parent swf, and go through the actionscript to find the url.

swf decompilers are widely available but I wouldn't want to advise you on your legal standing for doing such a thing on this particular issue.


4:40 pm on Jul 1, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Thanks for the reply. I do appreciate the possible legal implications but as I'm not distributing or commercially using the file - just storing it locally and running it from here rather than the BBC site - I am going to take the chance.

I'll go look for decompilers.


7:38 pm on Jul 2, 2007 (gmt 0)

10+ Year Member

If you have a copy of flash, there is maybe another option. You could import the parent swf into the application and preview the movie.

You should then get an error message when it trys to call up the file (provided you are working offline or the swf is not fully pathed). The error message will give you the location of the swf in question.


6:48 pm on Jul 8, 2007 (gmt 0)

10+ Year Member

There are two ways you can do this:

1) Completely empty your browser cache, then reload and watch the flash video. Now check for the files in the cache directory* for your particular browser. All the files should be there.

2) Using Firefox, install the 'Firebug' extension. With the extension open, enable the 'Net' tab. This will show you all files being fetched in real time (refresh any page to see it in action).

*You'll have to Google for the location of your browser cache directory because it depends on your operating system, browser and sometimes weather or not you are using multiple logins or a single shared login.

** If the flash player "calls home" for a reason other than fetching more content you might be out of luck. For example, it might query the server intermittently for the specific purpose of make sure it isn't played offline.

Good luck.


Featured Threads

Hot Threads This Week

Hot Threads This Month