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

#1 2012-01-16 14:24:43

Purika
Scratcher
Registered: 2011-01-26
Posts: 100+

Embeding Flash games

It would be awesome if we could add our projects to other sites using the Flash player since there are a number of projects which only work with the Flash player.

Supporters:
Purika
CheeseMunchy
HiddenPerson
ImagineIt

Last edited by Purika (2012-01-19 16:38:56)


https://lh3.googleusercontent.com/-ZlPXbnYAtro/TxRNNopA6XI/AAAAAAAAAvY/worvlbyfCYI/s589/Purika.gif
If I was three birds, I could see myself fly below us!  big_smile

Offline

 

#2 2012-01-16 14:37:18

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

Re: Embeding Flash games

That's something I was gonna suggest.  big_smile


6418,

Offline

 

#3 2012-01-16 15:38:18

Purika
Scratcher
Registered: 2011-01-26
Posts: 100+

Re: Embeding Flash games

CheeseMunchy wrote:

That's something I was gonna suggest.  big_smile

Awesome!


https://lh3.googleusercontent.com/-ZlPXbnYAtro/TxRNNopA6XI/AAAAAAAAAvY/worvlbyfCYI/s589/Purika.gif
If I was three birds, I could see myself fly below us!  big_smile

Offline

 

#4 2012-01-16 15:39:07

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Embeding Flash games

It's already possible. Do you want me to teach you how?


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#5 2012-01-16 15:40:00

Purika
Scratcher
Registered: 2011-01-26
Posts: 100+

Re: Embeding Flash games

bobbybee wrote:

It's already possible. Do you want me to teach you how?

Yes, please! That would be awesome!  big_smile


https://lh3.googleusercontent.com/-ZlPXbnYAtro/TxRNNopA6XI/AAAAAAAAAvY/worvlbyfCYI/s589/Purika.gif
If I was three birds, I could see myself fly below us!  big_smile

Offline

 

#6 2012-01-16 15:41:14

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Embeding Flash games

Alright. Gotta dig out some code. By the way, is the project you are embedding on the scratch site or not?


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#7 2012-01-16 15:46:54

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Embeding Flash games

Code:

<object width="483" height="387" type="application/x-shockwave-flash" data="scratch.mit.edu/static/misc/PlayerOnly.swf">
    <param name="allowScriptAccess" value="always"/>
    <param name='allowfullscreen' value='true'>
    <param name="flashvars" value="project=PROJECTNAMEHERE.sb?version=1"/>
</object>

I support the Free Software Foundation. Protect our digital rights!

Offline

 

#8 2012-01-16 15:55:14

Purika
Scratcher
Registered: 2011-01-26
Posts: 100+

Re: Embeding Flash games

bobbybee wrote:

Code:

<object width="483" height="387" type="application/x-shockwave-flash" data="scratch.mit.edu/static/misc/PlayerOnly.swf">
    <param name="allowScriptAccess" value="always"/>
    <param name='allowfullscreen' value='true'>
    <param name="flashvars" value="project=PROJECTNAMEHERE.sb?version=1"/>
</object>

Thanks! What do you mean by PROJECTNAME?  smile


https://lh3.googleusercontent.com/-ZlPXbnYAtro/TxRNNopA6XI/AAAAAAAAAvY/worvlbyfCYI/s589/Purika.gif
If I was three birds, I could see myself fly below us!  big_smile

Offline

 

#9 2012-01-16 17:57:53

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Embeding Flash games

The .sb for the project (the file)


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#10 2012-01-16 18:11:25

elfin8er
Scratcher
Registered: 2012-01-15
Posts: 1000+

Re: Embeding Flash games

Hmm. This would be a good idea. BTW, bobbybee, can I publish a post with your code? I'll give you credit!


http://i1340.photobucket.com/albums/o723/stevetheipad/goldlittlesig.png

Offline

 

#11 2012-01-16 18:16:01

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Embeding Flash games

This will definitely come in 2.0, but remember, currently it's a beta flash player.

Offline

 

#12 2012-01-16 18:23:41

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Embeding Flash games

