Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 71465 invoked from network); 25 Apr 2003 11:41:49 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 25 Apr 2003 11:41:49 -0000 Received: (qmail 14646 invoked by uid 97); 25 Apr 2003 11:43:47 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 14639 invoked from network); 25 Apr 2003 11:43:47 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 25 Apr 2003 11:43:47 -0000 Received: (qmail 69928 invoked by uid 500); 25 Apr 2003 11:41:34 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 69912 invoked from network); 25 Apr 2003 11:41:33 -0000 Received: from 24.213.60.109.up.mi.chartermi.net (HELO front3.chartermi.net) (24.213.60.109) by daedalus.apache.org with SMTP; 25 Apr 2003 11:41:33 -0000 Received: from [24.236.147.147] (HELO DC193111) by front3.chartermi.net (CommuniGate Pro SMTP 3.5.9a) with SMTP id 191409951 for tomcat-user@jakarta.apache.org; Fri, 25 Apr 2003 07:41:32 -0400 Message-ID: <001d01c30b1f$9e6d97e0$6501a8c0@DC193111> From: "Mark Pease" To: "Tomcat Users List" References: Subject: [OT] Re: using Macromedia Flash and javabeans Date: Fri, 25 Apr 2003 07:41:32 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Mike, This is quite a bit to explain via an email... basically, with Flash, you can either have it get data by using POSTs and GETs: in XML format... XML.load XML.send XML.sendAndLoad in parameters format (a=1, b=2, etc.) LoadVars.load LoadVars.send LoadVars.sendAndLoad or by establishing an XML socket connection: XMLSocket... If you use the .load/.send/.sendAndLoad commands, you can simply use JSP to write to and read from your Java Beans. To do that, pick up a book on JSP and start reading! With this approach, Flash always has to initiate the communications, whether it be reading data or writing it. If you use the XMLSocket, you will need some pretty extensive Java code running on the backend to establish and support the socket connection. I started with a chat application that I saw in a Java Servlets book, then started hacking away so that it would work with Flash, and changed the code to work the way I needed it to. The advantage here is that either the Java code or Flash can send updates whenever they want. Hope that helps! Mark ----- Original Message ----- From: "Michael Ni" To: Sent: Wednesday, April 23, 2003 4:11 PM Subject: Re: using Macromedia Flash and javabeans > do you have any examples on how this works? i have some data in my > javabeans that i want to extract into the Flash. How do i pull that > information off the java bean? > > mike > > > >From: "Mark Pease" > >Reply-To: "Tomcat Users List" > >To: "Tomcat Users List" > >Subject: Re: using Macromedia Flash and javabeans > >Date: Wed, 23 Apr 2003 16:09:19 -0400 > > > >I am doing it, but through either JSP or Servlets, which interface with the > >Java Beans. > > > >----- Original Message ----- > >From: "Michael Ni" > >To: > >Sent: Wednesday, April 23, 2003 4:03 PM > >Subject: using Macromedia Flash and javabeans > > > > > > > has anyone gotten their Flash programs to interact with their Java > >beans? > > > or is this possible without ColdFusion MX? > > > > > > mike > > > > > > > > > > > > > > > > > > _________________________________________________________________ > > > MSN 8 with e-mail virus protection service: 2 months FREE* > > > http://join.msn.com/?page=features/virus > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > _________________________________________________________________ > Add photos to your messages with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org