homepage Welcome to WebmasterWorld Guest from 54.163.70.249
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
How do I copy an swf within an swf
n00b question warning
oddsod




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

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.

 

mattclayb




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

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.

oddsod




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

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.

mattclayb




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

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.

instinct




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

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved