| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Fight ya for a pint!
Join Date: Jan 2005
Location: Sydney / Australia
Posts: 1,706
|
This may be a stupid question, but can someone please tell me how I can execute the Flash Player (8.5) from the Flex Builder Beta 2 IDE when running an application instead of a browser. I do not develop for browsers...
I tried to add the player to Window / Preferences / General / Web Browser but that seems to execute the player but without content. Any ideas? |
|
|
|
|
|
#2 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
dbt click on the swf thats built in the bin folder, or use ant to automate your build and target the swfplayer like this
Code:
<target name="runSWF" >
<exec executable="${basedir}\${flash.debugPlayer}" spawn="yes" >
<arg line="'${basedir}\${outputdir}\${swf.name}.swf'"/>
</exec>
</target>
|
|
|
|
|
|
|
|
|
#3 | |
|
Fight ya for a pint!
Join Date: Jan 2005
Location: Sydney / Australia
Posts: 1,706
|
Quote:
|
|
|
|
|
|
|
#4 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
the flex 2 ide is eclipse, ant runs in eclipse natively (its what the ide uses to build behind the scenes). thats what we do for our build process.
|
|
|
|
|
|
#5 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
in zorn(the flex 2 ide) of course
|
|
|
|
|
|
#6 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
yeah, sorry for being short in my answers before i was trying to get our of work.
my advice is to download eclipse http://www.eclipse.org/downloads/ then install the plugin version of zorn instead of the standalone editor. both use the same eclipse, but the zorn version of eclipse that comes by default is so crippeled that it gets irritating. then google how people have been building flex 2 apps on a mac, somewhere you will find an example that uses ant, then grab the ant script, in your project folder inside zorn create a file called build.xml and pop that xml from the and script in there. add the tag i gave you earlier and make certain that it runs after the compile (google: ant depends target) all you have to do then is right click on the file and say run as ant script. trust me on this, go through this pain now, learn ant and how to use it in eclipse and in 3 months time you will thank me for it. |
|
|
|
|
|
#7 |
|
Fight ya for a pint!
Join Date: Jan 2005
Location: Sydney / Australia
Posts: 1,706
|
Figured it out. Go to Project / Properties / AcrionScript Compiler and untick the "Generate HTML wrapper file" option. When running the application it will be executed from the Flash Player rather then the browser.
|
|
|
|
|
|
#8 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
aaah please learn ant. trust me, pretty please, you will never regret it!
|
|
|
|
|
|
#9 | |
|
Fight ya for a pint!
Join Date: Jan 2005
Location: Sydney / Australia
Posts: 1,706
|
Quote:
![]() Thanks for your response anyway...! |
|
|
|
|
|
|
#10 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
./make
./make install ./make idontunderstandmake |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| one template, many looks? | subquark | ActionScript 1.0 (and below) | 1161 | 09-03-2009 04:45 PM |
| Controlling Browser Window via Flash Javascript buttons [via 'get url' statement]. | cheeky_monkey | ActionScript 1.0 (and below) | 7 | 01-20-2009 03:30 PM |
| Flash player 5 | mexican | Other Flash General Questions | 3 | 10-14-2005 08:28 AM |
| Flash Player slower than browser? | NeoPickaze | Other Flash General Questions | 1 | 05-14-2005 02:25 PM |
| enterframe and load and objects, oh my! | dice | ActionScript 1.0 (and below) | 13 | 07-18-2003 12:07 PM |