Solved

Associating buttons to URL's

Posted on 2000-04-09
2
201 Views
Last Modified: 2010-04-03
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
Comment
Question by:G2MD
2 Comments
 
LVL 3

Expert Comment

by:SuperMario
ID: 2698899
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
 
LVL 7

Accepted Solution

by:
ssdesign earned 100 total points
ID: 2741565
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question