# How to write text in flash using PHP?

**URL:** <https://forum.kirupa.com/t/how-to-write-text-in-flash-using-php/150087>\
**Category:** flash\
**Created:** [June 3, 2005, 4:52pm UTC](https://forum.kirupa.com/t/how-to-write-text-in-flash-using-php/150087 "2005-06-03T16:52:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![magnastik](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@magnastik](https://forum.kirupa.com/u/magnastik)\
**Post date:** [June 3, 2005, 4:52pm UTC](https://forum.kirupa.com/t/how-to-write-text-in-flash-using-php/150087/1 "2005-06-03T16:52:02Z")

</div>

Hi 🙂  
It is possible writing to a dynamic text field in flash using PHP without calling the PHP from the flash?  
I don’t want use the loadvar function, just load a regular swf with a dynamic text field and write a php line and write to the field.  
Like:

This should be the HTML code:  
\<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase=“[http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0)” height=“344” width=“256”\>  
\<param name=“movie” value="(EmptyReference!)"\>  
\<param name=“quality” value=“best”\>  
\<param name=“play” value=“true”\>  
\<embed height=“344” pluginspage=“[http://www.macromedia.com/go/getflashplayer](http://www.macromedia.com/go/getflashplayer)” src="(EmptyReference!)" type=“application/x-shockwave-flash” width=“256” quality=“best” play=“true”\>  
\</object\>

and then… below…

the php like this:  
\<?php  
print ("$text\_field=Text experience!");  
?\>

Thanks,  
MagNastiK
