Skip to main content
iezqandarzulqarnaen
Known Participant
October 12, 2017
Answered

How to Embed Action Script 3 with scenes into html

  • October 12, 2017
  • 2 replies
  • 934 views

Hi all,

I have made an interactive factory floor, there's a buttons, external videos and scenes.

Everything is okay when I use .exe for all employee to use since its executable by most all pc,

then my boss suddenly came out with an idea to embed it into our website.

I am new to animate cc & no idea how to achieve it & I hoping to get help from you guys.

I have place all the videos into other folder called "contains" within the source directory.

I have try to publish it to .swf and use below code. The flash is playing but only the 1st scene & no video is played.

<html lang="en">

<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    <title>The HTML5 Herald</title>

    <meta name="description" content="The HTML5 Herald"><meta name="author" content="SitePoint">

    <link href="css/styles.css?v=1.0" rel="stylesheet" /><!--[if lt IE 9]>

    <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>

  <![endif]-->

</head>

<body>

<p align="center"><script src="js/scripts.js"></script><object align="center" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="300" id="movie" width="1550"><embed align="center" height="1080" inspage="http://www.macromedia.com/go/getflashplayer" name="movie" plug="" quality="high" src="production-map-draft-3-270917.swf" type="application/x-shockwave-flash" width="400"></embed><param name="movie" value="production-map-draft-3-270917.swf" /></object></p>

</body>

</html>

All the files can be found here: Index of /test

Thank you.

CC: Colin Holgate​, RandomlyFish​, Preran​, just.emma

This topic has been closed for replies.
Correct answer Colin Holgate

Security issues would be another thing to look at. Do you have your test posted on a web page somewhere? If the videos are coming from another site, does that site's crossdomain.xml include your site as one that is allowed to load content from the site?

See here for an example crossdomain.xml:

http://www.adobe.com/crossdomain.xml

Adobe only allow videos within adobe.com to work if called from one of the listed sites.

2 replies

iezqandarzulqarnaen
Known Participant
October 23, 2017

Hi all,

Any solutions? anyone?

cc: Colin HolgateRandomlyFishjust.emma

Colin Holgate
Colin HolgateCorrect answer
Inspiring
October 23, 2017

Security issues would be another thing to look at. Do you have your test posted on a web page somewhere? If the videos are coming from another site, does that site's crossdomain.xml include your site as one that is allowed to load content from the site?

See here for an example crossdomain.xml:

http://www.adobe.com/crossdomain.xml

Adobe only allow videos within adobe.com to work if called from one of the listed sites.

Colin Holgate
Inspiring
October 12, 2017

There may be other things to fix, but first thing is to include the missing file, MinimaSilverAll.swf. Without that the videos won't load.

iezqandarzulqarnaen
Known Participant
October 13, 2017

Hi Colin Holgate​,

Thanks for the reply. I have upload the MinimaSilverAll.swf on Index of /test, yet the video ain't load.