Hi,

Q. Help me to know why flash CS3 giving error? i check attach fla file
is using AS.1.0, player 6
Q. Check php code if its right.

Currently am using a template and trying to decode it and putting
flash animation on main page
my website i.e. http://www.asim.net.pk
am using Flash CS3 i.e. playing 9 and actionscript 3.0

I download the SWFObject 2 and test it in Flash CS 3.0, during test it
gives error syntax error
#include expression.as ?

after checking help, i want to this code in my php file to test swf
i.e.

--------------------------------------
<?php $var['rain'] = $GLOBALS; ?>
<!-- highlight | generated by RainTPL v 1.0 | www.RainTPL.com -->


<script type="text/javascript" src="http://www.asim.net.pk/templates/
moling/highlight/swfobject.js"></script>
<script type="text/javascript">
        //swfobject.registerObject("flashcontent_other", "9.0.0", "swf/
expressInstall.swf");
</script>
<center>
<div id="flashcontent">
</div>
<br/>
<div id="flashcontent_other1">
</div>
</center>
<script language="JavaScript" type="text/javascript">

        var playerVersion = swfobject.getFlashPlayerVersion(); // returns a
JavaScript object
        var output = "You have Flash player " + playerVersion.major + "." +
playerVersion.minor + "." + playerVersion.release + " installed";
        var pVersion = playerVersion.major + "." + playerVersion.minor + "."
+ playerVersion.release; //alert(output);
        swfobject.embedSWF("http://www.asim.net.pk/templates/moling/highlight/
asimnet.swf", "flashcontent", "638", "200", "9.0",

"http://www.asim.net.pk/templates/moling/highlight/
expressInstall.swf", flashvars, params, attributes );

</script>

<!--/ highlight -->
----------------------------------------

Currently am using following code for playing flash, but it doesnt
detect flash player due to
which on some website not having latest flash player, will not run
flash animation.

Code i.e.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=10,0,22,87" width="638" height="200">

<param name="Asim.Net.Pk" value="asimnet.swf">
<param name=quality value=high>

<embed src="templates/moling/highlight/asimnet.swf" quality=high
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi
?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="638" height="200">

</embed>
</object>

Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to