Solved

Hide html layer from flash .swf

Posted on 2006-11-18
2
269 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
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…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

920 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

14 Experts available now in Live!

Get 1:1 Help Now