issue with my .swf files

Post here your questions about the OpenSpace 2.x or notify bugs and suggestions.

Moderators: Lapo, Bax

Post Reply
n8clark
Posts: 3
Joined: 01 Feb 2011, 17:03

issue with my .swf files

Post by n8clark »

I have been working with the SFS/OpenSpace trials, and am successfully able to run the OS examples, edit them, and even create new projects (using the example .swf files); all of this runs fine.

However, when I create my own .swf files I'm having an issue. My process in Flash CS5 is as follows:
- create a symbol from an image in the library and set its class properties;
- export the .swf file and drag that into the OS Editor (where it shows up with valid class definitions);
- the classes are available for use as background parts, and on the map section I am also able see the image from the background;
- save the project and export;

I launch SFS and the client, but when I try to enter the map I created, the client is not able to load the map. The server log shows the map is being sent to the user, but nothing traces in the SFS admin panel for that extension. So, I am not sure how to debug from this point.

Has anyone else experienced something similar with Windows Vista (64), Flash CS5, SFS Pro, and OpenSpace v2?

Thanks in advance,

Nathan
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

What about the client? No errors traced in the Flash console?
Are you sure you are loading the SWF file containing the assets before loading the map?
Paolo Bax
The SmartFoxServer Team
n8clark
Posts: 3
Joined: 01 Feb 2011, 17:03

Post by n8clark »

bax wrote:What about the client? No errors traced in the Flash console?
- maybe I'm not looking in the right place. When I export the .swf file I don't see anything in Flash, and when I run the map I don't get anything in the SFS Admin panel Zone section for that extension.
bax wrote:Are you sure you are loading the SWF file containing the assets before loading the map?
- unsure; is this related to the first question?
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

1) I'm talking about client side errors when you run your OpenSpace-based application. If you test your project within Flash, you have a console in the Flash interface showing logged messages.

2) "unsure" is not a good answer :)
Check your code: are you loading the swf file containing the assets inside your the OpenSpace application?
Paolo Bax
The SmartFoxServer Team
n8clark
Posts: 3
Joined: 01 Feb 2011, 17:03

Post by n8clark »

Well I'll be darned; when I test the project within Flash the map displays!

How does that translate into the finished piece?
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

Then maybe when you export your application, it is not able to load the map assets swf anymore. Maybe wrong path?
Paolo Bax
The SmartFoxServer Team
Post Reply