Skinning is fun!

Published on Friday, November 14, 2003 By Brad Wardell In WinCustomize Talk

Click to Enlarge

If you haven't tried out DesktopX 2, you should. I haven't enjoyed skinning and such this much since the WindowBlinds .39 days. 

Today I figured out how to embed flash.  believe it or not, you can actually embed the flash .swf file right into a .dxpack itself (.dxpack is just a .zip file renamed) and distribute the flash file directly.

But I'm also having fun having it point to websites that have flash. 

https://www.wincustomize.com/skins.asp?library=3&SkinID=3042

Here's some typical code:

<BODY bgcolor="#FFFFFF" scroll = "no" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100%" height="100%">
  <param name="movie" value="Tetriswm.swf">
  <param name="quality" value="high">
  <embed src="Tetriswm.swf" quality="high" pluginspage="
http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="465" height="360"></embed>
</object>

So I put that on the web page.

First line get rid of the scrollbar and margins.

Then I have the width and height changed to 100% / 100% since Flash can scale on the fly which is nice.

Then I create my DX object, create a script and have it be an ActiveX control that points to my HTML file.

I tell ya, Flash and DesktopX are like two pees in a pod.