Solved

Get URL to other HTML frame

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
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…
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): …
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

623 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