If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > JAVA > CML flash embedding problems

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-18-10, 02:49
zeroge zeroge is offline
Registered User
 
Join Date: Dec 2009
Location: Now in China and since the past 7 years in China
Posts: 51
CML flash embedding problems

Hi

I have this code and can't get it embedded so it would stay behind other content, e.g. a lightbox, etc.

HTML Code:
          	<td align="left" id="container" valign="middle" z-index="0"><!-- see notes for files included -->
			<a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player to see this rotator.</a> 
			<script type="text/javascript" src="my/path/to/file.js"></script>
			<object><script type="text/javascript">
				var s1 = new SWFObject("my/path/to/flash.swf","rotator","415","120","7");
				s1.addParam("allowfullscreen","false");
				s1.addVariable("file","my/path/to/file.xml");
				s1.addVariable("width","415");
				s1.addVariable("height","120");
				s1.write("container","embed");
			</script></object>
			</td>
Forgot ... it is a XML flash I am using working with here.
Thanks a lot
__________________
"Defying critics is a disagreement to growth through improvement"

Last edited by zeroge; 01-18-10 at 02:51. Reason: forgot
Reply With Quote
Reply

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

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