« Please smooth your video site! | Main | Extra return in Textfields »

FDT quick tips for Flash Player 10

Just a quick post to save this somewhere. Two important things when using FDT for Flash Player 10 projects:


  1. Remember to set the target-player parameter in your Compiler Arguments for both the Debug and Run configuration (-target-player=10.0.0.0)

  2. When using the Embed-tag in FDT, you can't use the "Pure" config. You have to use the ordinary one

I haven't seen this noted anywhere and I couldn't find it on Google. Guess it's worth posting. Another thing that have bitten me when working with FDT - asset paths require a starting slash like this:

		[Embed(source="/image.jpg")]
		private var img1:Class;
Another thing that will come in handy is this list of Flex Compiler arguments. FDT does not set/update any of these automatically, so it's really handy. I keep having mixed feelings about FDT. There's so many nice things, but all the rough edges seem to ruining my experience of it. I guess I'm just a little spoiled?

BTW: I've been really busy lately. Lot's to catch up on after summer holidays, FOTB, all the MAX announcements (as the iPhone one) and client work. I'll also go to Sydney to visit my brother next week so it's been a while since last post. Will probably be so a while ahead as well. So much to do and so much fun ahead!

A word from our sponsors :)

Comments

Reading things like this makes me love Flashdevelop even more.

I totally agree on this post...!
I really love FDT, but I was at a seminar on FOTB and me and some other people had a lot of trouble with it, so we had to switch to the flash IDE.
Flex builder is more straight forward, but FDT is just so much better in many other ways...
Hope they can fix stuff like this really quick.

Yep, definitely worth posting. Took me a while to research point 1 a while back. And as for point 2, just encountered it now. Not keen on Embed tags anyway, prefer exporting SWCs, but looks like I need to use [Embed] with Away3D's TextField3D.

FDT really shouldn't have these rough edges considering it's price!

Thanks for this great article This is just the thing I needed today :)

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)