Jump to content
GreenSock

asbankshp

Plugins working on Local Machine, but not Server

Recommended Posts

I am having an issue with the plugins not loading once I have loaded the .swf and the com files to my server. It works fine on a local machine however. I am at a loss with several tweaks and adjustments ranging from how the swf can access files (local and network) to defining class paths. It is built in as2 and published @ flash player 10. Any Ideas? Thanks!

Link to comment
Share on other sites

Hi

 

Sorry you are having trouble.

Once your swf is created it will run anywhere and doesn't need access to the com folder.

 

Your com folder and action script classes do NOT need to be uploaded to your server .

 

All the action script gets compiled into the swf.

 

The most likely culprit is that your browser is using an older cached version of your swf.

 

Try emptying your cache and double checking that the most recent swf is being viewed.

 

 

 

 

Link to comment
Share on other sites

Hmm... So I cleared the Cache and to no avail, nothing. I have a new link with "debugging" buttons on the bottom. It will only play the opening animation tweens, none of other game pages are working. Is there something that could be crashing the scripts?

 

http://solartandphoto.com/munchcode/preloader2.swf

Link to comment
Share on other sites

I really don't know. I was able to click through all 5 buttons at:

---http://solartandphoto.com/munchcode/preloader2.swf---

 

i don't know what to expect so its very difficult to really offer any decent advice:(

 

what specifically do you mean by "plugins not working"?

 

are you loading external assets (images, swfs, mp3s) into your app? are you sure they are all on your server and are being loaded correctly.

 

unfortunately there isn't anything obvious that I can point to as swfs that run locally usually run fine on a server.

Link to comment
Share on other sites

I appricate your help! I'll keep mashing buttons and see what I can figure out!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×