all groups > flash (macromedia) > november 2004 >
You're in the

flash (macromedia)

group:

printing from flash....center on page?


printing from flash....center on page? apenly
11/16/2004 10:17:05 PM
flash (macromedia):
i have a strange problem that i'm trying to work around....

i have a flash move, sized 800 x 612, that i'm printing from flash using the
print() function. when i print this movie from the swf itself, everything is
fine and the print is centered on the page.

however, when i print from my HTML page with the swf embedded, the print moves
to the left, so i have about a .25" margin on the left, and a 1" margin on the
right. the vertical alignment is fine.

i've tried using align="center" in my object and embed tags, to no avail. any
ideas?

thanks in advance for any help!
Re: printing from flash....center on page? apenly
11/17/2004 3:19:27 PM
Re: printing from flash....center on page? draven000
11/23/2004 7:14:57 PM
Hi, Try this apenly: Create a table 1 row 1 column in your html page...then
place your swf inside this table. Then once you've done this..user
<center></center> prior to your object class..like this <table width='100%'
border='0' cellspacing='0' cellpadding='0'> <tr> <td><center><object
classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'
codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
version=6,0,0,0' width='550' height='580' align='baseline'> <param
name='allowScriptAccess' value='sameDomain' /> <param name='movie'
value='osce.swf' /> <param name='quality' value='high' /> <param
name='wmode' value='opaque' /> <param name='bgcolor' value='#cccccc' />
<embed src='osce.swf' quality='high' wmode='opaque' bgcolor='#cccccc'
width='550' height='580' align='baseline' allowscriptaccess='sameDomain'
type='application/x-shockwave-flash'
pluginspage='http://www.macromedia.com/go/getflashplayer' />
</object></center></td> </tr> </table> draven
AddThis Social Bookmark Button