All your Flex are belong to ME!

Greetings, AYFABU readers. Welcome to my wonderful little blog about CF, Flex, Tech and life in general. Be sure to catch up on some of my previous posts (there’s not too many of them).

I’ll be adding badges to the blog later today.

Comments

Flex Not-So Custom Preloader

Today I got a request to change the “Loading” text in the preloader of a Flex app. To my surprise, I didn’t see any examples on how to do this, so I thought I’d share my results.

When you like the existing preloader, but want to just make little tiny changes to it, here’s what you do. You’ll first need to go ahead and create a custom preloader class that extends DownloadProgressBar (the default preloader). In this new class, you’ll see the spot where you can just make tweaks to the preloader’s values:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package org.iotashan.components
{
    import mx.preloaders.DownloadProgressBar;

    public class CustomPreloader extends DownloadProgressBar
    {
        public function CustomPreloader()
        {
            super();
            // set your properties here
            this.downloadingLabel = "Getting the hampster to run on the wheel";
        }
       
    }
}

Once you’ve created this custom preloader, you just have to assign it to your application:

1
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" preloader="org.iotashan.components.CustomPreloader">

That’s it. Check out the live example here.

Comments

Hello CFBloggers, 360Flex

Greetings to the peeps coming cfbloggers.com! I’m happy to announce that someone finally answered my requests to aggro my blog, so hopefully I’ll start getting more than a dozen readers 🙂

If this is your first visit, be sure to visit the categories that interest you. I don’t have all too many posts, so it will be very easy to catch up. Maybe someone will finally leave a comment, too.

Yesterday I finished reserving and registering everything for 360Flex Atlanta. I’ve never been to Atlanta before… What’s good to see while I’m there?

Comments

No, the other pedal on the left!

I was out running some errands, and saw this:

I noticed an elderly person being helped into a police car, too. One can only assume they were the driver. From the gas station across the street, one of the attendants mentioned her husband (or was it boyfriend?) was the manager of the Batteries Plus, and he said nobody was injured.

Comments

iPhone Google Maps using outdated data!

So, I was going to a party this past weekend, and I forgot to grab directions. No problem, I’ll just pop the address into my TomTom Go 700. Uh oh, the address can’t be found. Well, that’s ok… I saw the house on Google Maps online, I’ll just look it up on my iPhone.

Except when I looked it up, the Maps application couldn’t find it. I eventually figured out that it wasn’t me, it was Google Maps.

I tried again today, using the 1.1.3 iPhone update with the new Maps application, and still no dice. Eventually, I figured out that the iPhone’s Google Maps phone is outdated.

Check out this link in on you computer:

Elkhorn, WI

Now check it out on you iPhone. Sure enough, there’s an entire subdivision that’s missing. Now why would Google even bother keeping two sets of data? Wouldn’t the far better idea be to just use an internal API to reference the master data?

How incredibly frustrating.

Comments