A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Button Code

  1. #1
    Senior Member
    Join Date
    Aug 2004
    Posts
    130

    Button Code

    Hello,

    I have a flash button that I would like to open a new html page within the same browser. I though I coded it correctly:

    on (release) {
    getURL("http://www.renaissanceems.com/",_self);
    }


    But it is opening a new browser page. I'm not sure what I'm doing wrong. Any help would be greatly appreciated. Thank you.

  2. #2
    Interested User Rohm's Avatar
    Join Date
    Aug 2004
    Location
    Sweden
    Posts
    214
    Hey you forgot.
    getURL("http://www.renaissanceems.com/","_self");
    There is "actionally" a truth to be found in flash.

  3. #3
    Senior Member
    Join Date
    Aug 2004
    Posts
    130
    Hey Rohm,

    You were right on the money, how could I be so stupid, thank you.

    Hedley

    btw - DS9 is one of my all-time fav shows

  4. #4
    Interested User Rohm's Avatar
    Join Date
    Aug 2004
    Location
    Sweden
    Posts
    214
    No sweat!
    I've done that same mistake myself.

    Yea, I love that show aswell.
    There is "actionally" a truth to be found in flash.

  5. #5
    Flashmatics silentweed's Avatar
    Join Date
    Mar 2005
    Location
    London, UK
    Posts
    4,876
    yeah seems more natural for it to be _self rather than "_self"
    Flashmatics | Flashmatics Library (free downloads)
    -----------------------------------------------------
    Latest Projects:
    The Dead Room | Are You Smarter | Prison Break (Frame A Friend) | Beck's Fusions | The 24 Experience

    -----------------------------------------------------
    Flash Certified Developer

  6. #6
    Interested User Rohm's Avatar
    Join Date
    Aug 2004
    Location
    Sweden
    Posts
    214
    Concur
    Just doesn't feel logical to have it in " "
    There is "actionally" a truth to be found in flash.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center