A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: B Rowser / Flash 911

  1. #1

    B Rowser / Flash 911

    I have a situation..

    I WANT WENT PEOPLE TYPE IN MY URL: WWW.WHATEVER.COM

    1. IT OPENS IN A BROWSER WINDOW 800 * 400
    2. NO SCROLLING
    3. NO RESIZING

    PLEASE CAN ANYONE GIVE ME THE SCRIPT THAT NEEDS TO BE IN FLASH
    AND THE HTML CODE TO GO WITH IT..


    THANK YOU SO MUCH


    911 HELP
    xavierdbz "Much Repect to all Flashers" I think all you guys and gals are awsome"

  2. #2
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    im sure there's other ways to do this but say you have a button on the main page that people click to launch the site. if you put this on a flash button, it will load in with the specs you mentioned:

    on (release) {
    varHeight = "400";
    varWidth = "800";
    getURL("javascript:window.open('http://www.whatever.com','someTitle','width=800,height=40 0,top='+((screen.availHeight/2)-(" add varHeight/2 add "))+',left='+((screen.availWidth/2)-(" add varWidth/2 add "))); void(0);");

    }

    ps. this will also center the popup ;)
    pps. I found this here.. not mine but i've used it alot! hehe
    Evolve Designs Interactive Media
    the natural selection

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