tags:

views:

182

answers:

2

how to load flash swf inside jlabel of swing in java.

A: 

That sounds like a bad idea.

but anyway read lots of java and flash integration on http://www.adobe.com/devnet/java/cross_product_integration.html

Peter
why it is bad idea . if it is really a bad idea gimme alternateve i will drop this idea.
nicky
+2  A: 

You cannot load it as a image in a label, but there is an implementation of embedding Flash in Swing using JFlashPlayer

Note that a previous question, with this and other answers is the first result in a google query for 'flash embed java swing'. Google is often a lot quicker than submitting a question...

CuriousPanda
There's also an external Flash API (not sure whether JFlashPlayer uses that or has its own brew) you could possibly try to interact with. It's a horrible idea nevertheless though and probably more trouble than it's worth. Random inclusion of Flash content is half the reason Adobe's GUIs are so bloody inconsistent.
Alan
+1 for giving the right google search keywords :-)
Fortega