A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: button action

  1. #1
    How can I make a button to open a newwindow with the size w=200 h=350? it must be without the toolbars etc. only the frame of the window and it's text?

  2. #2
    Senior Member
    Join Date
    Nov 2000
    <script language="JavaScript">
    <!-- hide from JavaScript-challenged browsers

    function openWindow(url, w, h) {
    var windowprops = "width=" + w + ",height=" + h;
    popup = window.open(url,'remote',windowprops);

    // done hiding -->

    Now , this is the action for the button or keyframe :

    Get url JavaScript: openWindow("popup.html", "150", "150")

    Note: I found this script in another post by "GmF"

  3. #3
    Thank you and you to GMF. I'm sorry I just couldn't find it anywhere around here

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