July 31st, 2007
Ben Pritchard has posted a great article on using reflection with ActionScript 3 for Flash CS3. This is not only easy to do (using the included source code he provides) but generates that “WOW” factor that is all so important sometimes. I highly recommend reading his article at:
Read it here
Yes, that is my new toy
For Flex developers, there is a Reflector class that has been around for quite a while which I have used in a few applications and received great applause. More information on the Flex Reflector class is available here.
No Comments » |
ActionScript 3, Flex 2, Flex 3 (Moxie) |
Permalink
Posted by everythingflex
July 30th, 2007

Scorpio is now officially ColdFusion 8. In my free time (yeah right), I tested the Scorpio beta over the last 6 months or so and I am very impressed with the new features and their ease of use. Read more about whats new in CF8 using the link below.
ColdFusion 8
1 Comment |
Announcements |
Permalink
Posted by everythingflex
July 20th, 2007

The MAX 2007 North America (Chicago, IL Sept 30 - Oct 3) early bird special is ending on July 23rd so you have only a few days left to take advantage of this. Sign up now as this years MAX is shaping up to be a whole new beast with speakers who have never been a part of MAX in the past due to conflicting ideals on what MAX stands for. MAX has gotten a face lift thanks to Ted Patrick who has been working very hard to change the face of MAX to once again be focussed on the community as it once was when it began as Alaire’s DevCon.
Remember, please be sure to check the box on step 3 and enter my name
“Rich Tretola” in the community leader text box. Please see the image below.
Click here to register.

No Comments » |
Adobe AIR (Apollo), Announcements, Flex 3 (Moxie), MAX 2007 |
Permalink
Posted by everythingflex
July 17th, 2007
There has been some confusion over windows within an AIR application. The original alpha had a class named NativeWindow that is in the flash.display package. The sample code to create a NativeWindow looks something like this:
private function createNativeWindow():void{
var newWindow:NativeWindow =
new NativeWindow( true, new NativeWindowInitOptions());
newWindow.title = "My Window";
newWindow.width = 700;
newWindow.height = 300;
var tf:TextField = new TextField();
tf.htmlText="<b><font size='70'>This is "+
"a NativeWindow with a flash.text.TextField</font></b>";
tf.wordWrap=true;
tf.width=700;
tf.height=300;
newWindow.stage.addChild(tf);
newWindow.activate();
}
If you look at the function above you will notice that the component I added was a simple flask TextField from the flash.text package. This is noteworthy as because the window is a NativeWindow it can include components from the flash namespace but not the mx namespace. So, I could not put new Button() within the newWindow.stage.addChild() method and expect it to work.
So, with the AIR beta came the Window class which falls under mx.core. So, what does this mean? You guessed it, you can now easily include components from the mx namespace in your AIR windows. Here is an example of a file named MyWindow.mxml:
<mx:Window xmlns:mx="http://www.adobe.com/2006/mxml"
width="400" height="300">
<mx:Button label="Button"/>
<mx:DataGrid>
<mx:columns>
<mx:DataGridColumn headerText="Column 1" dataField="col1"/>
<mx:DataGridColumn headerText="Column 2" dataField="col2"/>
<mx:DataGridColumn headerText="Column 3" dataField="col3"/>
</mx:columns>
</mx:DataGrid>
<mx:ComboBox/>
</mx:Window>
Here is the code to create an instance of the MyWindow class.
private function createCoreWindow():void{
var win:MyWindow = new MyWindow();
win.open();
}
Keep in mind that the NativeWindow class is still very useful and is lighter weight than the Window class. I hope this clears up any confusion. If you find that something I said here was incorrect or have something to add, please comment.
18 Comments |
Adobe AIR (Apollo) |
Permalink
Posted by everythingflex
July 11th, 2007
As promised Jens has posted the WSPatterStyleGenerator to transform background patterns to a CSS style for use within Flex applications (See my Pure CSS Flex Backgrounds post for more information).
So with my little testing of this cool utility, you can create a CSS style for any image that is less than 250 x 250 in size and has 16 or less colors. The WSPatternStyleGenerator can be see here.
No Comments » |
Flex 2, Flex Tools |
Permalink
Posted by everythingflex