Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Henrik Andersson
You won't get much luck overlaying anything on top of a flash player. Not even another flash player. I think that the correct solution here is to use just one flash player that loads both movies. ___ Flashcoders mailing list

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Karl DeSaulniers
Try wrapping your swf in a span or div and set the z-index to that. Also, set the object and embed z-index to inherit in your css. object, embed { z-index:inherit; } Work in some browsers, but by-and-large very buggy. I would go with Henrik's suggestion if you can. You would think this bug

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Ben Sand
This will probable be inconsistent across browsers and operating systems, however you can always try! Also, if you can get it to work, you may lose all 2D (and in the future 3D) acceleration by the video card, as everything will have to be processed in software From memory, window and direct

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Glen Pike
Hi, I had to do some similar hacky workaround for a site that wanted a flash navigation that expanded over the top of HTML. The Flash had to be fullscreen for the intro and then shrink vertically to be the navigation bar at the top of the screen when content appeared. The only way I could

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Matt S.
You're pretty much guaranteed some weirdness in the display. I was able to get this working, in a few latest-greatest browsers, but even there if you had motion happening in both layers at once I was getting some odd artifacts and overlaps. I dont think the browsers, or Flash for that matter, are

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Cédric Muller
SWF on top of another SWF: in Flash or in HTML ? In Flash, it could be easier, by loading the SWF into a container, and doing a '_lockroot' (if AS2) hth, Cedric You're pretty much guaranteed some weirdness in the display. I was able to get this working, in a few latest-greatest browsers,

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Cédric Muller
ok, but overlaying a container over another container in Flash is somewhat straightforward. What isn't is the way the 2 SWFs could/must communicate ... thanks for the precisions I think we're specifically talking in HTML here. I meant that Flash isnt really designed to display while

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Matt S.
Yep, I agree, I'm not the original question-asker though, just tryin to help :) .m 2011/9/21 Cédric Muller flashco...@benga.li: ok, but overlaying a container over another container in Flash is somewhat straightforward. What isn't is the way the 2 SWFs could/must communicate ... thanks for

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Kevin Newman
There is an old solution - put the top layered Object in its own HTML page, and load that into an iframe, then position the iframe over the windowed flash movie. I haven't tried that in ages, but I think it still works. Kevin N. On 9/21/11 2:09 AM, Mikael Enroos wrote: Hi, I'm trying to

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Karl DeSaulniers
With that solution, I have an idea. Using Flashvars and javascript. Set up a javascript file that tells when the two flash files are hovering over each other and have it put an invisible png between them. This png will be inside a div, so technically you would put the div between them.

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Karl DeSaulniers
Unless you need them to interact. In that case they need to be in the same swf. Best, Karl On Sep 21, 2011, at 6:30 PM, Karl DeSaulniers wrote: With that solution, I have an idea. Using Flashvars and javascript. Set up a javascript file that tells when the two flash files are hovering over

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Kevin Newman
If it's like a popup thing, I guess you'd want to block access - however, that won't work anyway in wmode=window. The iframe is what divides the two swfs, and allows the one on top to display over another swf with wmode set to window (which as I understood it could not be changed), by forcing

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Kevin Newman
If one the two swfs need to interact (if I understood) LocalConnection could be used. That works even when two swfs are on different domains, running in two different browsers (as long as they are on the same machine). Kevin N. On 9/21/2011 7:38 PM, Karl DeSaulniers wrote: Unless you need

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Karl DeSaulniers
That's true. I've done that. I was referring to a drag-and-drop scenario of interaction I guess. Karl Sent from losPhone On Sep 21, 2011, at 8:25 PM, Kevin Newman capta...@unfocus.com wrote: If one the two swfs need to interact (if I understood) LocalConnection could be used. That works