Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

Generating swf files

0

39 views

Hi, I have a flex webservice project 'simpleWebApp' running on the tomcat server. The simpleWebApp.swf file generated is in the webapp root folder of tomcat and it executes perfectly when i double click on the simpleWebApp.swf file

now i need the generated simpleWebApp.swf file to run when placed anywhere, any location. what i need to do?

asked March 16, 2011 5:31 am CDT
posted via StackOverflow

2 Answers

0
 

You will need to have correct path to the server where you webservice will be located, it's better to have this as a variable and path it in the flash vars to your swf. Also you may need crossdomain.xml, to be able to access you server from flash in a case if anywhere != yourserver

answered March 16, 2011 6:23 am CDT
0
 

Copy the .swf and .html file to a folder(say testApp) inside your server's deploy folder.Then access your application http://localhost:8080/testApp/.swf.This works perfectly for me.

answered March 16, 2011 5:46 pm CDT

Your answer

Join with account you already have


Sign in with Twitter account
Sign in with Facebook account
Sign in with Google Friend Connect

Preview
Similar questions
Generating a unique ID
January 19, 2011
Php including files
January 2, 2011
Postgresql log files
January 16, 2011
FTP Ignoring Git Files
February 24, 2011