473,738 Members | 10,068 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 5330
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
2816
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
14445
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
4446
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
6401
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
2288
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
16317
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
1583
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
8788
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9335
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9208
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8210
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...
0
6053
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
4825
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3279
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2745
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.