Solved

Get URL to other HTML frame

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
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…
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 the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

759 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now