Solved

Get URL to other HTML frame

Posted on 2000-05-16
2
157 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

809 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