Why won't flash 9 play when served in SSL (HTTPS)?

Posted on 2008-10-09
Last Modified: 2012-05-06
Trying to develop an app to serve flash content over SSL.  Works fine in the non-SSL dev environment, but requires the user to click "Play" when served in SSL.  Tried setting the "play" variable, allowScriptAccess, and using SWFObject.  Have not tried cross-domain scripting file because all content is served from the same domain.  Any idas would be ___really___.  Need to have answer implemented tomorrow!!

BTW - usng ajax to load data into a content element - see content element below
<div class="ajax">    

    <script type="text/javascript"


    <script type="text/javascript">

    swfobject.registerObject('Attribute Graph', '9.0.0', 


    swfobject.registerObject('IEAttrGraph', '9.0.0', 



    <object id="IEAttrGraph" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height

="325" play="true" loop="false">

        <param name="movie"

               value="" />

	<param name="flashvars"


.Chloride" />

	<param name="play" value="true" />

        <!--[if !IE]>-->

	<object id="Attribute Graph" width="600" height="325"

         align="middle" play="true" loop="false"



	  <param name="flashvars"


.Chloride" />

	  <param name="play" value="true" />


	<p> Please install Flash 9.0 or greater. </p>

        <!--[if !IE]>-->







Open in new window

Question by:didjeridoo
  • 2
  • 2
LVL 44

Expert Comment

ID: 22747092
well, basically secure means secure.  A secure HTTPS page is not going to automatically cause an insecure function to play on the page, which flash is.  It will require user authorization to do this -- if it did not require that, the page would not be secure -- which technically means re-entrable via a back door, and flash is.

Author Comment

ID: 22753583
Thanks for the response.  I believe you are right that there is some issue with security.  However, flash does have a security model (see which includes the ability to play securely delivered swf files.  I would think the problem of playing flash movies/charts over https has been solved before.  Does anyone know how this is done?

I have provisionally solved the problem using a javascript function to call the document.getElement(flashMovieID).Play() method once the page is loaded.

This solution is brittle, however, since it requires a setTimeout javascript call and may not work with slower connections.  Any new information would be greatly appreciated.  Thanks again for taking the time to address this question.
LVL 44

Accepted Solution

scrathcyboy earned 500 total points
ID: 22753948
setTimeOut() is irrespective of connection speed.  If you put the javascript at the end of the document, the seconds "time out" will start ticking from the end of the page load, regardless of the connection speed.  I  see nothing "brittle" about it, almost all rollovers, image animations and page timers use it or setInterval.

Author Closing Comment

ID: 31531502
Unfortunately, extjs asynchronously loads objects, particularly flash objects using swf.  Because of the asynchronous load and the variable speed with which the operations are completed on different platforms, setTimeOut turns out to be brittle.  But I haven't found a better solution.  Thanks.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API ( has made its way into the popular lexicon of the English language.  A few years ago, …
#SSL #TLS #Citrix #HTTPS #PKI #Compliance #Certificate #Encryption #StoreFront #Web Interface #Citrix XenApp
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now