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

#1 2012-03-16 08:35:54

dadkid101
Scratcher
Registered: 2011-06-07
Posts: 36

Embedding The Flash Player and project in my website

Okay, so I'm trying to embed a project in flash player, because It's horrible in Java, But I've tried many other forums but I didn't get anything. If you respond, please use the full HTML code for it. Thanks so much if you can help.


-Dadkid101
http://internetometer.com/image/34674.png

Offline

 

#2 2012-03-16 08:48:52

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: Embedding The Flash Player and project in my website

This is the code for embedding a project on a website using a Scratch player.

Code:

<object width="483" height="387" type="application/x-shockwave-flash" data="http://scratch.mit.edu/static/misc/PlayerOnly.swf">
   <param name="allowScriptAccess" value="always">
   <param name="allowFullScreen" value="true">
   <param name="flashvars" value="project=http://scratch.mit.edu/static/projects/[username]/[project id].sb?version=1">
</object>

where you replace [username] and [project id] with the proper values, respectively.


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#3 2012-03-16 16:13:12

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: Embedding The Flash Player and project in my website

This does not work with IE.

Since IE is used by more than half of people that surf the web, this code is worthless.

I'm still waiting for a solution that works for IE as well as the other browsers.

Last edited by BoltBait (2012-03-16 16:14:36)


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

Board footer