HTML Layer Over Flash Movie?
Hello,
I am hoping to find out more about how to appropriately get an HTML layer to sit over a Flash movie. I should state the reasoning behind wanting this: I need the site's text to be copy-and-paste-able. I have attempted to simply throw a layer of text over the Flash movie, but it seems that Flash prefers to somehow override it most of the time. My test site is: http://www.explorecore.com/pacific_seasonings/test.html My way of doing it seems to display inconsistently - sometimes it shows, sometimes it doesn't.
Any help or other ideas?
Thanks!
FlashKit > Flash Help > Flash General Help
Posted on: 07-14-2005, 12:53 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Can I Layer Flash Movie Within HTML File?
hey all,
I'm a newbie to the whole flash thing. Trying to teach myself as much as possible to start using it on many of my websites. One seemingly stupid question i have is about layering a flash file within an html page. How can i embed the flash movie into the page and have some javascript effects appear to float above the flash movie? In other words, does flash use something similar to a z-index in DHTML? Any help would be greatly appreciated.
Can You Place HTML Text In A Layer ABOVE A Flash Movie?
I've got a small table populated with information from a database that I'm trying to deploy as a table above a flash movie.
Here's the DIV ID for this:
<div id="Layer2" style="position: absolute; z-index: -150; visibility: show; top: 100; left: 480; width=100">
However, no matter what I do the table keeps displaying BEHIND the flash images.
Any tutorial you can suggest on this? It seems like it should be an easy thing to do.
Thanks in advance for any suggestions.
Putting Flash Movie As The Bottom Layer In Html
hi,
i have a problem when putting flash movie, because my drop-down menu goes behind the flash movie. is there a way where the flash movie can goes to the bottom layer so that my drop-down menu can won't be ostructed.
thanks a million!
Lawrence How
Can You Place HTML Text In A Layer ABOVE A Flash Movie?
I've got a small table populated with information from a database that I'm trying to deploy as a table above a flash movie.
Here's the DIV ID for this:
However, no matter what I do the table keeps displaying BEHIND the flash images. The table is in a layer set an visability at 1 while the flash is set at 0.
And if you information for both mac and pc platforms even better.
Any tutorial you can suggest on this? It seems like it should be an easy thing to do.
Thanks in advance for any suggestions.
Unloading Main Movie For Html Layer
I have a "splash" ad on an html page. This is an like on lycos and mp3.com that displays on top of the html page.
Here's my question: For safety's sake if the browser doesn't not support transparent background, I need to unload the whole movie from the html layer, that puts it on top of the page. If I don't make the whole swf on that html layer go bye-bye(invisible) they'll be left with a white backgound color on their screen.
So how do I unload a whole movie, instead of having an empty keyframe at the end?
HTML Layer Over Flash?
Is this possible? Whenever I do it the flash covers it.
Any help is greatly appreciated!
/z
Flash With HTML Layer.
Dear,
i am designing my home page, now i face a problem. what im tring to do is i have an ad banner(size is width 30 and height=30), when user click on this small ad, then that is a big ads displayed in the centra of screen, but not popup window, how to do that?
if i use layer for this, then behind the flash animation i cant click any buttons, hyperlinks or others elemnt, bcos block by the layers of flas even i set the flash movie to transparent....
how???
Problem Flash With Html Layer
Hi! Please go to www.isladigital.com/about.html and click the bouse button over the flash component, as you can see now the flash overlaps the layer on the html.... i donīt now what to do, where is the error...Can you help me please? i can provide flash and html if its nessesary, thanks!
HTML Layer Control From Flash?
anyone know if it is possible to show an html layer from a flash movie. And if so, would you be so kind as to post some example code.
i would like to either load an html page into a blank layer, or if thats not possible, show a pre-determined layer and hide it on exit of the specific point on the movie time line.
Thanks a ton.
Flash File On Top Of Html, Using Layer
i'm need some sample fla like this... i know how make Flash Movies Transparent. but i when the flash movie ... when close it gone...
http://www.mix.fm/home/default_iblaster.asp
sample
thanks
Flash Navigation In HTML Layer
Hey Folks,
I'm working on a website and the client wants a Flash navigation but the rest of the site to be in HTML. Not a problem. Client wants the menu to have sub (and possibly sub-sub) menus to go over top the HTML text. I read Kirupa's tutorial and read Macromedia's Flash docs on creating a transparent background and putting it in a layer over top the HTML. I have done all this no problem. The problem arises when I try to place the menu layer where I want it in Dreamweaver and preview the site. The layer stays put when I resize the browser window and does not move with the rest of the page. I found that if I remove the layer's T and L values completely the layer moves with the browser window but leaves me guessing as to what its position will be while working in Dreamweaver. Is there a way to tell the layer to stay where I have it in my Dreamweaver layout? Thanks in advance for any advice.
--picoder
HTML Layer Control From Flash?
anyone know if it is possible to show an html layer from a flash movie. And if so, would you be so kind as to post some example code.
i would like to either load an html page into a blank layer, or if thats not possible, show a pre-determined layer and hide it on exit of the specific point on the movie time line.
Thanks a ton.
Flash File On Top Of Html, Using Layer
i'm need some sample fla like this... i know how make Flash Movies Transparent. but i when the flash movie ... when close it gone...
http://www.mix.fm/home/default_iblaster.asp
sample
thanks
Html Layer On Top Of Flash Content
I am attempting to place a html div on top of flash content. I'm showing an absolutely positioned div by simply setting display='block' from a button in the flash movie. The layer shows fine in all browsers except firefox. I have tried setting wmode to transparent, and z-index to a high number with no effect. For some reason, flash content is always on top with firefox. This is one occasion where IE is working exactly how I want right out of the box. Any help, pointers, info would be greatly appreciated.
Andrew
Can Flash Tell The Html To Show A Layer?
hi i need my flash movie to tell the html which holds it, to show a layer, or load another html in to an iFrame in the current page.
pls supoport this im really stuck on this =(
TY!
faby
Flash To Html Layer Control
Is it possible to control html layers or such things similar through actionscript. I want to call html layers (text for the most part) from my flash menu. I dont know if its even possible. Maybe through the getUrl command? Please, if you have any idea HELP?
Thanx
Desperate Close Flash Html Layer
I have a flash movie as a top html layer. I want it to close after playing. When i use the code below, it not only closes the flash pop up layer, but the html below.
getURL("javascript: window.opener=self; window.close();");
What can i do to just close the flash layer and not the actual page behind.
Thanks
Loading A Quicktime Into An Html Layer From Flash
i want to load a qucktime movie over flash. Since I cannot do this on a flash level, I was hoping i could do it into an Html Layer over the flash...
does anyone know how to target an html layer from flash in order to load a quicktime in it?
Flash Button To Show Html Layer
I have embedded a Flash menu into an html doc with a hidden layer called player. I want a button in the Flash menu to show that layer. I used the instructions on this website:
http://www.bestflashanimationsite.com/tutorials/1/2/
But it doesn't work. I made a link on the html page that shows the layer, so the Dreamweaver MM_showHideLayers function is there in the html head. I tried this in the button actionscript:
on(press) {
getURL("javascript:MM_showHideLayers('player','','show')");
}
I also tried writing a custom function in the html which does work from a button in the html:
function showPlayer() {
MM_showHideLayers('player','','show')
}
and then putting this in the Flash button:
on(press) {
getURL("javascript:showPlayer()");
}
Which does not work. (following are the Dreamweaver functions)
Please help!!!!!
Attach Code
<script language="JavaScript" type="text/javascript">
<!--
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length)
{
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_showHideLayers() { //v9.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3)
with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
}
function showPlayer() {
MM_showHideLayers('player','','show')
}
//-->
</script>
DHTML Flash Layer Over HTML Browser Check?
Okay, I'm trying to put a flash animation in a DHTML layer over a normal HTML site I'm building for my girlfriend. http://www.BunBunsBigWords.com.
Problem is it doesn't work in some browsers. The flash movie isn't transparent and covers half of the site...
I pulled apart weather.com, which uses one of these floating flash DHTML layers. It seems that they use a javascript to detect for different browsers and then hide or show the DHTML flash layer depending on the results of the browser check.
I tried to modify it for my site, but I don't know enough Java Script, and couldn't get it to work. Does anyone know of a script that I can easily modify to do this?
[F8] Flash Advertisement Layer Cross HTML Table
Hi guy,
I read some Flash made advertisement can across the HTML table as Yahoo, it's look like a HTML layer.
The advertisement have a process such as a big preview with layer on the Yahoo Front Screen, after few action message then reduce to the advertisement's original section and preview last few shot action something...
How to make it, buy AJAX or Javascript or any item relate to actionscript
Thank
New To Flash - Inserting A Navigation Onto A Html Hidden Layer
Apologies if I use the wrong terminology - I'm used to html/css coding, and haven't ventured into Flash yet, but a client has requested a very specific navigation system and I think Flash is the only way to achieve it.
It's a fairly straightforward html/css site and the client wants to have a semi-transparent navigation overlay on the page (hidden layer) accessible by clicking on the company logo. The overlay will be an image of a globe with text links at different angles - hence the need for Flash rather than html. The text should have mouseover behaviours and link to other pages within the site.
So, since I'm a solid gold newbie, is there a step-by-step tutorial on achieving this? I think that it's a relatively straightforward process, just one that I don't know!
Thanks for your patience.
Loading Php Pages In A Html Layer Trough A Flash Menu?
I would greatly appreciate some help on this.
I'm a real newbie if it comes to actionscript, and this is probably quite simple. Ok on to the problem:
This is what I have:
A site that is divided with 2 frames (html)
A flash menu with some buttons in frame 1
A Div layer in frame 2
This is what I want:
I want the flash menu to load PHP pages, (for example: members.php) into the DIV layer in frame 2.
Here is a shot of what I mean:
http://www.clawhammer.nl/div.jpg
Thanks alot for your help!
Flash Button Hide/show A DIV-Layer On A Html Page?
Hi All!
Trying to get a drop down hide/show div on a html page triggered by a button in flash.
so by default that div is hidden on html and when u click on flash button,it will show a hide button inside div tag
(Intro: Very very Little experience in dynamic flash)
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:
Code: ( actionscript )
on (release) {
import flash.external.ExternalInterface;
ExternalInterface.call("hideDiv", "operator");
}
And the code in the html file:
Code: ( javascript )
<html>
<head>
<title>page title</title>
<script type="text/javascript">
function hideDiv(id)
{
document.getElementById(id).style.display = 'none';
}
</script>
</head>
<body>
<div id="operator">
<input type = button value = button>
</div>
</body>
</html>
Does anyone have a better (working) way of getting a flash button to talk to the html page to *togggle* a hidden div?
Any ideas would be muchly appreciated!
Thankyou so much in advance!
Linking From Flash Menu Link To Ext. HTML Page Inside A DIV LAYER
I have a page that combines Flash and HTML in Dreamweaver 8. I have my links menu generated in Flash MX 2004. My desire is to have a link (when clicked from the Flash swf menu file) bring in a new html page into an existing LAYER of the same Dreamweaver document. Is this possible? My idea is to not have to reload all the other elements of the page, just the items on the one layer with new content. I know how to do this if the page were all Flash, but this is for an html page using the LAYER div tag.
Thanks for your help
Craig
Flash In Layer And Flash In Html Document
Hi,
I have a flash which is put in a layer(flashfile1), and have another flash to be put in the html file(flashfile2), flashfile2 is lower than flashfile1, when flashfile1 is displayed, flashfile2 would be on top of it (in Netscape, IE is ok), any solution? I want flashfile1 to be always on the top.
Thanks
Control Audio In Layer 0 From Movie In Layer 2
I have a sound (mySound) playing from a movie in layer0 (default movie). this movie has loaded another movie into layer 2 using loadmovienum.
I want to stop the sound from playing while in the layer 2 movie. I have tried using _layer and _root but I can't reference the sound.
Can someone tell me how to reference the sound and either stop it or set the volume to 0 from within layer 2 if the sound object is in layer 0?
thanks in advance
Layer On Top Of Flash Movie?
is it possible to use css/javascript layers on show/hide a layer on top of a flash movie? i have a flash movie embedded in an iframe window and i want to overlay a menu on top of it from the main content page. thanks!
Flash Movie In A Div Layer With Alpha... How?
I'm trying to make a flashmovie on a layer in HTML (or DHTML), but I want some elements under that layer to remain visible... So I need the background in flash to have an alpha color (full invisible or partialy invisible)... How can I achieve this?
<div> Layer With Opaciity Over A Flash Movie
Here's a real weird behavior..
I'm trying to position a semi-transparent layer over my Flash movie. All worked fine on IE/Firefox for Windows, and Safari on Mac. But when it comes to Mozilla/Firefox on Mac, the Flash movie disappears!
On further investigation, found that the Flash layer's opacity will be set to 0 (as in, its there but you can't see it) so long as any non-opaque layer is above and over it.
Means that for the Flash movie to disappear,
- Dummy layer's opacity < 1 (opaque)
- Dummy layer is above and over the Flash movie
Anyone encountered this before, and have workarounds?
I've already tried inserting another opaque layer in between with a transparent GIF, but its still the same.
Buttons Not Working In Flash Movie Within A DIV Layer
So I made a very simple flash movie with transparent background. I put this on a transparent layer with CSS style to position (relative) the object.
There are two buttons in the flash movie, one uses on (release){getURL()} to link to another page and the other button is just a text with a URL.
Both won't work, they are not clickable and there is no way to make them work.
Any suggestions or workaround about this?
Thanks.
Flash Movie Clip And 'layer' (ActionScript)
Hi,
I'm very new to flash, so forgive if the terms are not right.
I have my main stage, that is one frame(This is going to be a website)
Now I put two movie clips on the stage, and all is good(They are two balls bouncing, just for testing.)
However, one ball is in front of the other. Sometimes they cross paths, and the blue ball is in front of the red ball. Thats fine, but sometimes I want the red ball in front. How can I adress this with ActionScript? (I have a fair understanding, I can make the movie clips blink in and out, move them, play them frame by frame, ets, just can't change the dominance.)
Basically, I want to controll the flash equivilent of css z-index using ActionScript 2.0. Any pointers?
Thanks,
CJB
Flash Movie Doesnt Play Until Layer Is Visible
I have a Flash movie that is supposed to send a variable to javascript and the javascript is supposed to make the layer visible since it is initially invisible.
The way it is supposed to work is that the movie is supposed to preload everything and when it is done, it will signal javascript to make it's layer visible. It's pretty simple. It sends "Open" to javascript when it is done loading. It works fine in Netscape which is what I figured I would have the problem with. But I figured out the problem with IE is that the movie doesnt even start playing until it's layer is visible. In Netscape, the movie does play when the layer is invisible. If I click on the javascript link that makes the movie visible, you can see it starting out at the beginning. But then if I click the javascript link (on web page not Flash) to "hide" the layer, when the movie is loaded, it sends "Open" to the javascript like it was supposed to do. How do I get the movie to play in IE when the layer is hidden??
Below is my javascript code which is all the standard way of doing it:
<SCRIPT LANGUAGE=JavaScript>
<!--
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function myFlash_DoFSCommand(command, args){
var myFlashObj = InternetExplorer ? myFlash : document.myFlash;
if (args =="Open"){
showlayer()
}
}
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 &&
navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
document.write('<SCRIPT LANGUAGE=VBScript>
');
document.write('on error resume next
');
document.write('Sub myFlash_FSCommand(ByVal command, ByVal args)
');
document.write(' call myFlash_DoFSCommand(command, args)
');
document.write('end sub
');
document.write('</SCRIPT>
');
}
//-->
</SCRIPT>
This part is the customized part that I did:
if (args =="Open"){
showlayer()
}
This calls a javascript function that sets the visibility of the layer to "visible"
I know this function works because I tested it out with the javascript link like I talked about before. And it has been tested and it succeeded within Flash as well but as I said before, IE doesnt play the movie unless the layer is visible. So I am positive it is an HTML/IE/Layer thing and has nothing to do with Flash. Does anyone have any ideas? Thanks
Layer Problem Between Javascript Menu And Flash Movie
Hi guys.
Anyone can help me about this.
I'm using the " mm_menu 20MAR2002 Version 6.0
Copyright (c) 2000-2002 Macromedia, Inc." it' a layer based javascript drop menu. Problem is that when i embed an swf movie on the site, this swf goes on layer on the top and covers the menu. Ther's no way with z-index style ...I tried... how can I do to make it go on a lower layer? Problem is the same on IE Opera and Netscape.
Is there any solution for it?
Thanks you all
Jax
Flash Help - Mask Layer Not Working When Movie Is Exported
hey, i created a movie which works fine when played in Flash MX under Control-Play. But when i click test movie, or export it, it plays all apart from a masked layer in the middle (showing a spotlight movie).
If anyone wants to help, or has any idea what is wrong please reply or let me know your email and ill send the .fla file.
Controlling "Show/Hide Layer" HTML Commands , Via Flash ?
First off , ello everybody /
Righty , half way through doing a site thats mainly done in HTML , but utilises a flash navigation & mp3 player built in flash.
I dont belive in frames so they havent been used , now the problem is when changing HTML pages (via flash navigation) the Mp3 player is reseting itself (cant belive i didnt see it coming). but since the site is small , im hoping i can get the navigation to use the "Show / Hide layer" function to browse through each of the sites pages without visiting a new HTML page in thr browser.... So the player doesnt reset.
Any ideas ?
Ta
Do Flash Movies Always Require The Top "layer" On HTML Pages?
I am working on creating a Flash file that will go on a page similar to:
http://www.kochind.com/about/default.asp
The Flash file will be in the main white area, just under the orange menu bar (with the drop down menus). However, the Flash file always takes the top layer, thus forcing the dropdowns in the background. Is there a way to fix this problem?
Thanks.
Michelle
Exit/Quit Button For A Transparent Flash Movie Inside A Layer
HI all,
I've created an advertisment, a flash movie which pops up with a transparent background and its placed inside a layer. i need the code to exit/quit the movie.swf
i've placed an exit button but nuthin works closing the just the .swf file........fscommand works for exe and the javascript.close (getURL("java script:self.close();"); ) codes gives a window pop "the webpage you are veiwing is trying to close the window, do you want to close the window?"
i need a code which i can attach to the exit/quite button which wud jus exit/quite the flash.swf n not the browser window
Thankx in advance
H
imhobier@yahoo.com
OT - Html Layer
hi,
I set up a site where my menu is in Flash and is on an HTML layer so the drop downs will appear over the HTML. The code I am using for the layer is:
div id="Layer1" style="position:absolute; visibility:inherit; width:578px; height:188px; z-index:1; left: 214px; top: 39px;
The position of the layer is "absolute", so if the user has a reduced screen size the menu doesn't line up with the rest of the HTML document. How can I make the HTML layer stay in place despite the sive of the user's screen?
Thanks,
pjustice
Flash Over Html, Hide Flash Access Html After Flash Movie Ends
We've got a green screened video playing in a flash movie over top of our html content.
when the movie ends, flash uses external interface .api to call a javascript function which swaps the flash movie out with a 5 x 5 pixel flash movie (rewrites the <div>).
this works and you can interact with the html content after the flash movie in all browsers except firefox...!
anyone know of any work-arounds or is there a better way of handling flash over html in this fashion?
any input would be greatly appreciated!
HTML Layer Problem
I have made some layers for dropdownmenues, but when I rezise the window the layers move to a different location... I think this is because i have used "center" to place the homepage in the middel. How do I cope with this???
LoadMovie In HTML Layer?
Hi, I was wondering if it is possible to use a button in a flash movie to load another flash movie in a different html layer?
Thanks,
Tim
Position A Html Layer Over A Swf
I am trying to put an iframe over a swf file , this work putting the iframe in a layer and its positioned where I need it to be relative to my swf movie . (simulating an I frame in a flash movie) Now here is the problem , when I resize my browser , the layer/iframe is out of position . How can I correct this
P
Position A Html Layer Over A Swf
I am trying to put an iframe over a swf file , this work putting the iframe in a layer and its positioned where I need it to be relative to my swf movie . (simulating an I frame in a flash movie) Now here is the problem , when I resize my browser , the layer/iframe is out of position . How can I correct this
P
How Do You Get The Swf To Layer Over Html Page Content?
is there any way to do this? my movie is needs the space 400x400 but its just menues, I really want it to fit 400x20 (unless uesd) then have the dropdowns layer over the html page content. any suggestions other than the obvious (JS)
thanks,
|