• 0

Flash question


Question

This may seem easy to some of you, however, i was having a difficult time doing it today.

I made a navigation in Flash. WHat i want to do is make a webpage with frames. I want the navigation system to be up "top" in the Top frame, and all the contents of the page in html in the "bottom" frame.

So, my quesation is, how do i code the link buttons in flash to just open the content frame, without refreshing the navigation "top" frame. So the navigation has sub menus, About Us Sub: mission, employees, etc..

When the user licks employees, i want the "bottom" frame to just open the "mission" page without refreshing the flash navigation so the user has to click on about us to get the drop down again.

Anyone?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

You build another html page with the content and tell flash [On release; open blank "content.html" [stop}; or something like that, I hope I am understanding your question.

when someone clicks on the "content" button in flash you want the content to be shown in html? Because if that is the case, that is how you do it. There is a tutorial on flashkit.com and actionscript.org that shows you how to do that.

Link to comment
Share on other sites

  • 0

Here's what ya do:

You need 2 essential pages for the frame. First, is the menu page, next is the page that will hold your frameset. It would contain some HTML like this :

<frameset  rows="50%,*">
    <frame name="Menu" src="menu.html">
    <frame name="Contents" src="contents.html">
</frameset>

The frame names are what you control the targets of the button links in flash(and HTML for that matter) by.

on (release) {
    getURL("newpage.html", "Contents");
}

This actionscript would direct the URL to the bottom frame as the target. That way the top never gets refreshed and only the bottom frame changes.

Hope this helps!

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.