HTML question

Out of context: Reply #14

  • Started
  • Last post
  • 19 Responses
  • fyoucher10

    Never have done something like that and not sure if this works (I'd imagine Adobe would stop users from being able to do that.( i.e. crazy popups galore).

    Perhaps try using getURL (assuming AS2) but then type out button code, but then call the onRelease event (without actually clicking the button). I'm not sure if this would work though.

    Last frame of FLA:

    testButton.onRelease = function():Void {
    getURL("www.yellowparty.org", "_blank");
    }

    and then immediately call that function...

    testButton.onRelease();

View thread