Re: [Flashcoders] Mailto function opens another browser?

2008-02-26 Thread Vlado Krempl

Great that works.

Thanks.
v
- Original Message - 
From: Glen Pike [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Tuesday, February 26, 2008 9:21 PM
Subject: Re: [Flashcoders] Mailto function opens another browser?


Try putting your email address in quotes.  I also use _blank for the 
second parameter to navigateToURL


Glen

Vlado Krempl wrote:

Hello everyone,

Trying to add a mailto function to a button, but everytime I click the 
button, internet explorer opens up another browser window aswell as my 
Outlook express.  I thought using the _self option would help, but it 
doesn't.


Code below:

var myURL:URLRequest = new URLRequest (mailto:[EMAIL PROTECTED]);
function clickButton(myevent:MouseEvent):void {
 navigateToURL(myURL, _self);
}
emailbtn.addEventListener(MouseEvent.CLICK,clickButton);



Thanks for your time.

Vlado
Please consider the environment before printing this e-mail. The contents 
of this message should be treated as COMMERCIAL IN CONFIDENCE unless 
otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it 
is addressed.
If you have received this email in error please notify the sender. If you 
are not the named addressee you should not disseminate, distribute or 
copy this e-mail. ___

Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





--

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Mailto function opens another browser?

2008-02-26 Thread Glen Pike
Try putting your email address in quotes.  I also use _blank for the 
second parameter to navigateToURL


Glen

Vlado Krempl wrote:

Hello everyone,

Trying to add a mailto function to a button, but everytime I click the button, internet 
explorer opens up another browser window aswell as my Outlook express.  I thought using 
the _self option would help, but it doesn't.

Code below:

var myURL:URLRequest = new URLRequest (mailto:[EMAIL PROTECTED]);
function clickButton(myevent:MouseEvent):void {
 navigateToURL(myURL, _self);
}
emailbtn.addEventListener(MouseEvent.CLICK,clickButton);



Thanks for your time.

Vlado 

Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE unless otherwise specified in the message

and is intended solely for the use of the individual or entity to whom it is 
addressed.
If you have received this email in error please notify the sender. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. 
___

Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  


--

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Mailto function opens another browser?

2008-02-25 Thread Vlado Krempl
Hello everyone,

Trying to add a mailto function to a button, but everytime I click the button, 
internet explorer opens up another browser window aswell as my Outlook express. 
 I thought using the _self option would help, but it doesn't.

Code below:

var myURL:URLRequest = new URLRequest (mailto:[EMAIL PROTECTED]);
function clickButton(myevent:MouseEvent):void {
 navigateToURL(myURL, _self);
}
emailbtn.addEventListener(MouseEvent.CLICK,clickButton);



Thanks for your time.

Vlado 

Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE 
unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it is 
addressed.
If you have received this email in error please notify the sender. If you are 
not the named addressee you should not disseminate, distribute or copy this 
e-mail.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders