File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes Embedding Flash into Java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Embedding Flash into Java?" Watch "Embedding Flash into Java?" New topic
Author

Embedding Flash into Java?

Jay Orsaw
Ranch Hand

Joined: Jun 14, 2011
Posts: 356

So I'm not sure if I should post this here or in the Applet section, but I have a client who wants to put flash into an applet I'm making for him. I would assume it would be a Java in general thing, so again the question is can I embed flash into a Java program?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
There used to be a few Java libraries that could play Flash content, but those haven't been updated in years. So for all practical purposes the answer is: no, it's not possible.


Ping & DNS - my free Android networking tools app
Jay Orsaw
Ranch Hand

Joined: Jun 14, 2011
Posts: 356

Ulf Dittmer wrote:There used to be a few Java libraries that could play Flash content, but those haven't been updated in years. So for all practical purposes the answer is: no, it's not possible.


Well why not >(. IF they exist, even if old, they should be able to work?

I found this.

http://djproject.sourceforge.net/ns/documentation/javadoc/chrriis/dj/nativeswing/swtimpl/components/JFlashPlayer.html

I also found this on google http://stackoverflow.com/questions/221218/embedding-flash-flex-component-into-java-app

They talk about EasyJCom and xulrunner?

Also I've been thinking about JavaFX, could that do it? I know you can embed web browsers, so even if you couldn't exactly embed the flash directly, couldn't you embed the webpage, with flash, into FX? Why would I want to do this I'm not 100% sure, but I'm just doing work for someone who has these crazy ideas sooo... .
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
Being old is this context means that they implement early version of the Flash specification. E.g., JMF can handle Flash version 2, whereas QuickTime for Java can handle Flash version 5. Both have been superceded years ago, and are no longer much in use. That's what I mean by "for all practical purposes".
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4646
    
    5

Why flash? Ever since Steve Jobs banned it from IOS years ago, its use has been decreasing daily. Plus, its an evil format, full of bugs.

Jay Orsaw
Ranch Hand

Joined: Jun 14, 2011
Posts: 356

Yeah Idk what this dude is wanting, but I don't think I will need it. Thanks for the help!
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10167
    
    8

Jay Orsaw wrote:.. Idk what ...

Please UseRealWords


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
Consider Paul's rocket mass heater.
 
subject: Embedding Flash into Java?
 
Similar Threads
Flash Movie in Java Applet
Swing Applets on Public Site?
To Flash or Java that is the question!
Alternative to MS Paint
Parameter Passing in Java