Code not working


i want whenever click on e-mail button, should open outlook send e-mail "abc@xyz.com" address.
for this, have added following code in application.

code:

public function handleclickhelp(event):void{
var cp:string;
var w:number;
var h:number;
var emailh:movieclip; // given <instance name> of button e-mail.
if(_root.admin =="ok"){
w=650;
h=650;
cp = "helpadmin"
}else{
w=650;
h=450;
cp = "help";
}
mapopup = popupmanager.createpopup(this, window, true,{title:"help",closebutton:true,_width:w,_height:h,_x:200,_y:50,contentpath:cp});
mapopup.addeventlistener("click",mapopup.deletepopup);
mapopup.content.emailh.onpress = function(){
geturl ("mailto:ingo.schneider@fr.non.schneider-electric.com;rafael.cortes@fr.schneider-electric .com" + "&subject=help mail")
alert.show("e-mail","help", alert.ok,_root);
}

}
but not working :(.
can please help?

kindly explain u hv added code, class, , if class tell me how u have written , share complete class structure.
also let me know if u r getting error message


More discussions in ActionScript 1 and 2


adobe

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support