Playing flash file using java
Hi all,
i need to play a flash(*.swf) file within my desktop application. can anyone help me with a sample code.
Thanks in advance
Ravisenan
here a way to that for windows..
http://www.javaapis.com/jflashplayer/
java can load quicktime, and quicktime can play swf files..
try to search about that..
goodluck!
Nywled
Similar Messages
-
How to play flash files in java swings
Hi All ,
I have a requirement in java swings , i want to play advertisements ( flash files in swings )
can any one provide any example for the above requirement .
Thank you all for sharing knowledge in this great forum .
JerryI have a java desktop application which is actually a
kiosk application. I have to run some promotion
videos in my application when no user is using the
kiosk.Will the kiosks all be running the same OS?
The reason I ask is that JMF is available in both
standard and performance pack versions. The PP
provides a wider variety of formats, but runs only
on Win. and *nix.
videos can be any avi or neother which can easily be
played in java applications.That is handy. The JMF standard pack provides
support for a number of flavors of AVI, but not all.
What is the best way for me to play video files in a
java application??I would suggest checking if the 'standard' version
of the JMF can play* the current AVI's. If it can, use
the standard JMF for the project, if not, look to
converting the AVI's to something the JMF can
deal with, this might involve storing the video or
audio of the AVI's in a different format - you
might have to experiment to get the right
combination, but the JMF 'supported formats'
is a good guide.
http://java.sun.com/products/java-media/jmf/2.1.1/formats.html
* To check if JMF can play them, install it and
try loading the AVI's in JMStudio - the default
player. -
JMStudio locks up playing sound file - using java 1.5.0_02 - HELP!
I'm using the jmf 2.1.1e cross platform version on Windows XP SP2. I have java 1.5.0_02 installed.
When I open the sound file using JMStudio it locks up. It plays videos that don't have sound fine, so it's not the video. It's the sound that is killing it.
Does anyone have any suggestions?Hi,
yeah it's possible to play sound on Windows but you have to use the Windows Performance Pack instead of the crossplatform-version of JMF.
This has to do with the JavaSound Architecture of Java 5.0. They made changes and now the JavaSound Renderer didn't work under Windows but the DircetSound Renderer works fine.
So be sure that your application uses the DirectSound Renderer!
This is one of the main problems of JMF but now Sun gets interested in JMF and they would build a new version of JMF. If this is true they have to fix this problem!
Best regards, thomas -
How to play movie file using java tv
hi,
i am trying to play movie file(.mov or mpg or mp3) using java tv in linux plotform and also using jmf jar.
problem is while running appear black screen and getting exception or errors like
Unable to handle format: ima4, 480x320, FrameRate=25.0, Length=460800 0 extra bytes
Thank in advWell...
I don't know how to load and play a video with JavaTV. But I've seen some posts telling that .mpg files aren't accepted by the JavaTV.
Some people said that I had to use .avi files and these .avi files, if they were converted from a .mpg file, must had been converted with the Cinepack technology, but I don't know how to do this.
If you find out how to load and play a video, I'd like to know, please send me an email or access my page and post there in the comments, so I can continue doing my application with a video.
[]'s
Cauane B.S.
Computer Science
CNPq Researcher - TVDi
http://cauanebs.blogspot.com
UCPel - Pelotas - RS -
Hi all,
i need to play a flash(*.swf) file within my desktop application. can anyone help me with a sample code.
Thanks in advance
RavisenanWhoah! Does this mean that (by using this utility) you can play flash files anywhere you have Java installed? Because as I recall Macromedia's stuff is proprietary (i.e. not necessarily platform independent). For example, only Windows PDA's can play flash files. But if I can put Java on a non-Windows PDA and play Flash like that, I'd be interested to know.
-
Playing Flash File in Oracle Forms 9i
Hi there,
I used to Play flash files in Forms using active x controls. But they are no more there.
So how can I include a flash file in my forms using Oracle Forms 9i.
Plz help me.
ThanksAli,
you would need to find a Java Bean environment to play Flash (quasi a flash runtime in java). this then can be added as a Java Bean to Forms.
Check the Java Media Framework
http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=MEDIA+FRAMEWORK&col=java&col=wireless
Frank -
Flash programming using Java!
I found there are tools to compile .net applications to SWF movies that can be run by Flash.
Are there any similar tools for Java, which can compile Java programs into SWF files?
Looking for a way to write my Flash movies using Java...
Thanks :)see if this is useful
http://www.anotherbigidea.com/javaswf/
Thanks, but I wanted to find a way to use Java syntax instead of Actionscript syntax when programming SWF files...
Basically a compiler similar to javac, but which produces swf binaries instead of .class binaries. -
How to read pdf files using java.io package classes
Dear All,
I have a certain requirement that i should read and write PDF files at runtime. With normal java file IO reading is not working. Can any one suggest me how to proceed probably with sample code block
Thanks in advance.hi I also have the pbm. to read pdf file using JAVA
can any body help meWhy is it so difficult to read the thread you posted in? They say: java.io is pointless, use iText. So why don't you?
or also I want to read a binary encoded data into
ascii,
can anybody give me a hint how to do it.Depends on what you mean with "binary encoding". ASCII's binary encoding, too, basically. -
Create crystal report file using JAVA
Can someone tell me how to a Create crystal report file using JAVA Programming
I want a very simple examplePlease help me. It's urgent.[http://catb.org/~esr/faqs/smart-questions.html#urgent]
Be back in an hour or two... -
How to create and edit a .ini file using java
Hi All...
Pls help me in creating and editing an .ini file using java...
thanks in advance
Regards,
sathyaLet's assume the ini file is a mapping type storage (key=value) so lets use Properties object. (works with java 1.4 & up)
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Properties;
public class Test {
private static Properties props;
public static void main(String[] args) throws IOException {
File file = new File("test.ini");//This is out ini file
props = new Properties();//Create the properties object
read(file);//Read the ini file
//Once we've populated the Properties object. set/add a property using the setProperty() method.
props.setProperty("testing", "value");
write(file);//Write to ini file
public static void read(File file) throws IOException {
FileInputStream fis = new FileInputStream(file);//Create a FileInputStream
props.load(fis);//load the ini to the Properties file
fis.close();//close
public static void write(File file) throws IOException {
FileOutputStream fos = new FileOutputStream(file);//Create a FileOutputStream
props.store(fos, "");//write the Properties object values to our ini file
fos.close();//close
} -
How to print a text file using Java
How can I print a text file using Java without converting the output to an image format. Is there anyway I can send the characters in the text file as it is for a print job? I did get a listing doing this ... but that converted the text to an image format before printing....
THanks,.Hi I had to write a print api from scratch, and I did not convert the output to image. Go and read up on the following code. I know there is a Tutorial on Sun about the differant sections of the snippet.
private void printReport()
Frame tempFrame = new Frame(getName());
PrintJob printerJob = Toolkit.getDefaultToolkit().getPrintJob(tempFrame, "Liesltext", null);
Graphics g = printerJob.getGraphics();
//I wrote the method below for calculations
printBasics(g);
g.dispose();
printerJob.end();
}This alone wont print it you have to do all the calculations in the printBasics method. And as I said I wrote this from scratch and all I did was research first the tutorial and the white papers
Ciao -
How to read the data from Excel file and Store in XML file using java
Hi All,
I got a problem with Excel file.
My problem is how to read the data from Excel file and Store in XML file using java excel api.
For getting the data from Excel file what are all the steps i need to follow to get the correct result.
Any body can send me the code (with java code ,Excel sheet) to this mail id : [email protected]
Thanks & Regards,
Sreenu,
[email protected],
india,If you want someone to do your work, please have the courtesy to provide payment.
http://www.rentacoder.com -
How to create a table in the file using java code.?
HI,
I should export the data from the view objects to a word document. I have done that but I should
display the data in the form of a table.
Kindly come up with the necessary information on how to create a table in the file using java.
Thanks,
PhaniHi, Thank you for responding to my query.
The below are the details of my code.
DCBindingContainer dcBindings =
(DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding StudentDetailsContent =
(DCIteratorBinding)dcBindings.get("StudentView1Iterator");
OutputStreamWriter w = new OutputStreamWriter(outputStream, "UTF-8");
Row currentRow =
StudentDetailsContent.getRowSetIterator().first();
Object a[]= currentRow.getAttributeValues();
int i;
for(i=0 ;i<=a.length;i++){
w.write(a.toString());
w.write(" ");
w.flush();
I am usning this coding to achieve the task of exporting data to file.
I need to display this information in the table that is where I need help from you people.
Thanks, -
How do i search for a string in a txt file using java??
How do i search for a string in a txt file using java??
could you please help thanks
JRegular expressinos work just fine, especially when
searching for patterns. But they seem to be impying
it's a specific group of characters they're looking
for, and indexOf() is much faster than a regex.If he's reading from a file, the I/O time will likely swamp any performance hit that regex introduces. I think contains() (or indexOf() if he's not on 5.0 yet) is preferable to regex just because it's simpler. (And in the case of contains(), the name makes for a very clear, direct mapping between your intent and the code that realizes it.) -
How to convert a HTML files into a text file using Java
Hi guys...!
I was wondering if there is a way to convert a HTML file into a text file using java programing language. Likewise I would also like to know if there is a way to convert any type of file (excel, power point, and word) into text using java.
By the way, I really appreciated the help that you guys gave me on my previous topic on how to extract tests from a pdf file.
Thank you....HTML files are already text files. What do you mean you want to convert them?
I think if you search the web, you can find things for converting those MS Office files to text (or extracting text from them, as I assume you mean).
Maybe you are looking for
-
Trackpad slow when playing games.
After the Lion upgrade, the trackpad function while playing Hoyle Board Games is diminished. When I double tap to move a card automatically, it takes a second to move or won't do anything. Weird. Anyone know a reason for this. The trackpad works fine
-
TS1967 I downloaded the latest upgrade of iTunes. Now iTunes won't open at all.
I just downloaded the latest upgrade of iTunes (v64). It seemed to download without problems but now IT WILL NOT OPEN AT ALL. Anyone else have this problem?
-
Can no longer see my inbox or my other e-mail accounts
I have 3 e-mail accounts on my iphone 4....I've got my work e-mail, my gmail and my icloud mail. I used to be able to click on the Mail app and it would go straight into the list of mailboxes that I have. I could click on a mailbox and it would go
-
How to delete translation of portlet repository
We are using Oracle Portal 10.1.4. with two languages (English and Czech). We have a problem with portlets. If we use only one language in the page group we have both language versions of portlets there (depending on the language environment of the e
-
How to override component default events
How to override the scroll panel default click event to custom event.