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 / July 2006



Tip: Looking for answers? Try searching our database.

load/send XML data via HTML form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
skeeter1 - 26 Jul 2006 21:43 GMT
I currently have a Flash app that gets populated by parsing data from an
external XML file. However, I need to get the XML data into a (JSP) session and
can't neccesarily have an external XML file--any suggestions? Can I put the XML
string into a hidden input field in a form on the HTML? Can Flash communicate
with that HTML? Or are one of the below methods recommended:
* FlashVars
* Flash Remoting
* Web services
* JavaScript - call JS function
* fscommand
* ExternalInterface

I've been working with Flash for years, but somewhat new to the above topics
and advanced AS....

Thanks,
-Pete
Motion Maker - 28 Jul 2006 14:41 GMT
If the XML is static, you can place the XML inside the Flash Movie versus
placing inside an HTML file. You can use the XML parse method to break it up
for use as an XML object.

However if you are communicating with a server then get the XML data from a
server script that maintains the session.

Look at XML class and the load or the sendAndLoad methods for examples.

Signature

Lon Hosford
www.lonhosford.com
Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com
May many happy bits flow your way!

>I currently have a Flash app that gets populated by parsing data from an
> external XML file. However, I need to get the XML data into a (JSP)
[quoted text clipped - 17 lines]
> Thanks,
> -Pete
 
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.