Irritating FlexBuilder 3 errors/bugs

March 25th, 2008

I finally got my upgrade info for FlexBuilder 3 and got it installed yesterday. I then proceeded to import my project from FlexBuilder 2 and everything went really smooth. I got all of my linked resources set up and began coding. After the CS3 install debacle I was thinking "wow that went really smooth". And the install went great. However as I try and get back into my project and writing code I have noticed a few weird issues that i can seem to figure out how to fix.

The first annoying bug is that I cant ctrl+click on a class name and navigate to that class unless I force FlexBuilder to import a class via code completion first. Once I do that then the class names become clickable by holding down the ctrl key. However even when i do that, once I click on the class name I get an error notifying me that "The file you chose is not inside a project...".

The file you chose is not inside a project...

But it is, its part of the linked resource classes that I have as part of the project. Ahh this is irritating.

Then the last annoyance (so far) is now when I have code problems, FlexBuilder's problems panel will show the error and the line its on, but under the Resource column it just shows the project name and the Path column is completely blank... yeah thats helpful :(

I'm considering downgrading back to FB 2.01 at least until this project is done. If anyone knows how to fix it let me know, It would be much appreciated!

AS3 - custom event classes or inspectable properties

November 13th, 2007

In AS2 I used a custom Broadcaster class that allowed you to fire an event and pass along an object to the listeners. As I transition and get comfortable with AS3 and the improved event model I have come across a question I cant seem to find a clear answer for.

I have been trying to decide what is better/proper practice when it comes to Events in AS3. Is it better to extend and create custom event classes that contain gettable/settable properties to be passed along with the event? Versus, dispatching a more generic event and have the listener reference back to the object that fired the event to obtain a property value? Is the pain of creating multiple Event classes going to benefit me in performance? Is there a hit to the performance for a listener to receive an event, and reference back to a target to get the property values it needs?

Any feedback on this subject would be greatly appreciated

Book Review: Essential ActionScript 3.0

October 26th, 2007

Essential ActionScript 3.0 Book Cover

This wont be a long post, mainly because I don't have much to say other than BUY THIS BOOK!! This is the FIRST O'Reilly book I have ever been able to read cover-to-cover. O'Reilly books traditionally have seems very dry, albeit the perfect technical resources, just not a "reader". This book changes that (for me anyway).

Anyone who has coded anything in AS 1 or 2 doesn't need me to tell them that Colin Moock is a bad ass and any book he writes is a must have for any Flash developer. The only thing missing from this book is a reference like the ActionScript Definitive Guide had. I know Adobe has LiveDocs (although I really wish they'd post the HTML source for them so I can host it locally like Macromedia used to do), and thats great an all, but I really like having a written reference to go to.

Other than that, I just had to get a quick post to say thanks again to Colin for a kick ass book.... and to say it again, BUY THIS BOOK!!

(fyi.. all links to the books in this post will give credit to Colin via Amazon... he deserves it!)



onAir Bus Tour - Dallas

July 25th, 2007

I'm a bit late on this post, but better late than never huh? This will be short anyway though. I just wanted to say thanks to Mike Chambers, Lee Brimelow, Ryan Stewart, Daniel Dura and the rest of the onAir Bus Tour team for taking the time to stop off in Dallas. It was a truly inspiring event, and unbelievable that it was free. I left there really wanting to build something (just haven't decided on what yet). If the tour comes anywhere remotely close to where you live it is absolutely worth the time and even worth a drive.

Check out the onAir site for scheduled stops, tour photos and videos, blogs, and even an AIR Bus API. Then Register to attend the event near you, you wont be disappointed. They have great shwag bags too :D

Book Review: The Essential Guide to Flex 2 with ActionScript 3.0

July 8th, 2007

The Essential Guide to Flex 2 with ActionScript 3.0 (Book Cover)

First let me start off by thanking Mike Potter (Program Manager, Developer Relations at Adobe) for sending me this book. According to Mike,

"Every once in a while I’ll go through Amazon and find wishlists with Flex or ActionScript books on them."

So if you dont have a wishlist set up at Amazon, you should do so now, you never know who may be willing to make your day. Thanks again Mike! Now on to the book...

The Essential Guide to Flex 2 with ActionScript 3.0 was a good book. There I've said it, I liked the book. As with all Friends Of Ed Books (or at least the ones I have in my library) this book is extremely easy to read cover to cover. I dont know what it is about the books this company puts out, but they are by far the easy programming/technical books to read that I have ever purchased. I am constantly recommending the Foundation series books to people new to Actionscript, and/or Flash because of how easy they are to read.

