Solved

Get URL to other HTML frame

Posted on 2000-05-16
2
162 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
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.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

752 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