A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Adding URL to a button

  1. #1
    Junior Member
    Join Date
    Sep 2005
    Posts
    18

    Adding URL to a button

    I have a button ready for the appropriate action script. So how do I go about adding a pop up box function to a button?

  2. #2
    Senior Member
    Join Date
    Feb 2006
    Location
    Portland OR
    Posts
    138
    on (release) {
    getURL("javascript:NewWindow=window.open('http://www.theURL.com,'newWin','width=220,height=195,left =222,top=50,toolbar=No,location=No,scrollbars=yes, status=No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
    }
    Last edited by knottyDJ; 02-27-2006 at 07:57 PM.

  3. #3
    Junior Member
    Join Date
    Sep 2005
    Posts
    18
    That seems to bring up a blank webpage when I input the web address I want. Here is what my script says

    on (release) {
    getURL("javascript:NewWindow=window.open('http://search.ebay.com/_W0QQfgtpZ1QQfrppZ25QQsassZskylercloud222,'newWin' ,'width=220,height=195,left =222,top=50,toolbar=No,location=No,scrollbars=yes, status=No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
    }

    Any Ideas why its not loading the url?

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