• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 287
  • Last Modified:

Hide html layer from flash .swf

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
rguzik
Asked:
rguzik
1 Solution
 
ch2Commented:
It can be done calling a javascript from Flash.

Here is a tutorial:

http://www.bestflashanimationsite.com/tutorials/1/
0
 
rguzikAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now