Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QTJava and Flash interactivity



Thanks <again> Ryan,

I was pretty close. What I'm doing is setting up a
getUrl with the url of "http://printMe"; and then in
Java looking through the string for "printMe". Is
that the basic flow?

Before I was sending "printMe" as the URL and kept
getting a quicktime.util.UtilException. Added
"http://"; and all was well.

Is this the only way to do it? I need to be able to
tell our flash designers (and our Java Developers) how
to work with flash animation in Java.

In your application do you basically send everything
like "http://command"; or have you found a different
way that works?

Thanks for ALL the help!


Peace,

Dave.

--- Ryan Francesconi <email@hidden> wrote:
> as i mentioned in the first email - you're going to
> be passing strings out
> of your interface, catching the strings in the
> action filter - you're going
> to parse that string, then do something based on
> that. there is no way that
> i'm aware of to directly call a java method from
> within your interface
>
> i would suggest creating an event listener so that
> your java classes can
> register themselves with your action filter to
> receive events they want --
> you will need to parse those strings coming in from
> your flash interface and
> create an event object in that case.
>
> you can use getURL pass the string you want - just
> remember to return false
> at the end of your execute method. use the execute
> signature that i gave you
> for getURL. that's all you need to know - you don't
> need the other ones,
>
> rf
>
>
>
> > That is exactly what we are tryinig to do. My job
> is
> > doing some prototyping..... Right now, I've
> created a
> > button in Flash, but I'm not sure what type of
> > "action" to attach to it. I can do a GetUrl and
> > handle that event in Java. However, I believe it
> > would be beneficial to send something other than a
> > getUrl.
> >
> > So what I'm wanting to do is click a button,
> handle it
> > by having Java do something. So it would be nice
> to
> > be able to send some type of 'command' (or
> something I
> > could interpret as a command in Java).
> >
> > What I don't understand is what type of filter to
> use
> > for the different Flash actions. I understand how
> to
> > get a GetUrl, but at this point, that is about it.
> >
> > Thanks for all you help...it has been wonderful.
> Any
> > suggestions are greatly appreciated!
> >
> > Peace,
> >
> > Dave.
>
>


=====
David Mullens
Java Programmer
Marion, IN
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com


References: 
 >Re: QTJava and Flash interactivity (From: "Ryan Francesconi" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.