FlashDevelop Syntax Coloring: Dark Theme

Saturday, August 15th, 2009

Back in time I used Sepy as a texteditor as an alternative to the Flash IDE Non-Code-Editor. Now my snappy editor of choice is FlashDevelop, totally tailored towards Flex SDK publishing. In Sepy I had a nice dark background theme, but since the switch to FD I never took the time to ...

flex sdk compile time variables, switches and resources Hacks

Tuesday, December 9th, 2008

Super nice article on how to create a compiletime conditional switch for for ex. calling an alternate version of the same function or adding compiletime var-values at  with the flex sdk command line http://code.awenmedia.com/node/34 Code examples from his site: ADDING COMPILETIME VARS: mxmlc MyConfigClass.as -define+=CONFIG::someSetting,true or ...-define+=CONFIG::myString,"'Hello!'" -define+=CONFIG::myNumber,"7" for someSetting the AS3 class would be: package { public class ...

AS3 textfield blinking caret after textfield focus / tabbing ? Solved!

Saturday, July 19th, 2008

To obtain focus on a textfield with a custom textformat on it can give you headaches: From wrong caret color to disapaering textcontent when you use tab button to unselectable text content. You just keep fumbling around with _Textfield.stage.focus = _Textfield without joy. I lost several hours to get the caret blinking ...

usefull eclipse configuration for ANT + flex

Thursday, May 22nd, 2008

Step 1: Create ant-build Folder in your project Right click on your project name and click New.. Folder... For the sake of the example, call the folder "ant-build". Copy the lib folder from Adobe's flex_ant_tasks_mmddyy.zip to this new folder. The jar file in this lib directory can really go anywhere ...

AS3 preloader on frame 1 (insert factoryClass)

Sunday, February 17th, 2008

How to add an AS3 preloader on frame 1 and bind it with a light BootPreloader Class? Especially nice if you use the flex sdk compiler without flash IDE. as simple as this: In your documentClass: place this underneath your imports and above your myDocumentClass(){} declaration: [ftf h="140" w="680"][SWF( backgroundColor='0xff0000', frameRate='30', width='980', height='320')] //alternative factoryClass / ...