HOw to display a flash file(.swf) in java? and use what component to contain it(eg. jPanel, jFrame…)
thanks =)
HOw to display a flash file(.swf) in java? and use what component to contain it(eg. jPanel, jFrame…)
thanks =)
dunno, but not related to LWJGL development anyway…
As far as I know it is not possible.
You can try JavaSWF2
http://www.anotherbigidea.com/javaswf/index.html
It just parses the file. You have to create the code to display the stuff.
this is general knowledge btw, i have never had any use of it so I never tried.
You can only use swf’s which are only movies. that IS flash version 2 or under. Unfortunetly, most swf are no where near as good quality as Java games, so you can relax.
My 2 Pence
Hi there,
I’ve “googled” once and found this interesting link:
http://www.javaapis.com/jflashplayer/
Hope that helps.
Unfortunately it’s commercial :(.
This is very off-topic indeed
My suggestions is to use blender3D as a tool. The toughts are:
[quote]HOw to display a flash file(.swf) in java? and use what component to contain it(eg. jPanel, jFrame…)
thanks =)
[/quote]
Ok… As mentioned this is not a LWJGL question, but check out JNIWrapper (www.jniwrapper.com)… You can easily load the activeX/com shockwave player in Java.
There is an evaluation version of JNIWraooer Available that has a demo regarding .swf loading/displaying…