Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Hide html layer from flash .swf

Posted on 2006-11-18
2
Medium Priority
?
283 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
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…

885 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