Subscribe to
Posts
Comments

Flexing My Flex Muscles

Now, for those who actually come and read my blog (I get a whopping 20 hits a day!) you may be wondering why the delay in posts… Don’t worry, this isn’t going to be one of those blogs that gets a few updates in the first few weeks then disapears into oblivion. I’ve been coding like crazy in Flex and trying to write my first component! Ok… make that components, because the main one I’m trying to create actually involves quite a few mini-components and classes built into it.

I’m trying to make an image viewer that connects to a users Flickr account, grabs 100 images or so, and displays them in a rotating circle, with the one selected displaying in the middle. The image selected will also magnify slightly, as well as the ones next to it (in a sort of Fish-Eye view but not quite that advanced at the moment). Well, I’ve gotten a good start, and having some 600+ lines of code written! It may not look like much, but you can see the of it start here.

A few things I’m having issues with… I can hear a COMPLETE event when the image is loaded, but for some reason the width/height/x/y values aren’t initalized yet. When the image is done loading, I want to move the Images so their registration point is actually in the center of the clip, not the top left corner, but without those values intitalized when the image loads I’m at a loss! If anyone has suggestsions on what I’m doing wrong, I’d love to hear them!

One Response to “Flexing My Flex Muscles”

  1. on 11 May 2007 at 2:23 amAlex Parish

    Fantastic stuff! Great to see Flex being used so creatively. Keep up the good work.

Leave a Reply