FDT quick tips for Flash Player 10

15 Oct

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!

15 October 2009 at 3:42 am

4 Responses to FDT quick tips for Flash Player 10

  1. avatar photo
    Thomas 15 October 2009 at 4:03 am #

    Reading things like this makes me love Flashdevelop even more.

  2. avatar photo
    Hans Van den Keybus 19 October 2009 at 3:05 pm #

    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.

  3. avatar photo
    Philip 28 October 2009 at 4:32 pm #

    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!

  4. avatar photo
    Kimberly Nunez 12 December 2009 at 12:05 am #
  5.