| Author |
Message |
|
|
vi-gb
Joined: Jun 24, 2009
Messages: 1
Offline
|
Hi!
I need to show a swf file in a java desktop system, please anyone knows how can I do that?
Sorry my english is not so good.
There is my code.
import java.io.InputStream;
import java.net.URL;
import com.jswiff.SWFDocument;
import com.jswiff.SWFReader;
import com.jswiff.listeners.SWFDocumentReader;
public class ReadMovie
{
public static void main( String[] args ) throws Exception
{
SWFReader swfRead = new SWFReader(getFile("C:/myFile.swf"));
swfRead.read();
SWFDocumentReader swfDocRead = new SWFDocumentReader();;
swfRead.addListener(swfDocRead);
SWFDocument swfDocu = swfDocRead.getDocument();
}
public static InputStream getFile(String sFile){
try{
URL uFile = new URL(sFile);
String fileName = uFile.getFile();
InputStream is = uFile.openStream();
return is;
}
catch (Exception e){
System.out.println("Error: "+e.getMessage());
return null;
}
}
}
|
But when I execute this code, this error happen:
java.lang.UnsupportedClassVersionError: Bad version number in .class file
Thanks
|
|
|
 |
|
|
AlexYu
Joined: Nov 10, 2009
Messages: 51
Offline
|
iOrgsoft video converter is just the ideal program for you
iOrgsoft video converter is a simple-to-use software that can do what you required. Not only you can view your downloaded Limewire files on it, but also you can convert these files to MP4, H.264, MP3, AAC, WAV, AIFF that compatible with iPod with fast conversion speed and best output quality. If you want the downloaded files to be put on other portable devices, like iPhone, iRiver, BlackBerry, PSP etc, this application can also allow you to convert them to other file formats like AVI, WMV, MOV, MPG, FLV, SWF, MKV, 3GP, AC3, AMR, M4A, MKA etc.
iOrgsoft video converter can also assist you in editing the files according to your specific program needs. The built-in editing features such as crop, trim, effect can help you make your personalized files. Besides, you can also set the output parameters such as Resolution, Frame Rate, Encoder and Bitrate for video and Sample Rate, Channel, Encoder and Bitrate for audio in order to accommodate various types of iPods like iPod Classic, iPod Touch, iPod Nano and iPod Shuffle etc. All this with a few mouse clicks, fell free to try.
|
DVD to iMovie
Video Converter
Movie Converter for Mac |
|
|
 |
05/03/2010 05:19:37
|
Subject: REPLAY
|
|
|
doinggo
Joined: Mar 5, 2010
Messages: 6
Offline
|
Do you have encountered such situations:Have many of DVDs,especially some favorite,however you don't know how to enjoy them
on your portable devices or other hard disc.Such as on iPhone, iPhone 3G, Sony PSP, PS3, YouTube (web), iRiver PMP, Archos
and PMPs;And also don't know how to share them on the Youtube,myspace etc.
Well before I also met these issues,through my friends recommended,I knew the powerful[url=http://dvd-ripper-for-mac.com/]
DVD Ripper for Mac[/url].This kind of conversion software can help you solve above problems.In addition
to this,It provides you a series of powerful and easy to use movie edit functions such as triming,cropping frame
size,merging,adjustin effect,choosing subtitle,etc.
So if you have the same trouble,I really hope my recommendation can help you.
|
|
|
 |
|
|
|
|