Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (754)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Importing flash images/videos into a java game.  (Read 1628 times)
0 Members and 1 Guest are viewing this topic.
Offline Fukushousha

Junior Newbie

« Posted 2006-11-15 09:16:37 »

Hey all , the topic says it all.I was asked this question by a friend and I honestly did not know if and how it is possible?To import .swf into java ... just like we import images for a 2D game?Is it possible?My only experience has been with 2d tile-based games , so I could not answer his question.If anyone is able to help me here I would be grateful.
Offline CommanderKeith
« Reply #1 - Posted 2006-11-15 09:56:23 »

I've heard of it being done using Runtime.exec(...) by a person in the java forums, you'll have to google it.  I haven't heard of a flash API for java. 

Actually, I think you could use the JDIC API to play Flash.  I just tried the JDIC browser test provided on their site and it opened the flash animation on without any problems!  Wow, that opens up a lot of possibilities!

Here's the browser test webstart link:

And its on the JDIC homepage:

Good luck using JDIC though, I'm still trying to build it  Undecided .  Its not as user friendly as JOGL.


Offline Fukushousha

Junior Newbie

« Reply #2 - Posted 2006-11-15 10:16:20 »

Thanks for the helpfull reply Smiley

I am gonna take a look at it now and decide accordingly Smiley
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline c_lilian

Senior Devvie

Projects: 1

Java games will probably rock someday...

« Reply #3 - Posted 2006-11-15 10:17:51 »

JDIC : be aware of its lack of support. Every release brings unfortunately new problems in the Swing-heavyweight integration. I suggest using the release from june 2006.

Flash integration : there was a pure java player released a year or two ago, but I can't remember its name (JFlash seems dead)

Lilian Smiley

Offline zero

Junior Devvie

« Reply #4 - Posted 2006-11-15 10:51:53 »

Doesn't JavaMediaFramwork support swf playback?

Well, probably not an up-to-date version..  Undecided
Pages: [1]
  ignore  |  Print  

DesertCoockie (33 views)
2018-05-13 18:23:11

nelsongames (75 views)
2018-04-24 18:15:36

nelsongames (70 views)
2018-04-24 18:14:32

ivj94 (752 views)
2018-03-24 14:47:39

ivj94 (82 views)
2018-03-24 14:46:31

ivj94 (622 views)
2018-03-24 14:43:53

Solater (98 views)
2018-03-17 05:04:08

nelsongames (179 views)
2018-03-05 17:56:34

Gornova (405 views)
2018-03-02 22:15:33

buddyBro (1065 views)
2018-02-28 16:59:18
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!