View Full Version : Flash Object in Layers

05-02-2006, 09:34 AM
I wanna insert a flash movie in layer. Movie dimension is 800x100 & the available area is only 147x100. Thats y I'm trying to use LAYERS. Tell me how can I use layers to display that flash movie on my webpage over the stuff???

05-02-2006, 09:39 AM
The correct term for a "layer" is a div. We are being a bit demanding aren't we? How about you "ask" us if we can help you, not "tell" us to help you.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
#flashbox {

<div id="flashbox">Your flash here</div>

05-02-2006, 09:52 AM
Thank You Very Much Sir. Now please do one more favour for me. I've installed Flash player & when I try to browse that Flash containing page, it asks me to 1st ALLOW BLOCKED CONTENTS, when I click on ALLOW the page loads but there is no FLASH movie, that area is empty. while when I try to run Flash using.... OPEN WITH IE, it runs !
Whats the prob now???

05-02-2006, 10:00 AM
What is the flash code you are using? Post it. That warning will only occur locally. It should go away once you upload your page to a server. Though without it being on a server right now we won't even know if your flash is in the correct place. Upload your site to a server.

05-02-2006, 10:12 AM
here is the Flash movie code

<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,0,0" width="32" height="32">
<param name="src" value="ad.swf">
<embed src="ad.swf" pluginspage="http://www.macromedia.com/shockwave/download/" width="32" height="32"></embed>