[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now


Javascript & Flash

Posted on 2001-06-20
Medium Priority
Last Modified: 2013-11-19
Hi to all flashers out there!

My Q:

I would like to interact with a flashmovie by using javascript. My
Problem: I have serveral movies-clips in a flash-file which are
invisible. by clicking on a normal button in a normal html page in a
frame, a movie-clip in the flash, which is not in the same frame as the
button, should become visible.

Is there anyone who has a idea how to manage this?

thank you very much

Question by:sucram
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

Accepted Solution

shekarkr earned 800 total points
ID: 6209949

You'll find a tut on doing this at this link:

Hope this helps...


Expert Comment

ID: 6212982
Suppose you have a page with left and right frame. Left has buttons and right has Flash movie.

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

<a href="javascript:controlFlash(20)">


<a href="javascript:controlFlash(40)">

This is supposing that on clik of these two buttons you want to move to frame 20 and frame 40 of your flash movie respectively. Change this code to your requirement.

save the page.
Call it "left.html"

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

<script language="JavaScript">
function controlFlash(theFrame){


4. in the HTML for right.html (the one with flash movie), add this to the EMBED tag, right after this part "<EMBED src="right.swf"" -


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.


Expert Comment

ID: 6214388
This is one of the many implementations that is covered in the tutorial. Check it out and lemme know...

Best Rgds,

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

650 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