Answered
Getting a button to link to mailto link
OK, I've trawled the web, everyone with different ideas on
how to call up a mailto link in AS3.
What I'm looking for is this:
I have a box, that is coverted to a button symbol given the name 'mailto'
I have another layer for the actionscript
I have imported 'flash.net.navigateToURL' and 'flash.net.URLRequest'
I know I need to create a function or a variable to link in the already created button.
Do I also need to import the MouseEvents?
I created this FLA to get used to CS4 (i was previously using 8)
Everything works wonderfully, I would just like to know how to use AS3 properly, without having to call defeat and create the FLA again using AS2.
What I'm looking for is this:
I have a box, that is coverted to a button symbol given the name 'mailto'
I have another layer for the actionscript
I have imported 'flash.net.navigateToURL' and 'flash.net.URLRequest'
I know I need to create a function or a variable to link in the already created button.
Do I also need to import the MouseEvents?
I created this FLA to get used to CS4 (i was previously using 8)
Everything works wonderfully, I would just like to know how to use AS3 properly, without having to call defeat and create the FLA again using AS2.
