call function by flash button

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can you pls tell me How to call any function from flash button ?

Code is as under :

<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="111" height="40">
          <param name=movie value="Auction/animal.swf">
          <param name=quality value=high>
          <param name="BGCOLOR" value="#FF9933">
          <embed src="Auction/animal.swf" quality=high 
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod
_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="111" 
height="40" bgcolor="#FF9933">
          </embed> 
        </object>


"Now from this flash button how to call the function "available_cattle""

<?
function available_cattle()
{
	global $conn, $chk_arr;
	$query= "select name, village, dt, breed, types where 
kiosk_nm='$AUTH_USER' and flag='n'";
	$result=pg_exec($conn,$query) or die("No data");
	$numrows=pg_numrows($result)-1;
	If($numrows>0) 
	{
	?>
	<p><b><font face="Lmg-arun" size="5">N}WF/F 5|F6LVM</font></b></p>
	<table width="75%" border="3" bordercolor="#993333">
  <tr> 
    <td> 
      <div align="center"><b><font face="Lmg-arun" color="#000000">J[RF. 
UI[,</font></b></div>
    </td>
    <td> 
      <div align="center"><b><font face="Lmg-arun" 
color="#000000">GFD</font></b></div>
    </td>
    <td> 
      <div align="center"><b><font face="Lmg-arun">UFD</font></b></div>
    </td>
    <td> 
      <div align="center"><b><font face="Lmg-arun">TFZLB</font></b></div>
    </td>
    <td> 
      <div align="center"><b><font face="Lmg-arun">HFlT</font></b></div>
    </td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<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="190" height="46">
    <param name=movie value="button4.swf">
    <param name=quality value=high>
    <param name="BGCOLOR" value="#FF9933">
    <embed src="index_image/button4.swf" quality=high 
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod
_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="190" 
height="46" bgcolor="#FF9933">
    </embed> 
  </object>
</CENTER>
	<?
	}
}
?>

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux