I want to display an image developed in flash (ie .swf extension) in my java application.I had tried with JMF2.1,but JMF2.1 supports till flash 2 only.Kindly help me to display advance flash application in my Java Application? I need your help very much. I am so grateful if somebody get back to me as early as posible. Thanking very much, Javed
Hi Javed Do you need to display the flash image in a webpage?If so copy and paste the code that is generated by flash in the html page,in the place where you want the image to be,and ensure that all your .swf files are in the root directory, eg:if your page is in /html/demoapp/yourpage.html then the swf files shouls be in the demoapp directory. Hope that helps.
Joined: Dec 20, 2000
Hello Raghu, Thanks for response,but I don't want to display it in Webpage,Basically I wants to run flash application in my standalone Java application. For example I am having a hello.swf file and I wants to display it in a Java Frame not in applet or webpage. Kindly get back to me as early as posible. Thanks Javed
Unless someone has developed a Flash viewer in Java (which is very unlikely, especially given the patent issues involved) you're really out of luck, unless you want to write a lot of native code to host the plug-in. Hmmm. Maybe have a look at what the Jazilla project is up to regarding plug-ins (http://jazilla.sourceforge.net).
Nasty solution - look at Jacob or other Java COM bridge products to see if you can put IE as an activex control on a Java page. We had a couple variations of this *almost* working and decided the requirements didn't really call for it.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
subject: How to display flash file(.swf) in java application?