2 Replies Latest reply on Sep 10, 2015 1:23 AM by Hyeonil

    popup with fixed window size

    drennan Level 1
      Hey, i'm really stuck with this and keep hitting a dead end. i've got a button in my flash website and i want it to open a popup window of 600x400 pixels when clicked. The popup contains a background image of this size so i dont want any white space in the background. I've tried putting the following into the actions window with the button selected but nothing happens when i click the link in the website.

      on (release) {
      getURL ("javascript:openNewWindow(' http://www.mysite.co.uk/support.html','thewin','height=400,width=600,toolbar=no,scrollbars =no');");
      }

      If I attach a behaviour to the button to geturl, it works but brings up the page full size. I'm new to flash so am just going on scripts i'm finding on various websites. Is there a simple way to do this? Its pretty straight forward in Dreamweaver but i cant see where to specify popup dimensions in flash. Thanks, Dren