Here is a list of keyboard shortcuts that I use regularly and that helps me with life in Flex Builder. Obviously the list is not exhaustive but here are the most common: (feel free to leave yours in the comments to the list ...)
Edition code Flex / AIR:
Clear the current line: Ctrl + D
Or move the selected rows: Altl + Up Arrow or Down
Duplicate the selected rows or Ctrl + Alt + Up Arrow or Down
Go to the location of the next or previous edition: Alt + Left or Right (Apple + Alt + Arrow on the Mac)
Indent several lines selected: Tab or Shift + Tab (for désindenter)
Find next occurrence of the selection in the file: Ctrl + K (Ctrl + Shift + K to above)
Organize imports: Ctrl + Shift + O
And Go to see the definition of a function or property in the file: Ctrl + O
To review the selection: Ctrl + Shift + C (Marche in MXML, AS and CSS)
Search the entire file: Ctrl + Shift + F
Maximize / Minimize active editor: Ctrl + M
Put the selected text in capitals: Ctrl + Shift + X (Ctrl + Shift + Y to lowercase)
To go to a class definition: Ctrl + Click on the name of the class
Find references to a function in a workspace: Ctrl + Shift + G
File management:
Opening a class from its name: Ctrl + Shift + T
Navigate through open tabs Ctrl + Shift + Left / Right
Rename a file: F2
Execution and debug:
Set / Remove a breakpoint on the line: Ctrl + Shift + B
Navigation on the breakpoints: F5 (Into), F6 (Over), F7 (Return) and F8 (Resume)
Run debug mode: Alt + Shift + D and F to start the debug Flex Application
Launch the current application: Alt + Shift + X
Run the Flex application: Alt + Shift + F
Launch application AIR: Alt + Shift + R
... And finally, the need to Copy / Paste: Ctrl + C, Ctrl + V .... Oh you know!
If you come for the first time on Flex-info.fr, you can subscribe to the RSS feed. Thank you for your visit!
Developers Adobe Flex professionals have so far been frustrated by the lack of unit testing tools for Flex. Although FlexUnit has been developed for some time, developers have to Flex unit test tool worthy of the name ...
Rather than wait for someone (Adobe?) To do so Gorilla Logic has created a system called FlexMonkey open sourced. FlexMonkey allows us to record and read the interactions made with a flex interface, and generates ActionScript tests using scripts that can easily be included in a process of integration. It uses the Flex Automation API and was created by extending automation Adobe graphic AutoQuick. The growing demand for such a tool was that even if the release is out there just 2 months, an active community has already begun this rough around open source project that has been downloaded nearly 1000 times.
For more info on the project FlexMonkey, here is a video presentation by its designers:
The Tour Flex is out! This is not the Tour de France but Flexeurs of an application
The Tour Flex is actually a software which contains many components, including the library Efflex. AIR is an application to explore the properties and resources Flex. You can explore the engine components Adobe Flex, Adobe AIR and data integration. It is also possible to explore third-party components, effects, skins and more.
It is therefore an interesting application for our development. Note that the application is also available as an Eclipse plugin.
I stumbled by chance on a page in the site of CERT (Center of Expertise Government Response and Treatment of attacks) which denounces a vulnerability in the version 3 of Flex allowing indirect code injection in your applications.
Here is the link to the CERT and the link to the Adobe bulletin announcing the vulnerability. Adobe considers important this update and recommandeaux users to update their software installations and web site if necessary.
The solution
Adobe recommends all Flex 3 developers who authorized the module "History Management update applications created with Flex 3 and FlexBuilder proceeding like this
Users of Flex 3, which authorized the module "Management History" in their deployed applications in Flex 3 should update all instances of the file historyFrame.html with this updated file. The 3 versions of historyFrame.html in installing the SDK Flex 3 installation can be found in the following directories:
(install root) / templates / client-side-detection-with-history / history / historyFrame.html
(install root) / templates / express-installation-with-history / history / historyFrame.html
(install root) / templates / no-player-detection-with-history / history / historyFrame.html
An alpha version of Adobe AIR for Linux is released this week. It is available on Adobe Labs. If you are on Linux and you want to try out AIR, it sufit go to the download page and test!
We looked forward, that's it ... Flex 3 is now available in final version and AIR downloads as the Flash player.
At the same time we learn via the new portal of Adobe's open source that the code name of Flex 4 is "Gumbo" whose main lines of evolution are described here.
Note that 2 versions of Flex Builder are available for purchase: The "standard" and "professional" (respectively 179 € and 499 € or 69 € and 219 € as an upgrade from version 2 (price Taxes)).
The differences between the 2 versions (source: Adobe store):
Testing tools: The memory profiler and performance allow you to explore the use of memory and to analyze how applications use resources. Functional tests include automated regression tests.
Optimization of the components of data visualization: Optimize the display of data using the new Advanced DataGrid component. Flex Builder 3 Professional also offers forms rendering optimized and new functions of aggregation and summary. Charts component provides new interactions, a drawing API and support for multiple axes.
Why? Simply because it's so easy to plant by planting Eclipse browser Working with Flex, it happens all the time To select which browser should be used by Flex to test and debug your applications, open the Preferences window: Window -> Preferences. Then in the left treeview open General -> Web Browser and select "Use external Web browser".
In this example, Internet Explorer is used by default to start / debugger applications Flex.
Now the application runs directly to your browser without planting FlexBuilder / Eclipse, and therefore, even if your application crashes or freeze, you can always read your unread RSS Flex-info.fr in your other browser
I just discovered a site that surely will interest many readers practicing Java in their life. J2Flex proposes a framework with persistence for your Flex applications. It can be used with Caingorm.Je lets you discover the rest in English:
Definitely one of my favorite features: the Profiler. This tool allows you to see the number of body size and in memory of all objects of your application during its execution. In other words, a wealth of information for anyone wishing to optimize their code. ... Read more