2/25/2011 6:32:32 AM
Title:
Unable to run .swf file seperately in the browser
Hello Guys,
i am developing a sample flex application that interact with the java program. i have written a servlet which will return some xml back as response and build a flex application to load that xml data in the data grid when some button operation is performed.
the problem i am facing is .....The flex application is created in Flash builder 4. So after compiling the flex application it created 1 .swf and .html file . When i am trying to run the .html file from the eclipse workspace..The flex application is loaded to browser but when i try to copy the html file and swf file to my desktop....i am unable to get the response back to browser.
Finally.....in a simple way .......html and .swf files are properlyt running from workspace.....But not able to run the same html and .swf file from the browser separetly .
Please help me ......i am dying to get the solution from couple of days.....i appreciate if anybody can help me..
Thank you in advance.......
2/25/2011 10:32:09 AM
You also need to copy the JavaScript files generated by flex . JavaScript files are named like AC_OETags.js and swfobject.js copy them to the same location where html is placed. Also copy the history folder there.
2/27/2011 2:21:26 AM
reason could be file path not correct. place files in the same directory structure as they were when created by flash builder or flex