• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

Associating buttons to URL's

When you are associating URL's to buttons actions (through "get URL" in actions)you get a web including several frames (in Dreamweaver that is called "frame set"). How can I change a frame content if I want to show a specific HTML instead of default's frame?
Thank you in advance for your assistance.
0
G2MD
Asked:
G2MD
1 Solution
 
SuperMarioCommented:
Do you mean, show the flash movie in a different frame than the one it normally goes to?

Set a name for the frame you're targeting in DreamWeaver. Then in Flash, where it says Target in the Get URL action, fill in that same name and the URL will appear in that frame.

Like, if you have a frameset of a left frame called "left" and a main frame called "main" and you want to load the new page in to the left frame, fill in the URL in the normal field and in the Target field fill in "left."

I hope this helps,
Dan
0
 
ssdesignCommented:
Do you mean to say that originally you have the movie nested in one of the frames and when you click on a botton you can not move out of the frames and the subsequent pages load in that perticular frame?

If that is so then there is a javascript action which will let you braeak away from frames and the subsequent pages will not open in default frame but they will remove all frames and open individually.

The script is to be put in the html page you want to break free. The script is
So here it is, the script that sets you free:

<META HTTP-EQUIV="Window-target" CONTENT="_top">
<BASE TARGET="_top">
<SCRIPT TYPE="text/javascript" LANGUAGE=JAVASCRIPT>
<!--
if (top.frames.length!=0)
top.location=self.document.location;
// -->
</SCRIPT>


0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now