@elfin8er
You can, but I don't think that I originally wrote it. I think there is something like it in the wiki. (if not the same)

@kayybee
I suppose it will.


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#13 2012-01-16 18:31:05

HiddenPerson
Scratcher
Registered: 2011-12-26
Posts: 100+

Re: Embeding Flash games

Support!


http://strangemaps.files.wordpress.com/2007/03/population1024x512.png

Offline

 

#14 2012-01-16 18:33:51

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Embeding Flash games

@HiddenPerson
Support? I posted how to do it!  smile


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#15 2012-01-16 18:33:51

elfin8er
Scratcher
Registered: 2012-01-15
Posts: 1000+

Re: Embeding Flash games

bobbybee wrote:

You can, but I don't think that I originally wrote it. I think there is something like it in the wiki. (if not the same)

Ok. Well then I'm sure there already is a topic somewhere.


http://i1340.photobucket.com/albums/o723/stevetheipad/goldlittlesig.png

Offline

 

#16 2012-01-16 18:50:52

HiddenPerson
Scratcher
Registered: 2011-12-26
Posts: 100+

Re: Embeding Flash games

bobbybee wrote:

@HiddenPerson
Support? I posted how to do it!  smile

Where? I didn't know!


http://strangemaps.files.wordpress.com/2007/03/population1024x512.png

Offline

 

#17 2012-01-16 18:55:52

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Embeding Flash games

@HiddenPerson
Above!


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#18 2012-01-16 18:57:03

HiddenPerson
Scratcher
Registered: 2011-12-26
Posts: 100+

Re: Embeding Flash games

HiddenPerson wrote:

bobbybee wrote:

@HiddenPerson
Support? I posted how to do it!  smile

Where? I didn't know!

Nevermind. Thanks bobbybee!


http://strangemaps.files.wordpress.com/2007/03/population1024x512.png

Offline

 

#19 2012-01-17 17:25:55

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Embeding Flash games

Your Welcome.


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#20 2012-01-17 18:19:57

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

Re: Embeding Flash games

bobbybee wrote:

Code:

<object width="483" height="387" type="application/x-shockwave-flash" data="scratch.mit.edu/static/misc/PlayerOnly.swf">
    <param name="allowScriptAccess" value="always"/>
    <param name='allowfullscreen' value='true'>
    <param name="flashvars" value="project=PROJECTNAMEHERE.sb?version=1"/>
</object>

I wish I could get this to work, but I can't.

When I put this on a web page, it just never loads and never shows the player.


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

 

#21 2012-01-17 19:23:16

elfin8er
Scratcher
Registered: 2012-01-15
Posts: 1000+

Re: Embeding Flash games

The code should be automatically included in the embed section of a scratch project.


http://i1340.photobucket.com/albums/o723/stevetheipad/goldlittlesig.png

Offline

 

#22 2012-01-17 20:22:57

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

Re: Embeding Flash games

elfin8er wrote:

The code should be automatically included in the embed section of a scratch project.

Currently, this only works for the Java player, not the Flash player.


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

 

#23 2012-01-17 20:35:32

elfin8er
Scratcher
Registered: 2012-01-15
Posts: 1000+

Re: Embeding Flash games

BoltBait wrote:

elfin8er wrote:

The code should be automatically included in the embed section of a scratch project.

Currently, this only works for the Java player, not the Flash player.

That's what I'm saying. The flash player code should be included as well.


http://i1340.photobucket.com/albums/o723/stevetheipad/goldlittlesig.png

Offline

 

#24 2012-01-19 16:30:24

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: Embeding Flash games

Support!  big_smile

Last edited by ImagineIt (2012-01-19 16:30:37)

Offline

 

#25 2012-01-19 16:39:17

Purika
Scratcher
Registered: 2011-01-26
Posts: 100+

Re: Embeding Flash games

ImagineIt wrote:

Support!  big_smile

Thanks!  big_smile


https://lh3.googleusercontent.com/-ZlPXbnYAtro/TxRNNopA6XI/AAAAAAAAAvY/worvlbyfCYI/s589/Purika.gif
If I was three birds, I could see myself fly below us!  big_smile

Offline

 

Board footer