Blog

  • What Flex Builder 1.5 Really Does

    I’ve read all the posts this morning about Flex Builder 1.5, but they don’t say what it really does in summary, nor accredit it’s cool new features. Let me get that for you:

    – first off, you now have percentage based layouts, so like in HTML, width=”100%” and height=”100%” actually render in the Design Mode. They worked before in Flex Builder 1 published for Flex 1.5, you just couldn’t see your design without publishing; pain in the arse for Central development, hehe. Still, kind of neat to be able to use an older product to author for a newer compiler (although, Macromedia recomends you use the same versions of Flex Builder and Flex).

    – secondly, for those of you code freaks, you can actually remove Design View entirely. This provides significant performance enhancements when running Flex Builder, and uses a lot less RAM. I was using 190 megs Sunday, we’ll see how much better that gets.

    – third, she’s got some new components (already has all the cool ones Flash MX 2004 doesn’t). The best are the charting components which integrate with the CSS styles, and existing effects. The List’s have been improved, now inheritantly supporting variable row height, word wrap, and data tips. The first 2 are so in demand in Flash; that question gets asked ALL the time on the mailing lists on how to implement it in Flash. You can also change orientatation, like horizontal and tile. Finally, the components in the Extras folder were added in, but for some reason, they added 2 in there and not internally; ColorPicker and ImageButton.

    – Skinning is made easier with additional styles added to components, as well as examples and documentation for both Flash Designers and Flex ActionScripters.

    – Performance of runtime has improved too; both in application startup, layout with additional control on init order of components via a CreationPolicy, as well as effects themselves and how they are implemented on some components in particular, such as Panel (the most popular guy).

    – Finally, support for RSL’s. The people who should care about this are Central developers. Now, our Flex apps can be really small AND utilize some of the Central specific components (I think). I’ll work on an entry explaining how to use them in Flex Builder.

    More info here.

  • Aussie Can Now Tax Me Remotely

    “Hey dude, the miss and I would like to buy some property, and build a new house on that island you bought. The castle nearby sounds absolutely stupendious.”

    “Sure thing mate, a couple from the Netherlands just purchased a lot nearby. I’m sure you’ll both love your new waterfront property, the geese are nearby this time of year, and the fishing is superb.”

    “Rock! Hey man, thanks for staying awake this long so I could talk to you about the property… I know it’s late there, but I had some errands to run. It’ll be great to get away from the Imperial greifers on Tatooine.”

    “No worries, mate! I know you’ll both enjoy your new life on the island together, so I reckon it’s worth it to me to go the extra mile. There’s an island wide policy of no PK’s.”

    “I can’t wait!”

    “Good on ya, then!”

    …let’s just hope Aussies’ have better zoning laws than Georgia has… let me rephrase that, ANY zoning laws are better than here, even in places that don’t physically exist.

    Gamer Buys $26,500 (

  • Flex Chronicles: Part 3 – childrenCreated & show

    When you have a component inside a TabNavigator (I believe this applies to a ViewStack as well) (ViewStack’s show DOES get called it seems the first time… or maybe it’s because the TabNavigator is inside a ViewStack ::shrugs::), you can use the tried and true childrenCreated event to do initialization, since just like onLoad in Flash, it runs a frame after everything is setup, allowing you access child components. However, it only gets fired once. In the case of a component you want to reset itself each time it gets shown in a TabNavigator, you can use the “show” event. It gets fired once when the component is shown. The cool thing is, it does not get fired the first time the component is shown.

    I had a component that shows blog entries. Upon being initialized, it’d call a webservice. However, this was only getting called once; I couldn’t call it remotely, because the call wouldn’t work the first time… since the component isn’t initiliazed the first time. Sooo, I was like…uh…wtf. Initialize called too early. Now, I just put my getEntries function call in both childrenCreated and show, and it works great!

  • Flex Chronicles: Part 2

    Was there a part 1? Yeah dude, when I used it before. I didn’t make it through many tutorials, though, only the walkthrows and videos. Last night and this morning, I went through that 56 page PDF tutorial (you can also see it LiveDocs). I’ve been digging around in the samples, LiveDocs, and pinging peeps on AIM and email for help when I run into a brick wall.

    All in all, Flex is pretty hot. The speed at which you can develop form based apps seems like it’ll be faster than what you can do in Flash. It’s slow for me because I’m still learning, but I’m digging the layout tools the most; reminds me a lot of XUL …only, it’s Flash. The direct linking of CSS stylesheet props like you do with HTML is just rad.

    As I hit weird hurdles, I’ll document them here. Even though most are probably newb, green, cut your teeth types of problems, I’d much rather be the newb who can go on Google, type in his/her issue, and find my site lamenting about how I already went through the problem, and posting a solution.

    Without further adu(sp?), I was having problems with Flex finding my external script. I’m making my GUI in an MXML component, and referencing the class code out (well…like, just functions and properties, that’s how Flex makes classes associated with an MXML component; weird concept (weird cause it’s new to me)). It kept complaining it couldn’t find it. I tried all kinds of filepaths after reading about how import/include work in the LiveDocs, and finally foobarred it enough to cause a Java nullpointer excepion. Reading the exception, the full filepath was on the server, not my site folder. Turns out my frikin’ file wasn’t on the server. When you run an MXML file, Flex Builder’ll upload it to your test server. However, it didn’t upload the dependant file, Login_script.as. I uploaded the scirpt, and she runs fine. Dar dar dar… so, if you have a similiar problem with your external as files, now you know; just upload them.

    …I’m just worried about 60 days from now; I’m not sure how I’m gonna pay for Flex Builder and Flex. Flashcom’s easy; you just get a server with a few amount of users from an ISP who hosts it for you. Not sure about Flex, though. Maybe I can qualify as one of those not-for-profits or something. :: shrugs :: Anyone know someone who knows someone who knows what I could do?