Solved

Get URL to other HTML frame

Posted on 2000-05-16
2
158 Views
Last Modified: 2010-04-03
I have a flash movie with some buttons. I want that these button will have  "Get URL" in their "Action", but i want that the URL's in other html frame diferent to html frame parent of the movie.
0
Comment
Question by:G2MD
2 Comments
 

Accepted Solution

by:
geturbanized earned 100 total points
ID: 2815421
Double-click on the button you want to edit, and click on the Actions tab at the top of the window. Then click the + sign to bring up the actions menu, and select Get URL from the list. In the boxes to the right, first enter the URL you would like to load in the top box labeled "URL". Then in the box labeled "window" type in the name of the frame (assuming that you named your frames) you would like the referenced page to load into.

If you haven't named your frames or don't know how, just look at the html and make sure on your frame tags that you see the following:

<frame name="enter_any_name_you_want_here" src="first_url_goes_here.html">

That should do it.
0
 
LVL 7

Expert Comment

by:ssdesign
ID: 2815942
here's what you do.

Say you have two movies in two frames left and right. This code will allow you to control a flash movie in other frame by clicking on the buttons in one frame.

1. in the flash movie on the left, you need to add actions to the buttons that are to control the movie on the right. the actions are:

GetURL "javascript:controlFlash(frame number)"

save, and export the movie.

2. in the HTML page for left.html, add this code right after the </title> tag:

<script language="JavaScript">
<!--
function controlFlash(theFrame){
parent.frames.right.right.GoToFrame(theFrame);
}

</script>

3. in this same left.html page, add this tag to the EMBED tag. it goes after the last part "P1_Prod_Version=ShockwaveFlash" and before the closing "></EMBED>":

swLiveConnect="true"

save this file and close it.

4. in the HTML for right.html, add this to the EMBED tag, right after this part "<EMBED src="right.swf"" -

name=right

5. save all the documents and
test in browser.

this should work on most browsers, with the exception of macintosh internet explorer 4.5 and below, which has limited implementation of javascript.

let me know if this works for you.
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.

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…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

840 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