xedarius
01-31-2007, 02:40 PM
Hi,
I'm very new to the world of Flex and Action script and I was wondering if someone could point me the right direction.
In my flex project I notice I have a mxml file which seems to contain the layout of the page. However I've created some as files with some test code. My question is;
How do I access functions written in a seperate .AS file? So I can do things like;
creationComplete="CallMyFunction();"
I realise I can embed the script into the mxml file, but that looks very messy and I plan on creating a fair bit of code.
I would be grateful for any help.
Thanks
darius
I'm very new to the world of Flex and Action script and I was wondering if someone could point me the right direction.
In my flex project I notice I have a mxml file which seems to contain the layout of the page. However I've created some as files with some test code. My question is;
How do I access functions written in a seperate .AS file? So I can do things like;
creationComplete="CallMyFunction();"
I realise I can embed the script into the mxml file, but that looks very messy and I plan on creating a fair bit of code.
I would be grateful for any help.
Thanks
darius