Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: Flash Player Java Edition Bugs? |
From: | Paul F. Snively |
Date: | Thu, 16 Jul 1998 22:35:14 +0100 |
Hi, Slavik!
I'm not familiar with the "FlashAPI" classes. Are they documented anywhere?
Many thanks for the reply,
Paul
> -----Original Message-----
> From: ownershocker [dot] com [ownershocker [dot] com]On">mailto:ownershocker [dot] com]On Behalf Of Slavik
> Lozben
> Sent: Thursday, July 16, 1998 12:07 PM
> To: flashershocker [dot] com
> Subject: RE: Flash Player Java Edition Bugs?
>
>
> Have you tried using the FlashApi classes. It sounds like you need to use
> the api classes instead of the Applet classes.
>
> -- Slavik
>
> > -----Original Message-----
> > From: ownershocker [dot] com [ownershocker [dot] com]On">mailto:ownershocker [dot] com]On Behalf Of Paul F.
> > Snively
> > Sent: Thursday, July 16, 1998 10:09 AM
> > To: flasherchinwag [dot] com
> > Subject: Flash Player Java Edition Bugs?
> >
> >
> > Hi folks!
> >
> > I'm a software developer attempting to integrate the Flash Player Java
> > Edition into my Java code. In order to do this I needed an
> > implementation of
> > the AppletContext and AppletStub interfaces, which I got from Gamelan. I
> > modified the code slightly to accomplish a few goals:
> >
> > 1) Extends Panel rather than Frame, because I want my movies to
> live in a
> > window instead of being one.
> > 2) Removed Frame-specific code.
> > 3) Added property getters and setters, no-argument constructor, and
> > addActionListener/removeActionListener methods, and wrote
> > URLEditor.java and
> > FlashPlayerBeanInfo to make my wrapper a JavaBean for the sake of
> > (hopefully) easy integration into JavaBean editors such as Visual
> > Cafe. Also
> > attempted to add serialization/deserialization support, but Macromedia's
> > applet isn't serializable.
> > 4) Implemented showDocument(URL url) method, which attempts to
> > take a "URL"
> > of the form "ActionEvent:ID=ACTION_PERFORMED&Command=whatever"
> > and construct
> > the appropriate ActionEvent from it, sending it to all registered
> > ActionListeners. The point here is that the Flash author should
> be able to
> > embed these special URL's in their Flash movies and trigger
> arbitrary Java
> > code in the embedding software this way, using the standard ActionEvent
> > "command" mechanism to select which action to take.
> >
> > Now here's the kicker:
> >
> > When I create the appropriate manifest file and use jar to create my
> > FlashPlayer.jar, the resulting jar loads into BeanBox fine, and
> > if I select
> > it from the palette and click in the designer window, up comes a Flash
> > movie--but so far, the only movie that I've pointed my player to that's
> > played successfully is Macromedia's own
> > <http://www.macromedia.com/uber.swf>! If I edit my code so that
> > the default
> > movie is anything else, the player typically throws a
> > NullPointerException,
> > although the exact misbehavior seems to have some randomness.
> >
> > I'm including FlashPlayer.java, URLEditor.java, and
> > FlashPlayerBeanInfo.java
> > in the hopes that some other Java programmer out
> there--preferably whoever
> > wrote Macromedia's applet!--will be able to lend a hand in tracking down
> > this bug. This is having a serious impact on me, as a client has the
> > expectation that their standalone Java program will play Flash movies!
> >
> > Many thanks,
> > Paul Snively
> > <psnivelyrdoor [dot] com (mailto:psnivelyrdoor [dot] com)>
> >
>
>
> ------------------------------------------------------------------------
> To UNSUBSCRIBE send: unsubscribe flasher in the body of an
> email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
> N.B. Email address must be the same as the one you used to subscribe.
> For info on digest mode send: info flasher to list-managershocker [dot] com
>
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
Replies
RE: Flash Player Java Edition Bugs?, Slavik Lozben
Replies
RE: Flash Player Java Edition Bugs?, Slavik Lozben
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]