header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Pradeep
Points:0
Posts:0

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.......



1
bob_senior
Points: 1320
Posts:0
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
Trillian
Points: 0
Posts:0
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


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 6+7 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions