A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: a little help please

  1. #1
    Junior Member
    Join Date
    Oct 2000
    Posts
    3
    I wish to have a html page open to the exact size of my flash (is this something I need to adjust in my html)(how do i accomplish this?) is it ok to send someone directly to a .swf vs a html page. I have mixed responses when I link someone to a .swf file.

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Posts
    167
    In your publish settings for html>dimensions> drop down menu choose percent>
    enter 100% if not already. Publish the html.

    Once the html is published open wordpad to modify html and do this:

    In your head tag place this(index page):

    <head>
    <title>title</title>
    <script language="JavaScript">
    <!--
    function MM_openBrWindow(theURL,winName,features) { //v2.0
    window.open(theURL,winName,features);
    }
    //-->
    </script>
    </head>

    In your body tag place this:

    <body bgcolor="#FFFFFF" onLoad="MM_openBrWindow('http://www.domain.com/filename.html','shock','width=600,height=300')">

    You just have to change width and height to fit your needs. Also remember to size
    yet contrain proportion.

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