Why Flash generates .swf from .fla that is not executable inside a PHP page?

Posted on 2013-10-03
Medium Priority
Last Modified: 2013-10-03
Hi Experts!

I don't know the reason  the .swf  Flash generates from .fla is not executable inside a PHP page.

This task had been done with no problem with the previous .fla that received some modifications.... if I use the previous version it runs well accordingly to this evidences:


Could you have a look at this and maybe suggest something?

The .fla is at:


 Thanks in advance!
Question by:Eduardo Fuerte
  • 2
  • 2
LVL 19

Accepted Solution

quizengine earned 800 total points
ID: 39543620
From within Flash, check the 'Publish settings' and the 'Flash Player version' you are publishing to. It may be that the new swf you made targets a newer version of the Flash Player, and the HTML in your PHP page may still be targetting the old version.

If you don't know what any of this means, try going *backwards* through each the 'Flash Player version' settings and publish and test each new swf you make.

Author Comment

by:Eduardo Fuerte
ID: 39543912

If it could clear something:

I installed the last flash player version.

The way flash is fired from within PHP with success in the older .swf nad not with the new   :

<param name="movie" value="siteespiriplug_2012.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#999999" /><embed src="siteespiriplug_2012.swf" quality="high" bgcolor="#999999" width="100%" height="100%" name="siteespiriplug_2012" align="" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

Open in new window

LVL 111

Assisted Solution

by:Ray Paseur
Ray Paseur earned 1200 total points
ID: 39543944
This works for me:
<div id="flasharea" align="center"><center>
			<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="768" height="480">
				<param name="movie" value="http://www.degage.com/splash/link_degage.swf" />
				<param name="quality" value="high" />
				<embed src="http://www.degage.com/splash/degage.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="768" height="480"></embed>

Open in new window

PHP actually has nothing to do with it.  PHP just generates the HTML document that gets sent to the client browser.  If the browser has the latest Flash plug-ins, it should be able to run flash animations.

Author Comment

by:Eduardo Fuerte
ID: 39544040
Hello Ray!

Your code makes it go right!
LVL 111

Expert Comment

by:Ray Paseur
ID: 39544155
Great!  Thanks for the points, ~Ray

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
I recently worked on a Wordpress site that utilized the popular ContactForm7 (https://contactform7.com/) plug-in that only sends an email and does not save data. The client wanted the data saved to a custom CRM database. This is my solution.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

587 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