|Flash game does not work - other website does :(|
This page with flash game A does load:
swf size: 592.514 bytes
This page with flash game B does not load:
swf size: 309.715 bytes
This page with flash game B that DOES load:
How come? I've used the exact same coding..
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!
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!
|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!
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?
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.