This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Applets and the fly likes Embedding Flash into Java? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Applets
Reply 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: 354

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: 35439
    
    9
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.


Android appsImageJ pluginsJava web charts
Jay Orsaw
Ranch Hand

Joined: Jun 14, 2011
Posts: 354

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: 35439
    
    9
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: 4437
    
    2

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: 354

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: 8565

Jay Orsaw wrote:.. Idk what ...

Please UseRealWords


[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Embedding Flash into Java?
 
Similar Threads
Parameter Passing in Java
Flash Movie in Java Applet
To Flash or Java that is the question!
Alternative to MS Paint
Swing Applets on Public Site?