Oh yeah, Flash has a really cool class called ExternalInterface which allows Flash > Javascript communication. You can call a Javascript function from Flash - pretty neat - so you can read in JS variables and also set them.
Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team >>-----Original Message----- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Cary Ho >>Sent: Tuesday, June 05, 2007 10:10 AM >>To: [email protected] >>Subject: Re: [Flashcoders] Child Object positions >> >>Wow, flash is pretty flexible. Well, we use struts, so its >>java with servlets/jsps. Can flash use javascript? I use dwr >>a lot, so I wouldnt mind passing objects that way. Also, do i >>need to buy more to accomplish this or is it built into flash? TIA! >> >>Merrill, Jason wrote: >>>>> I do have another question. I need my flash application to >>>>> communicate to the servers. Its an applications that updates data >>>>> server side. How is the accomplished in flash? >>>>> >>> >>> Many many different ways - what server side scripting is >>available to >>> you? C#? PHP? JSP? ASP? ColdFusion? Java? VBScript? >>> What database is available to you? You'll need to use server-side >>> scripting to connect to the database. >>> >>> Once you have the database and server-side scripting set >>up, you can >>> use the Flash Webservices classes, Flash Remoting, LoadVars, or >>> getURL()/Get/Post, etc. - several ways in Flash - to >>connect to the >>> server-side scripts. >>> >>> I've tried several of those methods in Flash and personally found >>> Webservices (WSDL) with C# .NET the easiest and most >>flexible way to >>> communicate with server-side scripting. It's not the >>smallest packet >>> transfer since it's SOAP (XML format), but it's very >>flexible and easy >>> and allows for complex data types to be transferred. The >>Webservice >>> classes will get you started, just google webservices and >>Flash. Then >>> you need to set up a WSDL Webservice in your server-side script. >>> >>> Remoting is also a good way, but I found it overly complex and >>> somewhat buggy at times (at least combined with ColdFusion). >>> >>> Jason Merrill >>> Bank of America >>> GT&O Learning & Leadership Development eTools & Multimedia Team >>> >>> >>> >>> _______________________________________________ >>> [email protected] >>> To change your subscription options or search the archive: >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>> Brought to you by Fig Leaf Software >>> Premier Authorized Adobe Consulting and Training >>> http://www.figleaf.com http://training.figleaf.com >>> >>> >> >>_______________________________________________ >>[email protected] >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >>Brought to you by Fig Leaf Software >>Premier Authorized Adobe Consulting and Training >>http://www.figleaf.com http://training.figleaf.com >> _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

