1 Reply Latest reply on Jan 28, 2010 3:23 PM by kglad

    Specifiy external window size and screen location?

    danpearce.me

      Hello, I have this ActionScript:

       

      function openNewCart(evt:Event):void {
      navigateToURL(new URLRequest("http://www.3dcart.com"),"_blank");
      }

      OpenCartPage.addEventListener("click",openNewCart);

       

      Is there a way that I can have it open a 5 pixel window that automatically closes after it loads? Also, is there a way to specify within the actionscript where on the screen I want the new window to open?

       

      I'm newer to flash. What I'd like to do is have it add a product to the shopping cart and close back down. If I can't do it straight from flash, I'm sure I can have the flash page open up an html page which redirects to the add to cart page and automatically closes, but obviously a much bigger pain in the butt, and it will only work anyway if I can specify in the actionscript for it to open a 5 x 5 pixel window.

       

      Thanks, Dan