Solved

Hide html layer from flash .swf

Posted on 2006-11-18
2
266 Views
Last Modified: 2013-12-16
I have an html web page, designed in Dreamweaver 8 on a Windows XP computer. The html page has a link to show a layer ("flashLayer1") and load a flash preloader ("../flash/ministries/pastorSermons/20061105/20061105mrp3.swf). The preloader in turn initiates a flash .swf ("../flash/ministries/pastorSermons/20061105/20061105mr3.swf) that contains audio. The flash modules were developed with Flash Professional 8.

Is it possible for the second .swf ("../flash/ministries/pastorSermons/20061105/20061105mrp3.swf") to hide the html layer when a button is clicked? I have found other questions similar to this but have either not been able to make the accepted solution work or didn't understand the solution.

Your help would be much appreciated.
0
Comment
Question by:rguzik
2 Comments
 
LVL 11

Accepted Solution

by:
ch2 earned 500 total points
ID: 17973596
It can be done calling a javascript from Flash.

Here is a tutorial:

http://www.bestflashanimationsite.com/tutorials/1/
0
 

Author Comment

by:rguzik
ID: 17973689
That was much too easy!  I already had a javascript function in my html that hid the layers so all I had to do was use the getURL in flash to execute it :-)  All the other explanations I found seemed very involved or didn't work... so a big thanks to you!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

758 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

22 Experts available now in Live!

Get 1:1 Help Now