This content has been marked as final. Show 10 replies
assuming : you are using basic Flex Project with not web Server?
bin path is specified in : (right click on project --> select properties . in dialog click on Project build Path --> look at Output Folder .
2) you can Also Configure Run properties by clicking : "down pointing arrow" next to green Play button and selecting "run ..." on EClipse GUi and in Dialog you will understand all configurations are there, including a url etc ...
3) are you running sample application? if so does it have modules in it?
if so (small bug: if you have module (mxml) file open and active, and you tried to run application, flex builder will try to run that module swf file isntead ob main application file.
3) regarding debugger : try to download debug versions of flash player from adobe site and manually install them. after that make sure to close all browsers and lunch debug session from within Flex Builder.(click on bug icon )
The project I'm working on is of the type Flex Data Services, rather than basic. I have weborb 3.2 and IIS 6 running on my local machine, and wish to develop and debug locally. Does that change any of the advice you gave in your post?
Also, FlashPlayer was installed via the Flexbuilder install. Would it not install the correct debug version of Flashplayer?
then you have to access flexxapp through IIS url instead of file so that means during build you have to make sure buit swf files etc get copied under IIS web root directory , one way to do is to specify that directory as output folder (instead of bin) in (right click on project --> select properties . in dialog click on Project build Path --> look at Output Folder .
and specify a IIS url for "Output Folder URL" something like http://localhost/appname .
Regarding Flash debug version Player : I manunaly installed it from adobe for both firefox and IE and it worked right away.
Thanks - I changed the Project Properties | Flex Build Path | Output Folder to point to the IIS's web root, and that broke things even further. Now when I bring up the project properties the Output Folder is blank, and no matter what I set it to, it remains blank on subsequent invocations. Although the swf file lands where I've asked, this diaglog box shows a blank Output Folder. Worse, the little drop-downs beside the Run and Debug icons on the top bar no long drop down. Clicking on the run or debug icons produces nothing other than some flickering in the project navigation pane every few seconds. No browser is launched, and nothing else happens.
I also tried installing the flash player debug version. The adobe website didn't bother mentioning firefox, so I'm assuming I should install what they called the "Netscape Compatible" version. Is this right?
Thanks for your help,
Well the situation has changed - now I'm back to where I started!!
I changed the Output Folder URL to point where it should. Now the Debug and Run buttons work. But I get the same error I was getting before this whole install/reinstall debacle started:
C:\Program Files\Mozilla Firefox\plugins\NPSWF32.dll
Flex Builder cannot locate the required version of the Flash Player. You may need to install Flash Player 9.0 or reinstall Flex Builder. Do you want to try to run your application with the current version?
I've checked and the file does not exist anywhere in the C:\Program Files\Mozilla Firefox\... tree.
What to do now?
Debug : before Installing debug versions of flash player : Uninstall flash player completely from remove/programms.
Eclipse : .project does it say something like that ?
did you tried changing <location>D:/path/to/your/app/server/web/root/</location> manualy?
not very familiar with weborb but I guess it acts as server for flex (to compile mxml files maybe ?) ( I use tomcat)
this case not sure how weborb setup works regarding: being integrated with IIS.
also very important after you build flex app what do you se inside IIS web root directory I eman what files?
I removed the Flash player via Add/Remove programs, then installed the debug version I downloaded from adobe. You didn't indicate whether I had chosen the correct download (as per my last post), so I'll assume it's correct. The message window from the install said this:
Output folder: C:\Windows\system32\Macromed\Flash
Extract: NPSWF32.dll... 100%
Extract: NPSWF32_FlashUtil.exe... 100%
Extract: flashplayer.xpt... 100%
Created uninstaller: C:\Windows\system32\Macromed\Flash\uninstall_plugin.exe
NPSWF32.dll landed in C:\Windows\system32\Macromed\Flash, rather than Program Files\Mozilla\PlugIns, which is obviously wrong. I copied it over, and that solved the bug about "can't find npswf32.dll". Any idea why this gets installed in the wrong directory? Is something else configured wrong?
With that somewhat solved, we're back to the first problem - when the application launches, I get this message pop up:
Error: Unable to load style(Error #2035: URL Not Found. URL: blue.swf): blue.swf.
And finally, and new error: "Send Failed". This error pops up as soon as I try to do something with my app that calls the back end (weborb) server. I pointed to a different server and got the same error, so it's a problem on this client. This problem didn't start until I uninstalled and re-installed everything this morning (see my first post for details). Now this error is sooooo generic I have no idea how to debug it. Along those lines, are you an Adobe employee levancho? I'm wondering if you might be able to bring in someone with a bit of weborb experience (although I doubt it's related, since this worked fine on my previous install).
In case this helps, here's my .project file:
<?xml version="1.0" encoding="UTF-8"?>
Thanks for all your help,
I am not an employee, but there is a user here: Peter Flynn, which is one of the engineers of Flex Builder as I understand, he does come around often .
FYi I just found this article regarding blue.swf
Cool - thanks! That problem is now fixed!
Last one remaining: "Send Failed" Any ideas? Like I said, this worked before my uninstall/reinstall.
I found the remaining piece of the puzzle - Eclipse whacked my /bin directory when I was messing with the Output Folder setting. Having restored that, I'm now up & running. Thanks for all the help levancho !!