getURL actionscript question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • camphor
    New Member
    • Sep 2006
    • 35

    getURL actionscript question

    hi,

    I am getting this error message when using getURL

    **Error** Symbol=contact, layer=text, frame=1:Line 1: Statement must appear within on handler
    email_btn.onRel ease = function(){

    Total ActionScript Errors: 1 Reported Errors: 1

    actionscript:

    [code]email_btn.onRel ease = function() {
    getURL("mailto: info@paulineng. co.uk");
    }[code]

    I think it is correct or am I missing something

    thanks
  • kestrel
    Recognized Expert Top Contributor
    • Jul 2006
    • 1071

    #2
    the correct syntax for using geturl is as follows
    Code:
    on (release) {
    
    getURL("mailto:info@paulineng.co.uk","_blank");
    
    }
    try something similar to that

    Comment

    Working...