Transparent Flash On Layers...
Hello,
I'm currently building a menu for a website and ive run into a problem. Click here to see
The site is html with an inline frame for content. On the page in a layer above the html is a flash menu. i did this so that you can have a drop down menu that goes over the html. (only the about drops down at the moment)
This works very well in IE, and displays in firefox, but there is a problem in firefox, while the movie is transparent, the html under it isn't selectable so links are not clickable.
Does anybody have any good ideas that might be able to help me get around this problem? As the only way i can thing of dolving it at the moment is making it so that firefox browser use a differant menusystem without the dropdown boxes.
Cheers,
FlashKit > Flash Help > Flash General Help
Posted on: 03-28-2005, 11:45 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
[F5] Transparent Flash On Layers
I have a circular flash movie which I want to appear in front of a background. I am using layers and the wmode="transparent" parameter in the <object and embed> tags.
All works well in IE on Windows, Firefox on Windows and Mac, Safari on Mac, Netscape on both also. BUT it doesn't work on Linux (Konqueror, Firefox) or Mac Os9 (IE 5.2). Now the following has an example which works in all of the above:
http://www.adobe.com/cfusion/knowled...fm?id=tn_14201
I have tried using the same tags in the source of the above, but it doesn't work, maybe something to do with 'Note: Because of restrictions in this form, the layer is simulated. Viewing the source of this page will not reflect the method accurately.'
I've read the technote a number of times and I don't understand what the note means about the layer being simulated. Can anyone suggest what they've done to make it work on the older and more exotic browsers?
Using Transparent Flash And DIV Layers
Hello everyone,
I'm kinda new to the interactivity side of web design and I've come across a problem. I run a car club in my local area and I wanted to make a pop-up type ad that showed my business card that I give to potential members that I see around town. I've created the animation in flash and brought it into Dreamweaver without a problem. As it is now the business card sits small on the side of the window until the user mouseover's it. It then scales up to its proper size on the screen to display the message, if your received one of our cards, look around then email me. Everything up till this part works great. The ad is transparent looking and works fine. The problem is closing the ad. I'm not sure if I'm supposed to attach actionscript on a button in the flash movie that closes or hides the div layer it sits on, or if i need to write javascript that closes the window on click for me. I know nothing about javascript and have never taken a programming class. I've taught myself basic flash and html. Any help one could give would be greatly appreciated. Thanks.
Craig
DHTML Layers And Transparent Flash?
Hey there!
I'm seeing a bunch of pages now that are HTML backgrounds and then a Flash movie will pop up and run all over the page (seen it on Moviefone and IGN). You can click a little "close" button and it goes away.
Does anyone know how they do this? My first guess is DHTML and Flash with transparencies, but I've no idea how this is done.
Any ideas?
Best,
--eric
Transparent Background Layers In Flash?
Hello,
Im new to Flash and I have a simple project I can't seem to figure out. I have a button that I press to trigger an animation. This aniimation is a layer above the base page. The problem is, the stage area can't have a transparent background. Here is my project (the tip of the day button)
http://www.ruhooked.com/indexJAMESTEST.html
How would I get it to appear over the images and text when you click on it, yet be transparent once the image is closer?
Thanks-- James
Transparent Flash Movies On Dragable Layers?
Most often seen as movie advertisements, you know the ones - transparent background with a flashy animation advertising a movie or something?
Trying to figure out how to implement:
- how do i present a flash movie with a transparent background?
- any tips/direction for implementing?
Thank you.
--TB
Transparent Layers
I want to export a photoshop document into flash. The document has a shadow which I would like to overlay on top of an image in flash. Is there a way of preserving transparency when exporting files from photoshop to flash? or is there a plug in that I can acquire? if so what should I look for?
Transparent Layers?
I have imported a series of transparent layers and find i can only
overlay 10, why is this is there a work around, because i have a map
with 13 semi transparent png's that i need to overlay.
is it the same with flash 8
How Many Transparent Layers Are Possible?
Hi
Ok ......so depth has a range of -16384 to 1048575,
Has anyone ever come across Flash having a limit on the amount of transparent layers / depths you can have in one movie?
N E One Know About Transparent Layers?
hey i can't figure out how to create a dark layer ..but transparent so you can still see the photo on the first layer.. i'm don't want to do it on photoshop cause i'm going to turn that photo (on the 1st layer) a movie tween.
Is this possible or do i have my head in the clouds?
Semi Transparent Layers
I was wondering if this was possible. Having a layer that was transparent but it was colored. So it was like looking through colored plastic wrap to the next layer.
Making Layers Not Transparent
Is there a way? Say I have two layers with a square in each of them. They are on top of each other but I only want the top-layer to show. How can I prevent the bottom layer of showing through the top-layer? I want it to gradually show when the top-layer/square slides off.
Thanks
Achnor
Semi Transparent Layers
I was wondering if this was possible. Having a layer that was transparent but it was colored. So it was like looking through colored plastic wrap to the next layer.
Maximum 24 Overlapping Transparent Layers
Hi,
The maximum amount of overlapping layers containing transparency in Flash 8 is 24. I have been told that this only applies to loaded assets, and that it is possible to use more layers if the assets are in the library, does anyone know if this is possible and why this would be so?
Need To Create Partially Transparent Layers Over An Image
I have an image of a building that I have imported. I now need to create a bunch of different layers over it, each of which will be partially transparent and in different colors. The end result will be a an interactive way for the user to click different colors for Roof, Siding, and Trim and that transparent color will show up over the image of the building.
I have finally figured out how to use the polygon lasso tool to trace a portion of the photo, say the roof. I figured out that I couldn't get the lasso tool to work until I selected the photo and hit Ctrl-B, which I guess broke up the image(?). Now I can trace part of the photo and change that selection to the color I need it to be.
The problem I'm having now is that when I try to cut that selection out and make it a new layer with transparency...two things happen... the photo ends up with white space where the selection used to be. And when I paste the selection into a new layer and change the transparency (alpha), it just looks lighter, you can't actually see the image underneath it.
Can anyone tell me what I'm doing wrong or if there is a better way to do this? The end result should be something like this: http://www.whirlwindsteel.com/c_pab_ci.asp except of course these will be different building pictures.
Please help...let me know if I need to be more descriptive.
Thanks!
Images In Layers Being Hidden By Transparent Parts Of Other Images?
I am having a weird issue with Flash MX. I am working on a design, and I have images that are being hidden by the transparent section of other images. Basically I have 10 layers. Each layer has a piece if an image. They all kinda fit together to make one big image. But the problem is that even though none of the pieces overlap some layers seem to be hiding others. All the images are transparent png images. I have tried this with gif images as well and the problems still are there. Am I missing something totally easy here? Or is this some bug? Any help would be greatly appreciated.
Thanks,
Bill
Transparent Background & Transparent Color In Flash Player
Hi...
I know I can make the main _root background transparent by adding awmode = transparent property to the html embedding code. But what if I want more complex effects... it´s easier if you see what I´m trying to do... visit this URL and note the flash animation -> www.chapeco-online.com.br/test . It has a transparent background and a little fade in effect done by a simple motion tweening... what if I want to motion tween from a transparent color (so the html background shows up) instead of white? Is that possible?
Thanks in advance,
Marcelo.
Importing AI Layers As Flash Layers
Is there a way to import Illustrator layers as Flash layers. Most of the time I export my Illustrator file as a swf then import it into flash. Then One by one I have copy an object...delete...then make a new layer and past it in place..
Transparent Flash Over Non-Transparent Flash Problem
we are gonna put a transparent flash Ad on a website. but this website already has some flash on its pages.
the problem is when we use <div> to put the tranparent flash float over the webpages, the transparent flash actually get coverred by the non-transparent flash, no matter how big i set the z-index value.
i have tested locally and found out transparent flash always get covered by non-transparent flash.
have anyone had this problem before?? do u know how to solve it??
Merging Layers Or Scanning Layers Into Image
Hello all. Been awhile since I've been to the FlashKit forums, but I'm learning something new.
Anyway, I've been programming in AS1 and AS2 for awhile and just recently started learning to do AS3. To start my learning progress I'm making a drawing program...
So far I just have draw and erase functions. Every time you "draw" it creates a new Shape object to draw on. This way if I want to add "Undo" I just go through and delete the new Shape object one by one. When you erase it creates a layer above the last draw area with a blend mode of "erase". So pretty simple.
The problem I have so far is that after drawing and erasing a bit it starts to get laggy as all the layers pile up on top of each other. When I add an undo function I will only have 10 steps of undo so to reduce overhead. But even without undo the extra layers are needed to be able to erase part of the drawing and then draw over where you erased.
So this brings me to my question. Is there a way in AS3 to merge together multiple layers or Shape objects? So after so many layers are created by drawing and erasing I can merge them into one flat one to reduce the processing needed.
I was thinking maybe I could do this though scanning the pixels on the clip contaning all the layers? I know I worked with saving images in Flash 8 before, but not sure how this works in AS3. I hear it's faster, hopefully fast enough to not have to wait 5 minutes every so many times you draw in my program.
And here's the code I have so far:
code:
var drawArray:Array=new Array();
var layerClip:MovieClip=new MovieClip();
var drawArea:Shape= new Shape();
this.addChild(layerClip);
layerClip.addChild(drawArea);
layerClip.blendMode=BlendMode.LAYER
drawArray.push(drawArea);
var drawLayer:int=0;
var prevX:int=0;
var prevY:int=0;
var erase:Boolean=false;
function runDraw(event:MouseEvent) {
drawArray[drawLayer].graphics.curveTo(prevX, prevY,(prevX+drawArray[drawLayer].mouseX)/2,(prevY+drawArray[drawLayer].mouseY)/2);
prevX=drawArray[drawLayer].mouseX;
prevY=drawArray[drawLayer].mouseY;
event.updateAfterEvent();
}
function startDraw(event:MouseEvent):void {
if (erase) {
drawArray[drawLayer].blendMode=BlendMode.ERASE
drawArray[drawLayer].graphics.lineStyle(6, 0x990000, .75);
}
else {
drawArray[drawLayer].graphics.lineStyle(2, 0x990000, .75);
}
drawArray[drawLayer].graphics.moveTo(drawArray[drawLayer].mouseX, drawArray[drawLayer].mouseY);
prevX=drawArea.mouseX;
prevY=drawArea.mouseY;
stage.addEventListener(MouseEvent.MOUSE_MOVE, runDraw);
}
function stopDraw(event:MouseEvent):void {
stage.removeEventListener(MouseEvent.MOUSE_MOVE, runDraw);
var drawArea:Shape= new Shape();
layerClip.addChild(drawArea);
drawArray.push(drawArea);
drawLayer++;
}
function toggleErase(event:MouseEvent):void {
if (erase) {
erase=false;
}
else {
erase=true;
}
}
stage.addEventListener(MouseEvent.MOUSE_DOWN, startDraw);
stage.addEventListener(MouseEvent.MOUSE_UP, stopDraw);
eraseBut.addEventListener(MouseEvent.CLICK, toggleErase);
Turn Selected Layers Into Guide Layers?
i had 3 layers selected... went to trash them and somehow the were turned into guide layers... this would be great if i could find out how it happened. rather than turning one at a time into a guide.
Anybody know how?
Button To Morph To Transparent On Rollover And Stay Transparent?
hi,
trying to get a button to go from a solid 100% to 0% alpha and then stay at 0% alpha, not go back to the original upstate. as they do in http://www.requiemforadream.com/
i made a movie clip that does that then put it in the upstate of the button.
problem i can't solve yet... is,
the movie clip plays immediately rather than waiting for rollover. (it plays whether i have tell target actions or not)
if there are any fla's out there available for this I WOULD LOVE it,
thanks in advance,
jane
[F8] Layers ... Oh, GOOD LAWD, Layers
Greetings, Flash Gurus and Gurus-to-be,
i am mocking up a site, which can be found at HERE
The only links operational are Catering and King Cakes, and are only operational if you REFRESH the page. i know i am lacking a preloader, i have it built, but am not wasting time with it right now.
As you can see from the example, i have our little Butcher Guy off to the left, and for each "department" of our organization, i would like to dress him for the part. i want our butcher guy to fade in and out, and in the case of the King Cake page, i would like our logo and the Italian flag on the left to change into the traditional Mardi Gras colors in all their gaudy splendor.
My problem lies in the fact that my men seem to be piling up on one another, as does my Italian and Mardi Gras flags.
If i use "index.html" to load "Master.swf" (which is the initial, fade in page), and master.swf has inside of it, actionscript to load "MasterMardiGras.swf", (which is the King Cake page), how would i go about getting control and order in here?
Copies of the swf files are here:
http://img150.imageshack.us/my.php?image=loaderjw0.swf
http://img124.imageshack.us/my.php?image=masterqz4.swf
http://img145.imageshack.us/my.php?i...rdigrashh8.swf
http://img388.imageshack.us/my.php?i...ateringur4.swf
http://img125.imageshack.us/my.php?i...tercafety3.swf
Thanking you, i am, for your great, overflowing keg of knowledge!
Question About Controlling Layers From Other Layers
Is it possbile to create an action in a loaded movie in layer1 that will tell the movie in layer0 to go to a specific frame and start playing?
Another question I have is, can you load a movie into a container or layer and have it start, not at the begininning, but at a specific spot in the loaded movie's timeline?
Hidden Layers Vs Guide Layers
I often have things on a layer that I don't want to see while I'm working on another layer and frequently testing and tweaking and I used to just have those hidden in the timeline and they would publish. And if I didn't want a layer to publish, I'd make it a guide. In CS3 it seems that those hidden layers won't publish (though at times I've had them publish for me in certain files, but I don't know why).
Is there a setting I can choose to make hidden fields publish like they did prior to CS3?
Action Scripted Layers Always Act As Top Layers?
I used this snow effect from kirupa...
<A href="http://http://www.kirupa.com/developer/mx/snow.htm
However, the snow effect always acts like the top layer, ok what i mean is, i have 3 layers, (1)toplayer= a car, (2)middle= snow, (3)low= background.
I want to make the snow to be seen behind the car...i hope you understand what i mean , whenever i put the code from the link above it acts as the top layer and appears in front of everything.
Any help is appreciated...
Oh Layers..layers...I Hate Da Layers
HI!
so there is some hair on the floor, and some bald patches in my head...big deal!
anyways...at the moment my movie is kinda messy, but something is happening that really annoys me!
i have this mc that loads into a target..and then you click button2 and this loads mc2 into the target, ok fine!
BUT, what is buggin´me, is that when you click, say, button3, to load mc3...you see like whats underneat...on the very bottom layer...and i dont want that to happen....i want there to either be nothing...or atleast show the previously loaded mc...but not the very bottom.....
how can i solve this guys??
thanks very mucho! adios
Layers & Flash
I'm trying to setup a Flash Movie that will load specific layers after
the user selects a menu item.
Here's a photo example of what I am trying to do:
http://home.uleth.ca/~kim.siever/layerstest/
Thanks in advance for your help.
Layers? Flash?
Yo, I was wondering how would I script a button in flash to communicate with layers in the html file. If it is even possible. Say.. I click on a button in flash and a layer set to "hidden" becomes "visible". How would I do this?
Flash And Layers
Hi, I am trying to get flash to set layers from visible to invisible does anyone know how this can be done. Generally I avoid layers but it would be good know if it's possible for this particular project.
Thanks
Flash Layers
I am doing an open book test for school. I can't find the answer to one of them. It's the way it's word'ed I think. It goes like this:
Three different types of layers you can have in Flash.
I am thinking- movies, scenes and layers. But just not sure.
Can anyone help
Barbara/Babs
[web] Flash And Div Layers
Hi,
I have tried to get an I-frame on top of a flash file in a webpage, and this is the result:
http://www.cmd.tech.nhl.nl/users/regne200/test/test.htm
Bot the I-frame and the flash movie are in a <div> layer, but the one with the I-frame ofcourse with a higher z-index. It works (atleast in IE, not in Mozilla), but when I click the Flash movie, the div layer is moved up, over the I-frame.
Has anyone tried to experiment with this before, and have you found a sollution to my problem?!
Flash Layers
Whats the average amount of layers to make a nice flash intro...coz i try to keep my layers to a minimum so i can keep track of things but then i was wondering if i should let loose and go wild... will not affect my loading up speed or anything...
Flash In Layers
I have a site that has different movies in different layers. there is a menu layer above another layer with a tree component in it.
it was working fine but I rebuilt it after a redesign and now the tree layer is not functioning and I cannot work out why.
it works fine when it is not below the menu layer, so its a case of the menu layer disabling it.
I am using wmode transparent.
Flash And Layers
How can I make my flash movie go beneath my layered menu options? Currently, the movie appears above my layers.
Many thanks in advance for the help!!!
Flash And <div> Layers
I am having an issue with a scrolling menu and a flash movie. You can view it at:
http://www.na-charters.sagehost.net/index.htm
As you will see both work fine, but the menu scrolls below the flash movie. I have both on their own layer and have played with the <div> tags and z-index but the scrolling menu is always under the flash movie no matter what I do. Does anyone have any ideas?
Thanks
Flash And Layers
Hi, I am trying to get flash to set layers from visible to invisible does anyone know how this can be done. Generally I avoid layers but it would be good know if it's possible for this particular project.
Thanks
Flash Layers
Firstly, have to say thanks to this site as my flash programing has come on leaps and bounds due to you
OK, Hoping this is a simple one. I would like to "flatten" or merge layers within flash. Is this possible? The reason being is I have drawn a window component using numerous layers and now want to flatten them down to make final tweaks to the overall object.
Thank you in advance.
Jason.
Flash Layers
Hi I'm kinda new to flash and i was wondering how you can make sure that certain layers in your flash website are always visible.... After the last frame of my website's header-layer it goes over to the content box animation but remove's my header...how do i stop that :?:
Transparent Image Not Recognized As Transparent
I am loading a PNG with transparency into a UILoader. This part works correctly, transparency and all.
Now I need to find out the rectangle that is transparent. I found the getColorBoundsRect() function, and copied the UILoader.content into a bitmapData, but when I run the getColorBoundsRect it comes back with a Rectangle that has no width or height - IE, it finds no transparent pixels.
To test, I tried using getPixel32 on an area of the image I know is transparent, and it comes back to tell me that the pixel alpha is 255?
Applicable code is attached.
Attach Code
function rightImageLoaded(evt:Event):void {
var clBD:BitmapData = new BitmapData(735,600,true);
clBD.draw((evt.target as UILoader).content);
var transparentRect:Rectangle = clBD.getColorBoundsRect(0xFF000000,0x00000000,true);
trace(transparentRect);
}
Layers (<div>) On Top Of Flash Movies
is it impossible to make a layer display on top of a flash movie? (using <div> tags) even if i put the movie on one layer and, say, some text on another with a higher z-index it will not display on top. please help, thanks so much.
Dan
-==Using Flash & HTML Layers==-
I'm trying to create a webpage using Flash (as the navigation) and layers. Any ideas how I could have a link in Flash to show/hide a layer on my page. I know that I would have to set it up in the Javascript, probably a FS Command of sorts?
Something like:
function theMovie_DoFSCommand(command)
{
if (command == "showlayer")
{
//need help here....
}
}
thanks to any who can help . . .
Layers With Html And Flash.
hey. i'm new to this particular forum and everything, so i figured it'd be best to post here.
anyways, the problem i'm trying to make layers using html. i'm trying to put layers over the flash movie. i tried just leaving the flash movie in the regular html page, and making the layer on z-index:1. the flash movie ended up ontop of the layer. i tried putting the flash on it's own layer in the same position with z-index:0 and the other layer z-index:1, and the flash still covered it up. i can't find any information about this anywhere and i was wondering if anybody here had any ideas.
thank you.
Importing Flash Layers
I have been working on two flash projects. I want to import one file into the other. Using the import function, it will import it, but it will compress the project into 1 layer. I need the layers to keep functionality of the original project.(form)
Any help?
Overlapping Flash Layers
One flash file is on the page, another is on top of it, using transparency. When the two animations cross paths, the bottom swf shows thru to the top one.
What are the options in preventing this?
Here's what I've come up with, but I need more suggestions.
1. make the bottom flash file invisible while the top layer plays, then do a getURL javascript call to change the visibility at the end of the top one.
2. (similar execution) write a js function that will re-locate and then re-write the top layer so that the bottom file is actually just re-written into the top layer when the top layer is finished.
3. don't have the layers overlap.
I DESPERATELY need more options. Money is riding on this.
Now, here's the catch:
These files are being served by a third party, via a javascript call.
I have very little control over the actual OBJECT and EMBED tags... so the changes have to take place in the actual flash files, or after the fact via javascript.
Can You LINK Layers In Flash?
Hi... I'm fairly new to flash and I was wanting to do some animations with it for my website... I was wondering if it was possible to link the axies of layers or symbols to one another to create a chain that will move when you move one end but the other end stays stationary... I figure it involves alot of math but I'm not worried about it... I was looking into the triginometical calculations for a mouse look at controler but I was wanting something that worked in flash so I can Connect a character together... instead of animating each part seperate.
Overlapping Layers Within Flash
Quick question that hopefully someone can help me with:
I've completed a motion tween, in this case, it's a football hitting a guy on the head. My problem is that I can't figure out how to crop the football so its background doesn't cover parts of the bottom layer (the guy's head).
In Photoshop, I'd simply lasso the football and extract it from the background, but I can't figure out how to do the same within Flash.
I've tried importing the bitmap from Photoshop with a transparent background, but that just defaults to white within flash.
There's most likely an easy way to accomplish this, but I haven't figured it out....
Thanks!!
Ryan, TX
|