473,698 Members | 2,576 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to SHOW/HIDE a dreamweaver layer from a flash button?

1 New Member
I have almost 2 weeks tying to find a solution for this. Please help

-How can you SHOW/HIDE an thml-dreamweaver layer from a flash movie button.

My html layer name is LAYER1, and my FlashMC botton name is FLBOT1

Now, what is the actionscript that im suppouse to place in the flash button?

Please respond, Thanks

Amilcar
Dec 12 '06 #1
3 5327
jdesigngroup
1 New Member
I have almost 2 weeks tying to find a solution for this. Please help

-How can you SHOW/HIDE an thml-dreamweaver layer from a flash movie button.

My html layer name is LAYER1, and my FlashMC botton name is FLBOT1

Now, what is the actionscript that im suppouse to place in the flash button?

Please respond, Thanks

Amilcar
Sorry Amilcar I can't help because I am having the same problem...Pleas e let me know if you get an answer... jdesigngroup@op tonline.net Thanks and good luck to both of us
Jun 29 '07 #2
bird1973
1 New Member
Same problem here.
You know the answer?
Send a message to bird@hetnet.nl
Aug 24 '07 #3
xNephilimx
213 Recognized Expert New Member
It's easy. I really don't know why you want to do that.
Anuway... You need to create a javascript function first to do the hiding, something like:

Expand|Select|Wrap|Line Numbers
  1. function hideLayer(id) {
  2.     var layer = document.getElementById(id);
  3.     layer.style.display = 'none';
  4. }
  5.  
Then, from actionscrpit the best alternative to do that is by using the ExternalInterfa ce (available since flash 8), like this:

Expand|Select|Wrap|Line Numbers
  1. function hideLayer(id) {
  2.     flash.external.ExternalInterface.call("hideLayer",id);
  3. }
  4. flbot1.onRelease = funtion() {
  5.     hideLayer("Layer1");
  6. }
  7.  
Am assuming that what you call "name" for the div is really it's id, since that's the most sensible.

For a more complete reference to the ExternalInterfa ce go here:
http://www.thescripts.com/forum/thread694359.html

Kind regards,
The_Nephilim

I have almost 2 weeks tying to find a solution for this. Please help

-How can you SHOW/HIDE an thml-dreamweaver layer from a flash movie button.

My html layer name is LAYER1, and my FlashMC botton name is FLBOT1

Now, what is the actionscript that im suppouse to place in the flash button?

Please respond, Thanks

Amilcar
Aug 25 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

11
2810
by: jm | last post by:
Somebody on here recommended Dreamweaver with PHP. I am coming from (still using really) ASP and ASP.NET. PHP is more like ASP and not a whole lot like .net, but I wanted to know how Dreamweaver will help me with PHP. Is it easier to make a website "prettier" with Dreamweaver? Just need guidance on why to use Dreamweaver with PHP. I am using HTML kit or notepad and, of course, Google. Usually use the languages and objects for hitting...
3
14441
by: Ryh | last post by:
I have the following scritpt. It hides div layer when mouse is out of the div layer. Inside DIV I have IFRAME box. Unfortuantely it does not work in Mozilla or IE 5.5. It hides div when cursor is inside IFRAME. NOte that IFRAME is inside DIV so it should not hide DIV. It Works fine in IE6.0. Could any one help? Example:
0
4444
by: Zorba.GR | last post by:
Macromedia Dreamweaver MX 2004 v7.0.1 Incl Keymaker, and Addons, other Workhouseboys Design The Transmitter Buttons v1.0 for Dreamweaver MX WebAssist WA eCommerce Suite v2.01 RETAIL for Macromedia DreamWeaver MX WebAssist eCart v2.01 RETAIL for Macromedia DreamWeaver MX Apress Dreamweaver Developers Instant Troubleshooter eBook
3
6396
by: Merlin | last post by:
Hi there, I am trying to create a form with an dynamic field that can be shown or hidden. As I saw for example on google it is possible with JS to show a layer and move the content underneath that layer further down uppon showing this layer. When a person closes that layer the content underneath the layer moves up again and closes the empty space. How is this possible? I am playing around with some code I am posting with this thread....
3
2281
by: Jim | last post by:
How can I use Javascript to show a layer named "callout" after the page has been delayed for 5 seconds? Using the onLoad behavior to execute a "Call Javascript" action. What is the correct syntax? HELP!
6
16314
elamberdor
by: elamberdor | last post by:
Hi All! Trying to get a drop down hide/show div on a html page triggered by a button in flash. (Intro: Very very Little experience in dynamic flash) setup: html page, flash map on page, button on flash opens info underneath map in a separate div. div that has hide/show content is called "operator" I found this code, but i'm not sure it's what I need, and it's not working... Flash file>button on stage>script:
1
1580
by: jleong | last post by:
i try to hide/show the div when the user click on the flash button. But no luck. Can some1 please show me the bright way? <removed>
0
8680
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9169
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7738
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2335
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.