When I zip up my demo FlashDevelop project..why does it break?

Posted by Ryan on Stack Overflow See other posts from Stack Overflow or by Ryan
Published on 2010-05-13T00:57:24Z Indexed on 2010/05/13 1:04 UTC
Read the original article Hit count: 286

Filed under:
|
|

I built an AS3 image gallery using FlashDevelop.

Before I zip up the application, I can run the image gallery in my browser by simply opening the index.html for the project. Everything works perfectly.

I then zip up the project as proj-0.1.2.zip using winrar.

I then unzip this newly created zip and try to load the application using the project index.html like above. The gallery doesn't function properly. From seeing what happens, it appears as though the image metadata is not present(but I'm not sure, see below).

There are other applications as well that are broken. Videos don't load. If an application doesn't depend on any external assets then everything looks fine.

Another thing..If I then build the FlashDevelop project and republish the swf..then it works in the index.html like I want. What is going on here?

I want people to be able to fire up my demo apps out of the box by just running the index.html. If that doesn't always work and they have to figure out that they need to rebuild the SWF then that's pretty bad.

© Stack Overflow or respective owner

Related posts about as3

Related posts about flashdevelop