Welcome to TalkGraphics.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2000
    Location
    Coventry, England
    Posts
    40

    Default

    Hi All,

    How do I use flash in html frames ?

    My flash movie is the top navigation and I need it
    to get the html pages in the main frame of my html page.

    What actions do I use


    Thanks

    Steve

    Nice to see U to see U nice
    Nice to see U to see U nice
    IP

  2. #2
    Join Date
    Aug 2000
    Location
    Toronto, Ontario, Canada
    Posts
    432

    Default

    just insert your flash movie as you normally would in the html page that will appear in the top frame - then make sure that any getURL actions you have target the name of the other frame. when you set up your frameset, you will define the names of your frames - just make sure that whatever name you give to your second frame is what you use as your target for your getURL commands or whatever.


    hth,
    Deep (just a guy)

    <pre><font face="courier" size="2">,-----------------------------.

    | Pradeep Kumar Nair, B.Math |

    | Graphic/Multimedia Designer |

    | ICQ#: 39102360 |

    | Medius Communications, Inc. |

    | http://www.medius.com |

    `-----------------------------'</font></pre>
    Moderator - i/us Flash Forum
    hth,
    Deep (just a guy)
    --
    Pradeep Kumar Nair, B.Math
    CTO
    9 Story Entertainment
    http://www.9story.com
    IP

  3. #3
    Join Date
    Aug 2000
    Location
    Coventry, England
    Posts
    40

    Default

    Hi again !

    I understand how it works but I dont know how to target the html page with in the actions of my buttons.

    for eg

    on (release) {
    getURL ("my url", "target\"main.html");
    }

    I know this is wrong but its just a eg of the combo´s I have tried.

    Thanks

    Steve

    Nice to see U to see U nice
    Nice to see U to see U nice
    IP

  4. #4
    Join Date
    Aug 2000
    Location
    Toronto, Ontario, Canada
    Posts
    432

    Default

    don't target the html file. just target the frame name.
    in your frameset file you'll have something that looks like:

    >frame name="newframe" src="blah.html"...etc...<

    just make sure that your target is to the same thing that you put in as the name parameter. kinda like:

    getURL ("blah-2.htm", "newframe");

    see what i mean?


    hth,
    Deep (just a guy)

    <pre><font face="courier" size="2">,-----------------------------.

    | Pradeep Kumar Nair, B.Math |

    | Graphic/Multimedia Designer |

    | ICQ#: 39102360 |

    | Medius Communications, Inc. |

    | http://www.medius.com |

    `-----------------------------'</font></pre>
    Moderator - i/us Flash Forum
    hth,
    Deep (just a guy)
    --
    Pradeep Kumar Nair, B.Math
    CTO
    9 Story Entertainment
    http://www.9story.com
    IP

  5. #5
    Join Date
    Aug 2000
    Location
    Coventry, England
    Posts
    40

    Default

    Hi Deep,

    I have got that to work but I need other html pages to load in to that that targeted frame.

    All my navigation buttons are all targeted for eg "newframe" so How do I get for eg blah-3.htm to play in "newframe" I have tried just changing the url but it does not work.

    Thanks again for your help !

    Steve

    Nice to see U to see U nice
    Nice to see U to see U nice
    IP

  6. #6
    Join Date
    Aug 2000
    Location
    Toronto, Ontario, Canada
    Posts
    432

    Default

    it should just be

    getURL("myfile.htm", "mytargetframe");

    where myfile.htm is the file that you want to display, and mytargetframe is the frame in which you want it displayed. what is the action you're using right now?


    hth,
    Deep (just a guy)

    <pre><font face="courier" size="2">,-----------------------------.

    | Pradeep Kumar Nair, B.Math |

    | Graphic/Multimedia Designer |

    | ICQ#: 39102360 |

    | Medius Communications, Inc. |

    | http://www.medius.com |

    `-----------------------------'</font></pre>
    Moderator - i/us Flash Forum
    hth,
    Deep (just a guy)
    --
    Pradeep Kumar Nair, B.Math
    CTO
    9 Story Entertainment
    http://www.9story.com
    IP

  7. #7
    Join Date
    Aug 2000
    Location
    Coventry, England
    Posts
    40

    Default

    Hi Deep,

    The actions i am using are ;

    on (release) {
    getURL ("page1.htm", "mainFrame");
    }

    on (release) {
    getURL ("page2.htm", "mainFrame");
    }

    etc,etc......

    Thanks again.

    Steve

    Nice to see U to see U nice
    Nice to see U to see U nice
    IP

  8. #8
    Join Date
    Aug 2000
    Location
    Coventry, England
    Posts
    40

    Default

    Ive cracked it !

    The swf was in another folder so it could not find the path duhhhhhhhhh !

    Thanks for your help !!!!!!!

    Steve

    Nice to see U to see U nice
    Nice to see U to see U nice
    IP

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •