/t5/animate-discussions/getting-a-button-to-link-to-mailto-link/td-p/249287Mar 26, 2009
Mar 26, 2009
Copy link to clipboard
Copied
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.
/t5/animate-discussions/getting-a-button-to-link-to-mailto-link/m-p/249289#M8254Mar 26, 2009
Mar 26, 2009
Copy link to clipboard
Copied
Thank you very much..
I'm almost there now.
I come up with an error saying that I have an unidentified
property mailtoLink. I'm guessing this would be for the button
itself. How would I tell the code that this link will happen when
that button is clicked?