Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / May 2006



Tip: Looking for answers? Try searching our database.

Put PHP Content into Dynamic Text Field

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gena.wenli - 30 May 2006 02:15 GMT
How do I put the contents of a php document into a dynamic text field in a Flash document? Thanks.

G
Motion Maker - 31 May 2006 17:09 GMT
Do you mean an html document generated from a PHP script?
Do you mean the source of a PHP script?

Probably you mean you want to format a page such as a PHP script would do.
That is done either manually inside a Flash movie or dynamically via
Actionscripting. Then you only send data back and forth between PHP and
Flash using either the LoadVars or the XML Actionscript classes. You can use
HTML inside of Flash TextField objects but again that will be data sent from
the PHP server script.

Here are some basic examples I use in Flash seminars you can look at:

http://www.hosfordusa.com/ClickSystems/courses/flash/examples/LoadVars/LoadVarsE
x01.php


http://www.hosfordusa.com/ClickSystems/courses/flash/examples/LoadVars/Ex02/Load
VarsEx02.php


http://www.hosfordusa.com/ClickSystems/courses/flash/examples/GenerateFlashObjec
tsFromPHP/Ex01/GenerateFlashObjectsFromPHPEx01_Doc.php


http://www.hosfordusa.com/ClickSystems/courses/flash/examples/XMLPHP/EX01/XMLPHP
EchoEx01_Doc.php


You also want to look at the docs for LoadVars and XML sendAndLoad methods:

XML http://livedocs.macromedia.com/flash/8/main/00002879.html
LoadVars http://livedocs.macromedia.com/flash/8/main/00002336.html

Signature

Lon Hosford
www.lonhosford.com
May many happy bits flow your way!

How do I put the contents of a php document into a dynamic text field in a
Flash document? Thanks.

G
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.