This content has been marked as final.
Show 8 replies
-
-
-
-
4. Re: Background
MO66 Mar 28, 2007 6:27 AM (in response to guy from NM)I have a 'related topic' question: what if you don't want the html background color to display in the final product?
I've got a project that is using SCORM, a playback control at the bottom along with the border at the bottom enabled.
Each time I publish & view, the .swf file is not displaying at the upper left corner of the browser window (0,0). I've done some testing and found that it is the html background color showing thru. I went into the html and changed the margins to 0 but that is not working.
As it now standands, users have to scroll up, down, left, right just a little. If I could get the .swf to load at 0,0 the scroll would be eliminated.
Any quick assistance is much appreciated! -
5. Re: Background
Paul_D Mar 28, 2007 7:07 AM (in response to guy from NM)MO66,
adding topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"
to the body section of the html will place the swf top left (0,0)
i use <body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
and it works in firefox and IE,
I have my default standard html template as
<body bgcolor="@SKINCOLOR" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
obviously with the center tag removed -
6. Re: Background
Captiv8r Mar 28, 2007 7:14 AM (in response to MO66)Hi guy from NM
Give this a try and see if it works for you.
Edit the HTML page used to display your .SWF. Near the top of the HTML code is the <body> tag. Amend the tag so it reads as:
<body bgcolor="#??????" topmargin="0" marginheight="0" leftmargin="0" marginwidth="0">
Note that the #?????? represents the hex code for your background color and will vary.
Cheers... Rick
-
7. Re: Background
Captiv8r Mar 28, 2007 7:15 AM (in response to Captiv8r)LOL!
Sorry Paul, didn't see you standing there my friend...
NM, you are in good hands here. Please ignore my post.... -
8. Background
MO66 Mar 29, 2007 1:33 PM (in response to guy from NM)Found the solution!
I had been trying the margin settings with no success. That's because there is also table cell padding buried deep within the code (mine was configured for SCORM).
Thanks for your quick replies!



