Archive for March, 2006

Flex 2.0 and ActionScript Files (not Classes)

Tuesday, March 7th, 2006

We had a bit of a dicussion the other night about putting your code in tags within your MXML.

Some felt this was kind of untidy as you then get a mix of layout (MXML) and logic (AS) within one file. When i first started playing within MXML i kind of felt the same way. It just didn’t seem right putting my AS in there, but after working with it for a while I feel pretty comfortable in it.

I’m not sure theres anything wrong with putting the layout and logic of your components in the same place, especially due to the fact that the logic is clearly seprated in the tag, but if this is what you want to do you can use the ‘source’ attribute of the tag and put all your AS is a separate AS file.

[code][/code]
(more…)

Presenting at webDU

Wednesday, March 1st, 2006

I arrived in Sydney late last night with Guy for webDU.

I will be presenting ‘A Round Trip with FileReference’. I’ll be covering FileReference upload and download examples, FileReferenceList mulitple file upload and of course a round trip using FileReference (uploading an image, editing it, sampling the pixels and re-building the image on the server then downloading it back to your local machine).

If i have time I will also show a round trip using Flex 2.0 and AS 3.0 which is much more effiecient.

If your in Sydney, give us a shout!