SWF in Widget
Is it possible
Thursday, January 25, 2007 by jolhof | Discussion: Widget talk
I am not talking about making an external link to a url, or html page, but implementing a swf within the widget or object itself!! I know it was discussed a few years ago, but DesktopX has come a long way and I am just curious if this feature is possible now.
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Thursday, January 25, 2007 7:14 AM
Create an object and edit the script.
Use the Microsoft Web browser control
Add this script:
Sub Object_OnScriptEnter
Set objFSO = CreateObject("Scripting.FileSystemObject")
If objFSO.FileExists(workFolder & "FileName.swf") = False Then
objFSO.CopyFile Object.Directory & "FileName.swf", workFolder & "FileName.swf"
End If
Control.Navigate2 Object.Directory & "FileName.swf"
End Sub
Go to the summary tab and add your swf asa custom file.
Done.
I'd grab another object as a background and then one more to do widget.close
Group everything and export.