Here’s how I set up Flexbuilder 3.3 to use the flashplayer_10_sa_debug.exe.
(I still haven’t figured out how to get it to launch full screen, and you may need a commercial app that wraps projector to do that — though it’s probably possible with the open sourcing.)
Download the debug standalone flashplayer 10 here:
or whatever the current version is from:
Locate a swf and lauch it directly, choosing flashplayer_10_sa_debug.exe when prompted by windows for the application to use. This will set up the Windows registry to associate the player with .swf files.
Set up your run configuration in Flexbuilder to open the project .swf file at c:\path\to\YourProject-debug\Whatever.swf (instead of http:\\localhost\YourProject-debug\Whatever.html)
This is a bit of a hack, since it needs done for every project, but oh well.
Now it will launch, but you’ll get a pesky alert like:
Flex Builder cannot locate the required version of Flash Player. You might need to install Flash Player 9 or reinstall Flex Builder.
Do you want to try to run your application with the current version?
To get rid up this and use Flash 10 (and the new Flex SDK), first download the SDK:
or get whatever the latest version is from here:
To have Flexbuilder use the latest SDK, open Windows > Preferences > Flex > Installed SDKS
and add the downloaded SDK, setting it as default.
Open the Flex build path, click on the Library Path tab, and delete playerglobal.swc from Flex 3.3. Then click “Add SWC” and locate the playerglobal.swc in path/to/new/sdk/frameworks/libs/player/10
Then specify the flashplayer included in the SDK download for the project (again, a hack that needs repeated for each project). Right click on the project, select “Properties”, and select “Flex Compiler”
Then enter 10.0.0 in “Require Flash Version”. This should work.
See also the following links, which helped me out:
to use the HFCD which pre-loads the compiler in a daemon to speed up compile times.
And http://multidmedia.com/ for the Zinc Flashplayer laucher which can resize the projector on launch (among other things.) The price is a bit steep though ($300), if that’s all you want to do.
And here’s a blog post about setting up a free Flex development environment:
2 thoughts on “Using Flash 10 debug projector in Flexbuilder 3.3”
One problem I still have is a warning when launching the debug player that it still expects Flash 9. I’m a bit confused about that.
do you have a copy of HFCD?