This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-09-26 17:15:20

thion
Scratcher
Registered: 2012-05-04
Posts: 19

Embed Code help!

I am doing a website with web.com .And i am puting my games there, with the embed code but when i preview it uses java and i want to do it with flash.
*how do i the game to use flash?
I want something like this http://www.nitezproductions.com/apps/videos/ or this http://syninc.weebly.com/scratch-games.html



http://i.imgur.com/4mKiS.png

Last edited by thion (2012-09-26 17:15:59)


http://i.imgur.com/aYMfC.png

Offline

 

#2 2012-09-26 17:21:46

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Embed Code help!

All I can tell you is how to embed your project. Here's the code for embedding a game (made by: MathWizz):

Code:

<object type="application/x-shockwave-flash" data="/static/misc/Scratch.swf" width="482" height="401" id="PlayerOnly" style="visibility: visible; position: relative; margin-left: 19px; z-index: 1000; ">
  <param name="allowScriptAccess" value="sameDomain">
  <param name="allowFullScreen" value="true">
  <param name="flashvars" value="project=/static/projects/Lucario621/2795987.sb?version=1">
</object>

http://i46.tinypic.com/35ismmc.png

Offline

 

#3 2012-09-26 19:05:20

thion
Scratcher
Registered: 2012-05-04
Posts: 19

Re: Embed Code help!

thank you


http://i.imgur.com/aYMfC.png

Offline

 

#4 2012-09-26 19:18:46

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Embed Code help!

thion wrote:

thank you

Your thanks should go to MathWizz because (s)he was the one who wrote the code. (  wink  ) I only just pasted the code here.


http://i46.tinypic.com/35ismmc.png

Offline

 

Board footer