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

#1 2011-08-21 08:35:56

Rahi-Tak
Scratcher
Registered: 2010-08-10
Posts: 15

Embedding *Flash* Projects on sites

http://externalthinking.weebly.com/test.html

This is the website for my team's games, and I'm trying to get flash projects to go on it. I found that RHY was able to get his projects on it, so I copied his HTML code and pasted it on my site but with my project instead of his.* When I tested the webpage, it began to load, then gave me a "securityError". Any advice?

LINKS:
http://wobsite.tk/games/contrast/
^RHY's games work fine

http://externalthinking.weebly.com/test.html
^securityError




*Please note that I tried it first with only his code, and it loaded fine


http://fc02.deviantart.net/fs71/f/2012/130/b/8/rahi_banner_by_rahi_tak-d4zaqtr.png

Offline

 

#2 2011-08-22 07:41:25

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Embedding *Flash* Projects on sites

try this code instead:

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/Rahi-Tak/1971799.sb?version=1"></object>

credit to s_federici for the code above - http://scratch.mit.edu/forums/viewtopic.php?id=63087.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

Board footer