dcsimg
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: flash and dreamweaver

  1. #1
    Junior Member
    Join Date
    Sep 2003
    Location
    Belgium
    Posts
    26

    flash and dreamweaver

    Hi all,

    I have a little problem with my website. The site is divided into 2 frame. The top frame is in flash and the buttons also. the lower frame is made in dreamweaver. I did that to be able to change easily picture or text and to keep some creativity on the top part of the site. The problem is that I want the buttons to load only the lower part, the html frame. My buttons are also in a drop down menu.
    I dont know the actionscript I have to add to my buttons to do that!
    can you help me?

    thanks
    clay2n

  2. #2
    Can i play now????
    Join Date
    Jun 2003
    Location
    Greece
    Posts
    309
    Use this:
    code:

    getURL("index.html", "bottom")


    Change the index.html with the page you want and bottom with the name of the bottom frame.
    Mess With The Best, Die Like The Rest...

  3. #3
    Junior Member
    Join Date
    Sep 2003
    Location
    Belgium
    Posts
    26
    no it still doesnt work, it keeps on opening a new window without getting the new frame.
    My start page is index.html and the bottom frame is named "frame_du_dessous_MAISONS.htm"
    here is my actionscript:
    on (release) {
    getURL("index.htm", "_bottom_frame_du_dessous_MAISONS.htm");
    }

  4. #4
    Junior Member
    Join Date
    Sep 2003
    Location
    Belgium
    Posts
    26
    sorry this is my script

    on (release) {
    getURL("index.htm", "frame_du_dessous_MAISONS.HTML");
    }

    maybe it is because of the dropdown menu???

  5. #5
    Can i play now????
    Join Date
    Jun 2003
    Location
    Greece
    Posts
    309
    I think you didn`t understood exactly.
    Replace bottom with the name of the frame. Not the name of the page that loades at the bottom frame.
    For example
    Code:
    <HTML>
    
    <HEAD>
    
    <TITLE></TITLE>
    
    
    
    <META http-equiv=Content-Type content="text/html; charset=iso-8859-7">
    
    <META content="MSHTML 6.00.2713.1100" name=GENERATOR>
    
    </HEAD>
    <FRAMESET 
    
    border=false frameSpacing=0 frameBorder=0 cols=200,74%>
    
      <FRAME name=contents 
    
    marginWidth=0 marginHeight=0 src="left.htm" noResize 
    
    target="left" scrolling="no">
    
      <FRAME name=main1 marginWidth=0 marginHeight=0 
    
    src="right.HTM" 
    
    target="_self">
    
      <NOFRAMES> 
    
      <body topmargin="0" leftmargin="0">
    
      <p>
    
        <!--webbot bot="PurpleText" PREVIEW="The frameset on this page can be edited with the FrontPage Frames Wizard; use the Open or Open With option from the FrontPage Explorer's edit menu. This page must be saved to a web before you can edit it with the Frames Wizard. Browsers that don't support frames will display the contents of this page, without these instructions. Use the Frames Wizard to specify an alternate page for browsers without frames." S-Viewable=" " -->
    
      </p>
    
      <p>This web page uses frames, but your browser doesn't support them.</p>
    
      </body>
    
      </NOFRAMES></FRAMESET>
    
    </HTML>
    This code creates two frames. One with the name contents (the left one)and one with the name "main1". If i want to load something from the left frame to the rigth then i use this:
    code:

    getURL("index.html", "main1")

    Mess With The Best, Die Like The Rest...

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