A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: noresizable window, no menu and toolbar

Threaded View

  1. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    PHP Code:
    // open a new test file, place a button on stage (instance name - btn1)
    // add this code to frame#1 of the main timeline

     
    function launchWindow(url){
      
    getURL("javascript:NewWindow=window.open('"+url+
     
    "', 'Window','width=200,height=200,top=50,left=50,scrollbars=yes');void(0);");
     };

    // action on a button -
     
    btn1.onRelease = function(){ launchWindow("http://www.yahoo.com"); };

    // Publish the movie, upload the html and swf files to your server, and test online 
    hth

    online examples -
    http://www.jackleaman.co.uk/test/getURL/ext_link.html
    using links in external text file and movieclips

    http://www.jackleaman.co.uk/test/ext...ace/link1.html
    using the externalInterface class
    Last edited by a_modified_dog; 07-01-2009 at 11:13 AM. Reason: added links

Tags for this Thread

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