• Site of the day. Monet

    http://www.monet2010.com

  • Realaxy ActionScript Editor

    Spring comes (I mean season of course 🙂 ). Sun becomes more bright and hot. Girls wear less clothes 😉

    So being in a good mood I’m glad to announce a new promising Flash IDE named “Realaxy ActionScript Editor”. Realaxy is based on a new cutting-edge technology from JetBrains – Meta Programming System, MPS, which permits to forget all boring and miserable limits of your programming language and reach a new development level with more abstract models and constructs. This new concept is named Language Oriented System and its description can be found at JetBrains site.

    And the first step forward was done by Ivan Dembitskiy and Evgeniy Potapenko who will present Realaxy ActionScript Editor beta atCreative Future in Moscow, April 23rd. Thus if you have an opportunity you can register and see the Editor by your own eyes. By the way, don’t forget to take a flash-drive 😉

    Although Realaxy is still beta you can look at several podcasts of the editor. They are really impressive! As well you can become a beta-tester if you post brief information about Realaxy in your blog and send a mail to ivan.dembicki [at] gmail.com having [betatest] as a subject.

    So far we have a new blossoming ActionScript IDE. I do hope it will be real alternative to Flash Builder or IntelliJ IDEA.

  • A few mouse tricks in flash

    There are two common tasks for mouse which require some tricks.

    Showing hand cursor over movieClip:

    Enabling doubleClick:

    To be continued…

  • FlashDevelop shortcuts

    I noticed that many people don’t know very useful shortcuts in FlashDevelop. Therefore I listed them below. Many of them can be used in advanced text editors like Notepad++ (edit section and further).

    Development shortcuts

    Ctrl+SPACE = Autofill.
    Ctrl+Alt+SPACE = Autofill with class name.
    Ctrl+Shift+SPACE = Shows method parameters hint if cursor is inside method call.
    Ctrl+Shift+1 = Template generation. You can generate:

    • Getters and setters if you are on field definition.
    • Class field if you are on undeclared variable.
    • Function if you are on undeclared function.
    • Event handler if you are on undeclared event handler.
    • All public methods and properties inherited by current class from the interface under cursor

    Ctrl+B = Snippet insertion. Snippet is unparameterized code template. In instance, condition or loop. You can add/edit snippets by Tools->General Tools->Snippet Editor…
    Ctrl+J = Activating TypeExplorer window. It helps to find the class by the first letters of class name. You can open the class at once.
    F5, Ctrl+Enter = Compile project
    Ctrl+Shift+K = Insert color
    Ctrl+Shift+I = Insert GUID.

    Code navigation

    F4 = Goto method/class/property declaration.
    Shift+F4 = Come back from there
    F12 = Goto Next error.
    Shift+F12 = Goto Previous error.
    Ctrl+[ = Goto next statement (declaration of variables or function, condition statements, new operator etc.)
    Ctrl+] = Goto previous statement
    Ctrl+Shift+F = Expand/collapse current line
    Ctrl+Shift+A = Collapse all
    Ctrl+Shift+E = Expand all
    Ctrl+G = Goto line number…

    Edit

    Double click on word = word selection
    Ctrl+U = converts selected word to uppercase
    Ctrl+L = converts selected word to lowercase
    Ctrl+right arrow = Goto next word
    Ctrl+left arrow = Goto previous word
    Ctrl+up arrow = Scroll up the window
    Ctrl+down arrow = Scroll down the window
    Ctrl+/ = Goto previous subword (separate word or subword starting with capital letter. For example, the subword “Count” in word “filesCount”)
    Ctrl+\ = Goto next subword
    Alt+Home = Goto real line start but not the first not-null symbol of the line like Home key.
    Ctrl+Home= Goto file begin.
    Ctrl+End = Goto file end.
    Ctrl+D = Duplicate the line
    Ctrl+T = switches the current an the previous lines
    Ctrl+Shift+D = Deleted the current line
    Ctrl+Q = comment line
    Ctrl+Shift+Q = uncomment line

    Search

    Ctrl+F = Search window
    Ctrl+H = Replace window
    Ctrl+I = Replace in Files window
    F3 = Goto next word usage
    Shift+F3 = Goto previous word usage

    Windows managements

    Ctrl+S = Saves the Tab
    Ctrl+Shift+S = Save as…
    Ctrl+W = Close the current tab
    Alt+F4 = close FlashDevelop
    Ctrl+N = Opens new blank tab
    Hold CTRL and pressing TAB several times = switching tabs in forward direction
    Hold Ctrl+Shift and pressing TAB = switching tabs in backward direction
    Ctrl+TAB = Goto last active tab
    Ctrl+PgUP = Goto between tabs from right to left
    Ctrl+PgDown = Goto between tabs from left to right
    Alt+Shift+Enter = Go to fullscreen

    I hope this shortcut list will help you use FlashDevelop more efficiently.