Flash Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignFlash Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 4th, 2008, 03:10 PM
stephaniegold stephaniegold is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 1 stephaniegold User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 58 sec
Reputation Power: 0
Seemingly simple problem with aligning SWF movie in browsers

Hi all!

I have embedded a swf file in an xhtml document. I used dreamweaver to modify my xhtml doc, so I could center (vertically and horizontally) in all browser windows. I tried the easy dreamweaver "align" tool- didn't work. I figured the simplest way would be to put it in a table and center the table. When I do this, it looks centered in dreamweaver, but when I post on my website, it is still top left corner. I'm going crazy- any ideas???

Here is the code:

Code:
<html xmlns="(URL address blocked: See forum rules)" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>swaddle</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
</head>
<body bgcolor="#6bb9c2">
<!--url's used in the movie-->
<!--text used in the movie-->
<!--
               wholesale entry           retail entry
-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
	if (AC_FL_RunContent == 0) {
		alert("This page requires AC_RunActiveContent.js.");
	} else {
		AC_FL_RunContent(
			'codebase', '(URL address blocked: See forum rules)=9,0,0,0',
			'width', '550',
			'height', '400',
			'src', 'swaddle',
			'quality', 'high',
			'pluginspage', '(URL address blocked: See forum rules)
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'devicefont', 'false',
			'id', 'swaddle',
			'bgcolor', '#ffffff',
			'name', 'swaddle',
			'menu', 'true',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', 'swaddle',
			'salign', ''
			); //end AC code
	}
</script>
<noscript>
<table width=100% height=100% border=0 cellpadding=0 cellspacing=0>
	<tr align=center valign=middle><td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="(URL address blocked: See forum rules)=9,0,0,0" name="swaddle" width="550" height="400" align="default" id="swaddle">
      <param name="allowScriptAccess" value="sameDomain" />
      <param name="allowFullScreen" value="false" />
      <param name="movie" value="swaddle.swf" />
	  <param name="quality" value="high" />
	  <param name="bgcolor" value="#ffffff" />
      <embed src="swaddle.swf" width="550" height="400" align="default" quality="high" bgcolor="#ffffff" name="swaddle" allowscriptaccess="sameDomain" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="(URL address blocked: See forum rules)" />    
</object></td>
	</tr></table>
</noscript>
</body>
</html>

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignFlash Development > Seemingly simple problem with aligning SWF movie in browsers


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
Stay green...Green IT