WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Site Design > Flash Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Flash Discussion Forum Flash design presents a limitless number of possibilities for your sites and designs. Discuss your Flash ideas, questions and issues here.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-23-2005, 03:55 PM
Tim's Avatar
Tim Tim is offline
WebProWorld Veteran
 

Join Date: Jul 2004
Location: On the edge of the UK
Posts: 447
Tim RepRank 0
Default Is it possible to overlap a Flash movie with a layer?

I'm trying to partly overlap an swf movie with a <div> layer, to incorporate 2 elements as if they were one. Basically, I've got an animated logo which transforms large, centrally, at the top of a page then shrinks and slides to a position just above a left aligned vertical navigation, where it stays.

The movie is on a layer at the bottom of the stacking order and the overlapping layer is at the top but the Flash always takes priority. If it makes any difference I'm using the 'Satay method' of Flash insertion on an 'XHTML 1.0 Transitional' page. I don't want to incorporate the navigation into the Flash.

I'd be very grateful if anyone has a solution.

Cheers.
Reply With Quote
  #2 (permalink)  
Old 02-23-2005, 04:18 PM
paulhiles's Avatar
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: UK
Posts: 2,803
paulhiles RepRank 0
Default Window Mode (wmode)

Try using wmode="opaque" as part of your Flash movie's parameters

Further info here

Hope that helps!

Paul
Reply With Quote
  #3 (permalink)  
Old 02-23-2005, 06:11 PM
paulhiles's Avatar
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: UK
Posts: 2,803
paulhiles RepRank 0
Default Sample code snippet

Just to clarify what I meant by using the wmode attribute. Your Flash code would approximate to the sample code snippet below:
Code:
<object ...>
<param name="wmode" value="opaque">
<embed wmode="opaque" ...>
</embed>
</object>
This would allow div elements / dhtml layers to overlap the Flash content.

Paul
Reply With Quote
  #4 (permalink)  
Old 02-24-2005, 04:54 AM
Tim's Avatar
Tim Tim is offline
WebProWorld Veteran
 

Join Date: Jul 2004
Location: On the edge of the UK
Posts: 447
Tim RepRank 0
Default

Thanks Paul,

I added the <param name="wmode" value="opaque"> line but it still doesn't work. As I'm using the Satay method I have no <embed>, so didn't insert '<embed wmode="opaque" ...>', but I doubt if this would stop it working. I will go through Stephanie Sullivan's article and let you know if I find a solution.

Cheers,
Tim
Reply With Quote
  #5 (permalink)  
Old 02-24-2005, 05:01 AM
Tim's Avatar
Tim Tim is offline
WebProWorld Veteran
 

Join Date: Jul 2004
Location: On the edge of the UK
Posts: 447
Tim RepRank 0
Default Oops! It does work.

Paul, it does work. I had messed up the stacking order!

Thank you so much,

Tim
Reply With Quote
  #6 (permalink)  
Old 02-24-2005, 07:25 AM
paulhiles's Avatar
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: UK
Posts: 2,803
paulhiles RepRank 0
Default Nice one!

Nice one Tim!
Maybe you could supply a link to the finished page?
I've used the Satay method myself, but my attempts were all quite straightforward (no overlapping elements!)

Paul
Reply With Quote
  #7 (permalink)  
Old 02-24-2005, 08:31 AM
Tim's Avatar
Tim Tim is offline
WebProWorld Veteran
 

Join Date: Jul 2004
Location: On the edge of the UK
Posts: 447
Tim RepRank 0
Default

Paul,
It would be worthwhile pointing out here that 'Windowless Mode' is only available by publishing for Flash Player 6 or 7 and doesn't work at all in Opera or older browsers. Your helpful link to http://www.communitymx.com/content/a...cfm?cid=E5141I has a complete list. I will have to insert plugin and browser checks and a redirect to a non-overlapping version of the page for Opera and older browsers.

The design possibilities of being able to integrate Flash in more complex and subtle ways excites me!
I'll send you the temporary URL in a message.

Tim.
Reply With Quote
  #8 (permalink)  
Old 09-05-2007, 09:47 PM
WebProWorld New Member
 

Join Date: Sep 2007
Location: Kolhapur
Posts: 3
SAPYS infoTECH RepRank 0
Default Re: Is it possible to overlap a Flash movie with a layer?

Thank You It Helped me alot.

Shakil Chikodi
SAPYS infoTECH
Reply With Quote
  #9 (permalink)  
Old 10-03-2007, 12:21 PM
WebProWorld New Member
 

Join Date: Oct 2006
Posts: 15
tricker RepRank 0
Default Re: Is it possible to overlap a Flash movie with a layer?

Hi All,

even also tried that name="wmode" value="opaque" but it does'nt work
here is the code could you please review the code and make the correction if i did something wrong in it

<body>

<div style="height:125px; width:225px; background:transparent; position:absolute; top:125px; left:125px; z-index:1">
dsfdfdfsdf
</div>
<object>
<param name="movie" value="gb pages/gb_25-9_sunil/images/sport.swf" width="525" height="275" name="wmode" value="opaque" >
<embed src="gb pages/gb_25-9_sunil/images/sport.swf" width="525" height="275" name="wmode" value="opaque" ></embed>
</object>

</body>
Reply With Quote
Reply

  WebProWorld > Site Design > Flash Discussion Forum
Tags: , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0