homepage Welcome to WebmasterWorld Guest from 54.234.0.85
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Flash game does not work - other website does :(
Sannin



 
Msg#: 4184534 posted 12:36 am on Aug 10, 2010 (gmt 0)

This page with flash game A does load:
[naruto-hokage.com ]
swf size: 592.514 bytes

This page with flash game B does not load:
[naruto-hokage.com ]
swf size: 309.715 bytes

This page with flash game B that DOES load:
[dan-dare.org ]


How come? I've used the exact same coding..

 

astupidname

5+ Year Member



 
Msg#: 4184534 posted 6:24 am on Aug 10, 2010 (gmt 0)

The game has dependencies upon 5 other .swf files which it loads: "enemies.swf", "char_select.swf", "Naruto_sfx.swf", "bg/bg_01.swf", "level_designs.swf" and which are not found on your site it does not work on.

p.s. Welcome to webmasterworld!

Sannin



 
Msg#: 4184534 posted 9:13 am on Aug 10, 2010 (gmt 0)

Wow tnx. But........

How can you see that it depends on other .swf files? How did you do that + How can I make it work then? Could I get some mini tutorial on how to do it? Because, other people seem to make it work..

Thank you for welcoming me!

astupidname

5+ Year Member



 
Msg#: 4184534 posted 4:49 am on Aug 11, 2010 (gmt 0)

How can you see that it depends on other .swf files? How did you do that

I have SoThink SWFQuicker with which I can open most all .swf files and see what they are made of essentially, or edit too. With it I viewed the actionscript (I believe it was frame 2's actions) that intro_screens.swf uses and it contains an array of those five .swf file names which it then loads in to it's self.

How can I make it work then?

Please note, I do not recommend using other peoples content on your site. As I do not know what the deal is with this Naruto game as far as origins (don't know if it's widely 'pirated' including by the site it does work on, or what) or your relation to the site it does work on, I would say you should be sure and obtain permission to use it or do whatever you need to in order to be "legal" about using it. That said, here's how to make it work:
The site it does work on, it's url, replace 'Naruto.htm' (in browser address bar) with the name I showed in my previous post of one of the other five file names and that will open that file in the browser. Recommend using Firefox or pretty much any browser other than Internet Explorer (IE won't let you do File->'save as' on .swf url's), and then save the file to your local machine. Do so five times for all those files, then upload them to your site, noting that the one named "bg_01.swf" must be actually in a folder named "bg", which is why it's name I showed in previous post is "bg/bg_01.swf" as the intro_screens.swf file will look for "bg_01.swf" in the "bg" folder relative to intro_screens.swf's location.

Have a good one!

Sannin



 
Msg#: 4184534 posted 3:13 pm on Aug 11, 2010 (gmt 0)

Thank you for your explanation :)

Still a problem..

I got the files and uploaded it correctly, yet there are a couple of anomalies. The width does not come along when playing and the music does not work while playing the game and other tiny glidges occur. Is there perhaps a file missing? Or what else?

Could you take a look please?

Thank you.

astupidname

5+ Year Member



 
Msg#: 4184534 posted 11:20 am on Aug 20, 2010 (gmt 0)

Yeah, turns out there are many more dependencies, at least 50 counting other .swf files and audio .mp3 and .aif files. (I had only taken a brief glance before, and overlooked them) I'm not interested in divulging what they all are or examining each of the other .swf files for more dependencies, as my previous advice applies. I would actually just advise playing the game on the site it does work on.

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