ebknapp / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

salign param problems in firefox/safari #100

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using dynamic mode
2. Using parameter salign=lt
3. Set the width larger than the SWF's publish width

What is the expected output? What do you see instead?
Movie should align to the left of the screen, 
works only in IE6/7. Aligning it to "tr" only works in IE6.

What version of the product are you using? On what operating system?
Firefox 2, Safari 3 on windows

Please provide any additional information below.
Appending attribute salign to the flash object does not fix this issue.
This may be a flash player issue...

Original issue reported on code.google.com by joma...@gmail.com on 6 Jun 2008 at 3:23

Attachments:

GoogleCodeExporter commented 9 years ago
This is a generic Flash issue, please repost the question in the SWFObject 
discussion
group.

Original comment by bobbyvandersluis on 6 Jun 2008 at 3:42

GoogleCodeExporter commented 9 years ago
Hi, 
Actually it was working fine in UFO (which I used before).

I just found today by comparing the two generated elements that the problem if 
FIXED
when the "scale" parameter is declared BEFORE "salign".

Give it a try:

<!-- UFO Generated -->
<object width="1500" height="300" type="application/x-shockwave-flash"
data="/_flash/test.swf">
<param name="scale" value="noscale"/>
<param name="salign" value="tl"/>
<param name="wmode" value="Opaque"/>
</object>

<!-- SWFOBject 2 Generated (without the id & style) -->
<object width="1500" height="300" type="application/x-shockwave-flash"
data="/_flash/test.swf">
<param name="salign" value="tl"/>
<param name="wmode" value="Opaque"/>
<param name="scale" value="noscale"/>
</object>

Original comment by joma...@gmail.com on 6 Jun 2008 at 6:56

GoogleCodeExporter commented 9 years ago
By declaring the property before in the making of the param object's 
properties, the
problem disappear... 

This could be added in the FAQ nor the Documentation for future lamers like me 
;)

Original comment by joma...@gmail.com on 6 Jun 2008 at 7:02

GoogleCodeExporter commented 9 years ago
I have added the item to the FAQ (currently it's item 13):
http://code.google.com/p/swfobject/wiki/faq

Original comment by bobbyvandersluis on 19 Jun 2008 at 9:54

GoogleCodeExporter commented 9 years ago
Just FYI, I had the same problem using jQuery Tools' Flashembed. Placing the 
scale
parameter above the salign parameter solved the problem there, too. Perhaps 
this is a
Flash bug.

Original comment by spencerb...@gmail.com on 29 Mar 2010 at 6:24