Read the rest of this entry »

Chapter Two ~ Serenity

June 8th, 2007

Crucial Limit : Chapter Two Screenshot

For the past, oh 7 years or so, I have been working on redesign my site. Ever since I completed it for the first time, a redesign of it has been on my mind (I'm never happy with my own work). When I finally set out to do it this time, I decided that I'd take the pressure off myself a bit and not have any delusions about an FWA, or feel the need to try and blow everyone away with my design and technical prowess (as if). I wanted something that would be simple and clean with no caffeine. Something that would be easier to maintain and easier to redesign next time (hopefully that wont take another 7 years). What I ended up building accomplishes that I think.

Read the rest of this entry »

Esc Shortcuts still work in Flash CS3

May 22nd, 2007

I've gotten a few emails from people asking about getting the Escape Shortcuts to work in CS3, and specifically if they still work in AS3. The answer is absolutely, although they are not enabled by default from what I can tell. Enabling them though is rather easy.

Inside Flash CS3 IDE, open the panel menu panel options arrow (at the upper-right corner of the Actions panel) and make sure "Esc Shortcut Keys" is enabled (e.g. has a check mark next to it.

Also, remember its not a typical keyboard shortcut, where you hold down esc+f+n at the same time, but rather hit those buttons in a sequence. For example, press the esc key, then the f key then the n key and the shortcut will work, you will end up with

function () {

} 

Enjoy!

Adobe CS3 install horror… round 2

May 17th, 2007

I mentioned in my previous post that I was having installation issues with the trial downloads of Adobe's CS3 products (namely Flash CS3 and Photoshop CS3). I assumed that I could install the trials and when my serial number arrived I'd be able to enter it (as I have in the past) before the trial expired and everything would be great. Boy was I wrong. I tried to input the serial number but its a no go. So I say "screw it, I'll go ahead and install the whole CS3 Web Premium Suite". I get our software guy to login to the Adobe download center and begin the 1.6 GB download for the whole suite. I burn the software to a DVD and try to install, it unpacks the software to my desktop and I begin the setup process. I select the products to install (basically everything accept Version Cue) and I get presented with an error asking me to "Please insert Adobe CS3 Web Premium to continue installation". What? The disk is in the drive, the files are on the desktop... what more is there? So again I head to Google, run a search based on the error and find a few things to try from one of the Adobe technotes regarding the CS3 installation problems. I have to admit to being a bit caught off guard by some of the suggestions (albeit in the "advanced troubleshooting" area) that suggested that I actually "Reinstall the operating system, or run a system restore" to get Photoshop to work. Are you f@$king serious?

Read the rest of this entry »

CS3 trials are out, but…..

May 9th, 2007

Our team has been eagerly awaiting our copies of CS3 to go through corporate purchasing. So when I saw Senocular's post yesterday morning stating that the trials had finally been posted, I quickly forwarded the link to the rest of the team and we began downloading. Once the files were downloaded we all started installing... and waiting...and waiting ...and waiting. The install process took forever, easily longer than it took to install Office and at likely as long as it took to install the OS. At least they got theres to install though, I'm not so lucky. While I have the same machine as everyone else on my team, for some reason my installer disappears after the "initializing..." message.

Read the rest of this entry »

Retrospect

April 1st, 2007

Okay so the past few months have been a bit hectic to say the least and the blog has taken a back seat to coaching 6 year olds in soccer; organizing/coaching a basketball league for 9 year olds; finishing up another tattoo; getting the bike ready ride; getting back in shape; getting Travelocity ExperienceFinderTM into the next stage; finishing up the last bit of freelance work I still have on my plate; and oh yeah, Crucial Limit Chapter Two (coming soon I promise). Even with all of this going on though I still take time to notice the things going on in the industry lately and there has been a bunch going on. I wanted to take a quick minute to offer up my opinion (for what its worth) on a few topics.

First, I have to comment on the death threats directed at Kathy Sierra. This gets a big huge WTF??? Granted, I only just recently came across her work when I read "Don't ask employees to be passionate about the company!", which I thought was pure genius, I was an instant fan. What in the hell would possess someone, or drive them to the point of threatening her for what she puts on her blog?? If you don't like what she has to say or don't follow her way of thinking, guess what moron you can close your browser?! navigate somewhere else. The people making these threats are faceless cowards who have no business conversing with society.

Read the rest of this entry »