Re: Flash/WebObjects
Re: Flash/WebObjects
- Subject: Re: Flash/WebObjects
- From: Mike Nowak <email@hidden>
- Date: Fri, 10 Nov 2006 08:35:19 -0500
We've done this in one project using Shockwave embedded in a WO app.
I'm guessing Flash is similar. I didn't develop the Shockwave part --
I just did the WO part but basically, the WO app embeds the Shockwave
piece and passes the current wosid in the embedding URL. The
shockwave piece then uses direct action URLs in the WO app to request
information (we pass chunks of XML or pain text back) and to change
the state of the database through the WO app.
The icky part was a scenario where the Sockwave piece needed to open
a dialog-like window generated by the WOapp. It opens a new window
with the contents of a direct action URL. The Shockwave component
then needed to query the WO app periodically to see if the user had
clicked OK or Cancel in this window. During this process, the
Shockwave component locked out its own interface and displayed a
message saying they had to finish with the window and that if they
closed the window without choosing OK or Cancel, they should click
again on the Shockwave window to open another copy of the secondary
window so they can click OK or Cancel. Once they click OK or Cancel
in the WO app-controlled window, there is a slight delay until the
next query from the Shockwave app to the WO app returns an all clear,
then the Shockwave component unlocks its interface and refreshes its
display.
Anyway, that's the technique we used to get these two pieces to talk.
On Nov 9, 2006, at 11:43 PM, Anthony Martello wrote:
I need to integrate a user interface built in Flash with WebObjects
so that the Flash interface is associated with the current user
(through the session). I see that in a recent post Chuck Hill
mentioned that he has done this before. Can Chuck or someone else
explain how this is done? How do I pass data from and to the Flash
interface using WebObjects? What are the main steps? Code examples
of any Java, JavaScript, HTML, ActionScript, etc. would be very
helpful. :)
Thanks,
Anthony Martello
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40umich.edu
This email sent to email@hidden
--
Mike Nowak
Work: http://chcr.umich.edu/
Personal: http://snackdog.org/
"Embrace your inner biker."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden