A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: drop down menu and f hybrid problem

  1. #1
    incredibulus-actionscriptum magnetos's Avatar
    Join Date
    May 2001
    Posts
    2,160

    drop down menu and f hybrid problem

    hi guys i have never tried to make an hybrid site before and i am having some problem makeing a drop down flash menu working on a html page
    what i want to do is to put the drop down menu on the top of the page while on the bottom i have other html stuff

    also the dropdown menus will have at least 10 buttons each
    is there an easy and organized way of making this work?
    i am using dreamweaver for di html editing

    can anybody help examples/flas/tuts/ anything

    thanks in advance for your help guys

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    one simple way would be to have a frameset. topFrame holds the flash and buttons use getURL("anypage.html", "mainFrame") in the.. mainFrame.
    Make sure to name your frames..

    gparis

  3. #3
    incredibulus-actionscriptum magnetos's Avatar
    Join Date
    May 2001
    Posts
    2,160
    Originally posted by gparis
    one simple way would be to have a frameset. topFrame holds the flash and buttons use getURL("anypage.html", "mainFrame") in the.. mainFrame.
    Make sure to name your frames..

    gparis
    thanks gparis
    the frameset idea is a good idea i ll try that

    but there is another problem see if i make the flash menu 800 x 200
    for example, when i port the swf onto the html page the swf shrinks its waaay to small why is that?

    on the other hand if i make a 550x500 the sfw fits well but i dont need so much empty space for the menu buttons is there a work around or am i missing something?

    any ideas??
    thanks again

  4. #4
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    Here's a frameset example with a top row set a 200. Make sur to publish the topFrame where the swf is with top margin at 0.

    <html>
    <head>
    <title>Your title goes here</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <frameset rows="200,*" frameborder="NO" border="0" framespacing="0">
    <frame name="topFrame" scrolling="NO" noresize src="topframe.html" >
    <frame name="mainFrame" src="mainframe.html">
    </frameset>
    <noframes>
    <body bgcolor="#FFFFFF" text="#000000">
    </body>
    </noframes>
    </html>

    gparis

  5. #5
    <divs> work better!

    use absolute positions... set z-depth to 1 and youre golden.

    HTH


  6. #6
    oh, the reason why <divs> work better....

    Code:
    <div id="Nav" style="position:absolute; left:30%; top:110; width:675; height:400; z-index:1">
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="675" height="400">
          <param name="movie" value="Flash/Nav.swf">
          <param name="quality" value="high">
    	  <param name="WMODE" value="TRANSPARENT">
          <embed src="Flash/Nav.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="675" height="400"></embed></object>
    </div>
    This makes it so your flash is transparent and the menu's will overlay on the top of your content.

  7. #7
    incredibulus-actionscriptum magnetos's Avatar
    Join Date
    May 2001
    Posts
    2,160
    thank you guys ill try both methods and see what I come up with
    I am still struggling with dreamweaver though ....
    thanks again


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