Favorite Flex Builder shortcuts
Because my brain is filled with movie quotes from Star Wars, Aliens, Ghost Busters, etc I find it difficult to remember the things that are actually useful, like the syntax for how to embed and use a sound file in a Flex project. So here are a few of my most commonly revisited sites.
I do remember my shortcuts because I use them every day – like my movie quotes. :-) I thought it might be nice to share.
Favorite Flex Builder Shortcuts
- Ctrl + k = move to the next occurrence of the selected text
- Ctrl + Shift + k = move to the previous occurrence of the selected text
- Alt + up/down arrow = move current line, or selected lines, of code up or down in the editor
- Ctrl + q = Jump to last edit point
- Ctrl + Shift + Enter = new line above
- Ctrl + o = search for properties and methods by typing their name. Great for finding something in a large file
- Alt + arrow-left or arrow-right = move through open tabs
- Ctrl + Tab = Switch between last two viewed tabs ( even if they are not next to each other )
- F3 = go to type declaration. Same as Ctrl + mouse-click
- Ctrl + m = toggle min/max of the current tab
- Ctrl + j = search as you type. At first it won’t seem that anythings happening. But just type something and you’ll start searching. Hit ESC to cancel
Favorite compiler options
- Framework caching = -static-rsls=false
- Locate services file ( AMFPHP/CF/etc ) = -services “services-config.xml”
- Keep the code = keep-generated-actionscript=true|false
Misc Adobe LiveDocs pages of note
- About the application compiler options
- Flex Compiler Command-Line Options
- About metadata tags
- Syntax for embedding assets
Other Eclipse shortcuts
10 Eclipse Navigation Shortcuts Every Java Programmer Should Know
Embeding files example
And of course here’s how to embed and use a sound file, such as the Star Trek: TNG open door sound:
[Embed('assets/sounds/ST_doorbell.mp3')] private var sound:Class;
private var enterSound:SoundAsset = new sound() as SoundAsset;







