There has never been a better time then now to invest your money in FDT. Notice I used the word invest, that’s because I consider picking an IDE is an investment. It is a long term commitment to a company to show your loyalty that they are addressing your needs and care about your concerns. Why do I bring this up? Well, Powerflasher is running a special now to let you cross upgrade from Flex Builder 3 and get yourself an early copy of FDT 4. I am going to be 100% upfront and tell you I am not getting paid to say any of this. I actually own my own license, it was not given to me, I paid for it myself and have upgraded as well. Every free license I get I give away, that includes my licenses to Flex Builder (even though I own my own copy of that as well). So why am I saying this now? I think there are a few things I should clear up about the IDEs I use and why:
Traversing the display list
February 26th, 2010
Source http://lab.polygonal.de/2010/02/02/traversing-the-display-list/
A great HaXe feature is that you can define your own Iterator and execute it with the for-syntax.
It can be used in many different ways and drastically improves readability of your code. AS3 developers often need to look at the display list, so I wrote a basic DisplayListIterator to handle this task. Here is an example:
using de.polygonal.gl.DisplayListIterator;
…
for (i in Lib.current.stage) trace(i);
This will print out all display objects in the display list.
If you are not familiar with HaXe, Lib…
AS Quiz #15 (Hardest Quiz Yet)
February 24th, 2010
Source http://actionsnippet.com/?p=2697
This is probably the hardest quiz yet. After yesterdays very easy quiz I figured I’d do something really trickey… binary is always a good way to make a quiz hard… so most of the questions are about binary operators and ByteArray… there is also one question about Bezier math.
Number of Questions : 7
Difficulty : Hard
Topic : Binary and Bezier
Which random sequence would you associate the below snippet with?
for (var i:int = 0; i<4; i++){
trace(int(Math.random()*2) – 1 | 1);
}
1, 0, 1, 02, 1, 0, 10, 0, 0, 01, -1, -1, 1-2, 1, -2, 1Which of the below sequences would you associate with the following snippet?
for (var i:int = 0; i<10; i++){
trace(i & 2);
}
You may want to work this out on paper 0,0,0,2,2,0,0,0,2,2
0,0,0,0,4,4,4,4,0,0
0,1,0,1,0,1,0,1,0,10,0,2,2,0,0,2,2,0,0
0,2,0,2,0,2,0,2,0,2A quadratic Bézier curve is the path traced by the function B(t), given points P0, P1 and P2…
Debugging Responder Result Functions
February 24th, 2010
Source http://flexdiary.blogspot.com/2010/02/debugging-responder-result-functions.html
Lots of times when we use AsyncTokens with Responders, something will go wrong between when the call is made and when it returns. Usually if there is a problem, the fault handler will fire. Because of this, it's fairly straightforward to get information on what has happened in the fault responder function by looking at the FaultEvent's properties, such as the fault property.But what about when
Some little gems on OSX you might want to know
February 24th, 2010
Source http://www.rialvalue.com/blog/2010/02/01/some-little-gems-on-osx-you-might-want-to-know/
Here are some little things that might speed you up when working on a Mac.
1. View hidden files in Finder
In terminal type:
1defaults write com.apple.finder AppleShowAllFiles TRUE
To hide them again:
1defaults write com.apple.finder AppleShowAllFiles FALSE
2. Manage clipboard from command line
To copy the output of a parameter you can use pbcopy:
1pwd | pbcopy
The result from pwd will be copied to the clipboard. You can seamlessly use pbpaste
3. Copy directory trees without overrideing
Imagine you’ve got 2 folders: v1 and v2 and you want to copy the contents of v1 inside v2 recursively (merging the contents)…
AS Quiz #14
February 23rd, 2010
Source http://actionsnippet.com/?p=2693
Today’s quiz is about TextFields.
Number of Questions : 6
Difficulty : Easy
Topic : TextFields
Please go to AS Quiz #14 to view the quiz
Interview With Elad Elrom
February 23rd, 2010
Source http://www.insideria.com/2010/02/interview-with-elad-elrom.html
Elad Elrom is a technical writer, technical lead, and senior Flash engineer. As a technical writer, Elad wrote books covering Flash technologies. He maintains an active blog and has spoken at several conferences regarding the Flash platform. He has helped companies follow the XP and Scrum methodologies to implement popular frameworks, optimize and automate built processors and code review, and follow best practices. Elad has consulted a variety of clients in different fields and sizes, from large corporations such as Viacom, NBC Universal, and Weight Watchers to startups such as MotionBox…
10 recipes on ADC Cookbooks covering AIR 2.0 new APIs
February 23rd, 2010
Source http://elromdesign.com/blog/2010/02/01/10-recipes-on-adc-cookbooks-covering-air-20-new-apis/
AIR 2.0 beta is available publicly and when I was asked by Adobe’s marketing team, as well as Apress editor to post some recipes for Flex and AIR in the Adobe Developer connection Cookbooks I decided to combine the two. Adobe are looking to have the Cookbooks gain momentum & I decided to lend a hand and released 10 recipes with applications I built with the new AIR 2.0 APIs while I was part of the Beta program. I revised the applications and they are running correctly on the latest built of AIR available for the pre-release users…


