embedding/ widgets

Report bugs, registration issues, or just suggest some new features in this thread! Guaranteed to have at least 10% more dev attention than other threads!

embedding/ widgets

Postby schlag on Thu Mar 31, 2011 10:15 am

hi schlag here i was wondering if there was a way to embed this games code to another website, or make a widget or something.
i plan to make a fantasticcontraption fan site

please respond and have fun playing
Posts: 18
Joined: Sun Sep 21, 2008 6:06 am
Location: underground, dead

Re: embedding/ widgets

Postby Skips on Thu Mar 31, 2011 1:01 pm

I tried something similar when I was messing around with some HTML. The code is pretty atrocious, an experienced coder might be able to thin it out, but this enables the game to access a flash version and boot from the actual website, so saved games and stuff can be used.

Code: Select all
<object width="550" height="400">
        <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
        <param name="SRC" value="http://fantasticcontraption.com/game/Contraption.swf">
        <embed src="http://fantasticcontraption.com/game/Contraption.swf" width="550" height="400"
        name="mymoviename" align="" type="application/x-shockwave-flash"

Hope that helps.
User avatar
Posts: 1270
Joined: Fri Aug 15, 2008 11:11 am
Location: Blighty

Return to Feedback and Problems

Who is online

Users browsing this forum: No registered users