I got my new Phidget to play with and soon it will be flex powered!!

Filed under: Flash, Flex, General, Personal — Wrote by Campbell on Wednesday, October 25th, 2006 @ 12:38 am

Get your mind out of the gutter. A phidget is USB interface, that can be programed against in many lanuages, including….you guessed it… ActionScript.

 

I hope to use WebOrb to create a small socket server to allow Flex Remoting to interact with it (with thier permission obviously). Then I can just use Remoting and AMF to get/set data on the phidget. I can basically use it to control anything. If I get around to making n AS3 wrapper for the remoting Ill release it to the left under phidget projects.

I have been looking for new things to try lately and  hardware has really peaked my interest (man im becoming a g33k). Ill have to incorperate my car with it or something to have a g33k– effect. Thankyou mum and dad for the birthday present.

Props to Robert Hall for pointing me to this.

 

Flex schedule/calendar

Filed under: Flex — Wrote by Campbell on Tuesday, October 24th, 2006 @ 10:48 pm

I tell ya, you go away from the computer for a few hours…..

It appeared on the labs last night and the Flex scheduling framework rocks. Looking through the source I can see there is space for a few off shoots, or at least a few derived components. I wonder how this will compete with the HTML/Javascript based calendaring systems out there.

Go get your own from Adobe Labs [ VIA MX Traveler ]

Im now a dirty old man…Happy Bday to me!

Filed under: General, Personal — Wrote by Campbell on Friday, October 20th, 2006 @ 10:26 am

Yay its my birthday today, and I guess I can now call myself a dirty old man. Hahaha Im only 27 though.

Scrat has his party hat on:

Im off to be best man at my mates wedding this weeken, and it just happens that he was born on the same day (same hospital too Undecided) so it will be a big celebration. Im of to go party with scrat.

Peace! 

Sorry for the unexpected downtime

Filed under: General — Wrote by Campbell on Thursday, October 19th, 2006 @ 5:58 pm

Either someone is taking the time to read this dribble or Im getting DNS attacked. Sorry to those who we greeted to my site by the old bandwitdh allowance exceeded page. I guess Im going to have to spring for some more from now on. 1 gig in 19 days :o / WTF.

UPDATED TreeItemRenderer in flex

Filed under: Flash, Flex — Wrote by Campbell on Thursday, October 19th, 2006 @ 5:52 pm

I got a question from Randall in the comments of my site the other day and thought I should post the answer to his question:

"My questions is if you know how to control the display location of the icon and/or label? These seem to be displayed by the super.updateDisplayList function, and therefore display where they want to, regardless of what other visual objects are in the item (cell). Is it possible to layout boxes, and put the icon and label into one of them? If so, can you give us a quick example of this? "

Well yes its possible as the image below shows. I put an Hbox in then made the label and button children of it. they can now be controlled via css. Its a quick example but can be taken further quite quicky.

If you were to take it further you would have to extend the measuring methods in the class to update the hieght width etc so the items were placed in the right errrrrrr place.

Anyway heres your sample Randall. Its included with the old source so you can chop and change the renderers. Let me know what you think.
Also as always use the mx framework source as your guide…thats why its there (props to Adobe for that). Also go check out some of the sweet components that Mike is doing over at http://www.teotigraphix.com/flex2/.

SOURCE   DOWNLOAD DA ZIP

© Flex developer, Campbell Anderson, from New Zealand – xsive blog -