Posted under » Flash on 18 July 2011

One of my favourite uses of flash, passing variables from PHP to flash. One way is to use flashvars.

This is a simple flash usage without the use of animation or media. If you use dreamweaver CS5 for example, it will generate codes that is unecessarily long that flashvars will fail. If possible publish the .swf as version 8 and use actionscript 2. Copy and paste from the web tutorials on flashvars, for example.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100" height="100">
<param name="movie" value="login.swf">
<param name="FlashVars" value="user='.$eyedee.'">
<embed src="login.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100" height="100" flashvars="user='.$eyedee.'"> </embed>


web security linux ubuntu python django git Raspberry apache mysql php drupal cake javascript css AWS IOT