Skip to main content
June 23, 2009
Answered

Swf can't find custom classes after publishing....

  • June 23, 2009
  • 1 reply
  • 460 views

Hi everyone,

So this is probably an easy thing I don't know, I'm hoping.

But when I publish my project and test it in a normal HTML, the swf can find some classes but not others for some reason?

How can I make sure all the classes get compiled into the Swf?


I got the main timeline calling the first class (CalypsoPlayer); and it finds this class find -- which is under the same class path.

But CalypsoPlayer can't find the class it needs, even though it's under the same class path as the class.

I've tested the project in Flash itself and it all works great without any errors so I'm not sure what's going on.  It's only when I test

the published SWF that it can't find all the classes it needs.

I appreciate anyones help -- Stan

This topic has been closed for replies.
Correct answer

If your swf works when you test it in Flash then it should work when it is other places as well.  All of the classes and script are compiled within that swf.

When you say that " It's only when I test the published SWF that it can't find all the classes it needs."

Where are you testing it?

1 reply

Correct answer
June 23, 2009

If your swf works when you test it in Flash then it should work when it is other places as well.  All of the classes and script are compiled within that swf.

When you say that " It's only when I test the published SWF that it can't find all the classes it needs."

Where are you testing it?

June 24, 2009

Hey Dan,


My mind just stopped for an hour and I wasn't thinking straight on this issue, lol.  I thought I deleted this posting but apparently

I didn't.

Thanks for your help but this issue was just a result of a mind that had too much coffee and not enough energy .

- Stan