Acessing Flash vars in Flex (nice little Util class)

Filed under: Flash — Wrote by Campbell on Thursday, April 24th, 2008 @ 12:59 pm

Seeing AXNA (Formerly MXNA) goes down more often than Paris Hilton, I have started falling back to my old aggregators Fullasagoog and Feed Squirrel and I noticed that a blog post about accessing flash vars and variables supplied to swf’s was being rated.

http://mentalaxis.com/words/2008/04/22/parameter-passing-in-as3-flex-3/

So I though I would share a little Util class I wrote a while back to make your lives easier. It uses the [Mixin] tag to make sure variables are available before the application creation is complete.

Remember to check the HTML template if you want to see how flashVars are passed to flex and have a read through the blog post mentioned above as well.

Check it HERE (view source enabled)
SOURCE

VisionAIR?

Filed under: Flash — Wrote by Campbell on Thursday, April 10th, 2008 @ 8:17 pm

No its not some strange offshoot of the AIR runtime. Its a site/group who are fund raising for a charity.

“The Fred Hollows Foundation gives the gift of sight to those in the developing world who could not otherwise afford a simple cataract operation. As little as $25 is enough to provide an eye operation.”

I figure for 25 bucks thats one cheap operation, and seeing I have been temporarily blind once (welding accident – don’t ask) and it was the scariest time of my life, I thought it would be great to give the gift of sight to someone else.

Head on over to http://www.visionair.info and check out some of the people behind the group. If your from the Asia pacific you might understand why the AIR made it into the title ;)

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