Skip to main content
New Participant
November 17, 2013
Question

SWF is not loading content from as classes after opening in any browser

  • November 17, 2013
  • 1 reply
  • 800 views

Hello,

I have created a flash as3 project in flash professional cs5. It's working perfectly fine.

Structure of my project:

1 - I have a fla file which does not contain any code as the mostly developers do. But I have added some resoures in library to access them dynamically in as class files.

2- Now the fla file just gives the reference to the starting as class in "Class" field under Document properties.

2 - I compiled the project and just run the swf file and everything is working fine. Great. All project is tested that way.

Where the problem occurs:

1 - Before providing my project to my client I thought to test it on browsers.

2 - I also published the html file with swf file.

3 - Now when I open the html file either in chrome, IE or Firefox, nothing is being displayed on browsers' screen. Why. I don't know!. But its working fine when I run the swf file alone as I mentioned above.

So please help me out to run it on browsers.

Thanks in advance.

momersaleem

This topic has been closed for replies.

1 reply

kglad
Community Expert
November 17, 2013

upload your html/swf (and any other needed assets) to a server and post a link.

New Participant
November 17, 2013

Hello kglad,

Didn't work for me!

Thanks,

momersaleem

kglad
Community Expert
November 17, 2013

what didn't work?

you don't know how to upload your files to a server?  you don't know how to post a link?