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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 would have been fixed years ago.
But, i digress..

Best,
Karl

On Sep 21, 2011, at 2:40 AM, Henrik Andersson wrote:

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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 modes allow for 3d, opaque and transparent
specifiy software and allow overlays of other content, eg. html menus
popping up over the flash, possibly other flash player instances too. see
here for more details:

*wmode* - Possible values: window, direct, opaque, transparent, gpu. Sets
the Window Mode property of the Flash movie for transparency, layering,
positioning, and rendering in the browser. If this attribute is omitted, the
default value is window. For more information, see Using Window Mode
(wmode) 
valueshttp://kb2.adobe.com/cps/127/tn_12701.html#main_BrowserSupportForWmodes
 below.
http://kb2.adobe.com/cps/127/tn_12701.html

On 21 September 2011 16:09, Mikael Enroos mikael.enr...@paf.com wrote:

 Hi,

 I’m trying to position a windowed swf on top of another windowed swf on my
 site. The underlaying swf (windowed) is the main application and now I need
 to add a separate swf on top of it, which is another application.

 I tried with some css work including z-layer but without any luck. Has
 anyone else done this?

 Mikael Enroos
 Webmaster

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 figure to do this was to have Flash call JavaScript 
after / before each transition to change the css and expand / contract 
the Flash div over the top of the other content.


If the non-intersecting parts of your 2 swfs is rectangular, this might 
work for you?


HTH

Glen

On 21/09/2011 07:09, Mikael Enroos wrote:

Hi,

I'm trying to position a windowed swf on top of another windowed swf on my 
site. The underlaying swf (windowed) is the main application and now I need to 
add a separate swf on top of it, which is another application.

I tried with some css work including z-layer but without any luck. Has anyone 
else done this?

Mikael Enroos
Webmaster


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 really set up to deal with layered object's.

.m

On Wed, Sep 21, 2011 at 2:09 AM, Mikael Enroos mikael.enr...@paf.com wrote:
 Hi,

 I’m trying to position a windowed swf on top of another windowed swf on my 
 site. The underlaying swf (windowed) is the main application and now I need 
 to add a separate swf on top of it, which is another application.

 I tried with some css work including z-layer but without any luck. Has anyone 
 else done this?

 Mikael Enroos
 Webmaster

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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, 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 really set up to deal with layered object's.

.m

On Wed, Sep 21, 2011 at 2:09 AM, Mikael Enroos  
mikael.enr...@paf.com wrote:

Hi,

I’m trying to position a windowed swf on top of another windowed  
swf on my site. The underlaying swf (windowed) is the main  
application and now I need to add a separate swf on top of it,  
which is another application.


I tried with some css work including z-layer but without any luck.  
Has anyone else done this?


Mikael Enroos
Webmaster

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 overlapping multiple swf objects
embedded in an html page.

.m

2011/9/21 Cédric Muller flashco...@benga.li:

SWF on top of another SWF: in Flash or in HTML ?


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 the precisions

 I think we're specifically talking in HTML here. I meant that Flash
 isnt really designed to display while overlapping multiple swf objects
 embedded in an html page.

 .m

 2011/9/21 Cédric Muller flashco...@benga.li:

 SWF on top of another SWF: in Flash or in HTML ?

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 position a windowed swf on top of another windowed swf on my 
site. The underlaying swf (windowed) is the main application and now I need to 
add a separate swf on top of it, which is another application.

I tried with some css work including z-layer but without any luck. Has anyone 
else done this?

Mikael Enroos
Webmaster


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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. Making the png stretch to the size of the bottom swf.  
Cover it.

Basically blocking any flash interactions on the one below?

Also, in order for this to work, I think you may want to assign z- 
index:0 to the body.

That way it explicitly sets zero first.

extra swf z-index:3 
div z-index:2  transparent png img/div
main swf z-index:1 

Kind-of like an invisible button does inside flash.
Not tested,
JAT,

Best,
Karl


On Sep 21, 2011, at 9:43 AM, Kevin Newman wrote:

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 position a windowed swf on top of another windowed  
swf on my site. The underlaying swf (windowed) is the main  
application and now I need to add a separate swf on top of it,  
which is another application.


I tried with some css work including z-layer but without any luck.  
Has anyone else done this?


Mikael Enroos
Webmaster


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 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. Making the png stretch to the size of the bottom swf.  
Cover it.

Basically blocking any flash interactions on the one below?

Also, in order for this to work, I think you may want to assign z- 
index:0 to the body.

That way it explicitly sets zero first.

extra swf z-index:3 
div z-index:2  transparent png img/div
main swf z-index:1 

Kind-of like an invisible button does inside flash.
Not tested,
JAT,

Best,
Karl


On Sep 21, 2011, at 9:43 AM, Kevin Newman wrote:

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 position a windowed swf on top of another windowed  
swf on my site. The underlaying swf (windowed) is the main  
application and now I need to add a separate swf on top of it,  
which is another application.


I tried with some css work including z-layer but without any luck.  
Has anyone else done this?


Mikael Enroos
Webmaster


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 the browser to create another system window (for 
the iframe).


Kevin N.

On 9/21/2011 7: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 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. Making the png stretch to the size of the bottom swf. 
Cover it.

Basically blocking any flash interactions on the one below?

Also, in order for this to work, I think you may want to assign 
z-index:0 to the body.

That way it explicitly sets zero first.

extra swf z-index:3 
div z-index:2  transparent png img/div
main swf z-index:1 

Kind-of like an invisible button does inside flash.
Not tested,
JAT,

Best,
Karl


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 them to interact.
In that case they need to be in the same swf. 


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 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 them to interact.
 In that case they need to be in the same swf. 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders