• Post Reply Bookmark Topic Watch Topic
  • New Topic

open Flash in Java  RSS feed

 
omar bili
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
can i play or add a Flash component(MovieClip) to a JFrame or JPanel
like if it was an Image.
Best, BILI
 
sasi kala
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi bili,
We are also in the same process, ie finding a way out to play a flash file in the JPanel. We are trying to do this with the help of the JMF that is being provided by sun.

plz go through this link.

http://forum.java.sun.com/thread.jspa?threadID=605662&start=10&tstart=0

regards
sasi
 
omar bili
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi SaSi
There is a way i don't know if it will help you, but you can run the flash movies as an EXE application by doing :

Runtime.getRuntime.exec("name of the flash program") ;
Thanks for replying to me
Omar
 
sasi kala
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi billi,

we can't do in that way because our requirement is to display the flash file and some user controls in the same window. If we use Runtime class it will execute that flash file in another window.

we can include flash file in html page by using <object> and <embed> tags but JEditorPane doesn't support <embed> tag. we trying it in many ways but didn't get the right answer.

can any one help us. please.

sasi.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!