Flash help: main swf file cannot load other swf files in different directories

  • 1
  • Question
  • Updated 8 years ago
Hi,
I am trying to load my flash game into my website. The game is composed of a main swf file and lots of resource swf files in different directories. My problem is that it seems all of my resource swf files cannot be loaded correctly using the HTML widget. Does anyone know how can I solve this?

My flash game page is at http://learza.yolasite.com/spaceinvad...

Let me know if I did not provide enough information. Thanks in advance.
Photo of lear2a

lear2a

  • 3 Posts
  • 0 Reply Likes
  • frustrated

Posted 8 years ago

  • 1
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello learza2008,

Can you you tell me what happens when you try to load the swf files to your site using the HTML Widget. Do you receive some sort of error message or does something else happen? Are you following these instructions for adding flash to your site: Adding flash.

Please let me know and I will further assist.

Kind Regards,
Emmy
Photo of lear2a

lear2a

  • 3 Posts
  • 0 Reply Likes
Hi Emmy,

Thanks for your reply.

I am able to embed a single swf file in the HTML widget.

Actually the story is that my game is composed of a main swf file (client.swf) and lots of resource files including swf, mp3, and jpg files in different directories, the clinent.swf is compiled to automatically load all resource files. I used the following HTML code to achieve this but only jpg files are loaded correctly.



For example, if you click the tutorial page it can load the external image in different directory than the main swf (client.swf); but if you click the standalone game, it only shows the background but no moving objects that are made of swf files.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello lear2a

I see that you're having a bit of trouble getting your swf file working. I am part of the HTML Team and would like to be able to assist you with this. Would you mind emailing support@yolal.com ATTN: HTML Team? This way we can collaboratively work on this together.

Thanks!
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Lear2a

I don't believe I have received an email from you in support? Can you please let me know if you are still having trouble with this? I am not certain if I'll be able to resolve this but I would like to try!
Photo of lear2a

lear2a

  • 3 Posts
  • 0 Reply Likes
Never mind. I found it was not necessary to put my flash stuff on the website. Thanks all the same.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Lear2a

Thanks for letting us know that you have find an alternative solution!