How to play flash in an C++ desktop application?

I am designing an application that is written in C++ but a
quarter of the screen has to play flash so that the flash part can
communicate with Flash Media Server to get FLV video playing, how
can this be done?
Is there a class in C++ that is able to 'play' flash? and at
the same time communicate with flash?

Well, there is the C level extensibility library:
But I don't think that will get you quite what you want,
becuase there is no C class that embeds Flash Player that I'm aware
If it has to be a desktop app you should be looking at Adobe
AIR as a delivery mechanism:
Check it out on

Similar Messages

  • How to play flash player in I pad

    How to play flash player in I pad

    IOS device do not support Flash
    However Skyfire, Photon, iSwifter, Browse2Go and Puffin Web Browser will provide limited Flash capability

  • 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 .

    I 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.
    * To check if JMF can play them, install it and
    try loading the AVI's in JMStudio - the default

  • How to play flash in java

    I have a installer in java swing. I was wondering,is there some way by which I can play a flash animation file inside this app.
    I searched on google,but couldn't find anything that lets you play flash embedded in java swing.
    Anybody,any clues???

    You can play them using JMF. But i think it supports only flash version 2.

  • HOW to play flash inside java application program

    Do java provide any API for playing flash inside java application ?Pleae give me some help about it .Thank You ..

    pingyi wrote:
    Do java provide any API for playing flash inside java application ?Pleae give me some help about it .Thank You ..bro... I found out there from the internet... but you need to purchase it.
    hope it meets your expectation...
    JFlashPlayer is a Flash Player API Java package that lets developers play and interact with Adobe? Flash Player movies within Java applications. Advanced animations can improve the user experience and add to the professional appearance of an application. JFlashPlayer allows programmers to quickly add Flash movies to their Java application development for Windows.taken from: JflashPlayer

  • Playing Flash movie in my java application

    Hello All,
    I want to play mini flash movies in my desktop java application...
    is this possible ???
    Thanks in advance.

    similar with... these pages hope could be used for your answer...

  • How to start/stop/restart a java desktop application from remote machine

    I want to know is there a way in java where i can start/stop/restart a java desktop application running on a remote machine through another java desktop application?
    For e.g i have an Admin console which monitors its clients based on socket communication, all of them are java desktop applications. I want to also give start/stop remote clients through my Admin console.
    I am thinking in terms of windows system service which can start/restart/stop my clients on request of Admin console, but how can i call this system service remotely?
    How can i do it?

    I got it. its about connection...

  • How to allow multiple instances of air desktop application

    hi all
    Adobe air desktop application only allow single instance of
    application. How to allow multiple instances like in other desktop

    Thanks a lot morgair, i will check with exe4j tool.
    Actually the problem is, thread is not waiting for second request.
    thatswhat i thought it may because of thread.
    Thanks & Regards

  • How to make a installation file in desktop application??

    hello everybody,
    Actually i want to make a installation file for a desktop application.I know there are some thirdparty software vendors who are providing that. Let me know if any other tool is there in java to make a installation file for any desktop application.
    Thanx in advance

    well im not sure if there is an application but i do know you can use .bat files to open applications if your not sure what a .bat file is just msg back and ill explain and ill also do a example if you want so just ask ok soon ill rellase a link to my web-page so you can ask me stuff there soon and you can anwser other peoples questions

  • How to Play/Pause All for Adobe Air Application using AS3 in Flash CS4?

    I am new to Flash and I'm creating an educational application in AS3 in Flash CS4 for Adobe Air. I want to use buttons to play and pause all content (movieclips AND sound).
    I have created play and pause buttons that worked by switching the frame rate between 0 and 20, unfortunately I've realised that it's never really 0fps but rather 0.01fps and so it continues playing, albeit very very slowly. Also this doesn't affect the audio; I have set sound files to Stream which are synced to movieclips on their timelines, but even when the application is set to 0fps the audio continues.
    Since I have various levels with numerous movieclips each with synced audio, what i'd like is to be able to do is pause absolutely everything within each movieclip with one button and to be able to resume from the same place using another button. Is this possible? If not, is there a global function to pause/resume the entire application/program?
    Thanks in advance for your help!

    Its possible but you would need to tell each movieclip and audioclip to play/pause. You can create a for loop inside your mouse event function to find each movieclip and pause/play its timeline and a separate for loop for audio clips. Also instead of setting fame rate to 0 for pause just use a stop() command.

  • How to play flash video for 40 secs and then display webpage automatically?

    I have made a webpage, i want to show a flash video for 40 seconds when the page is opened. Then the Flash video should dissapear and the web page shall open. How should i do this?

    This would require the use of actionscript placed inside the flash video, which would then redirect to the main site after the required time.
    (to find out how to do this you would be better advised in the flash forum -

  • How To Download a File into your desktop application

    I am attempting to have an AIR application use a webservice XMLCollection when online, but what I would like to do is also provide an AIR application for download. I think that the AIR application is using the files installed locally, what I would like to do is have the AIR application check to see if it is online and then download a file (and store it for later offline use) if it is to get the latest information?
    Anyone have an example of how to do this? I just can't wrap my head around it.

    You aren't the first person to ask that question.  Here's a great blog post with a simple example to get you going.
    -Marty [ ]
    Helpful/Answered? Don't forget to mark it that way.

  • How to close 100 documents in CS5 desktop application

        I have list of document e.g 100 and want open,flow,save and closed it.
        The step i have taken is
       1.Opening a document as
                             SDKLayoutHelper objLHelper;
                             UIFlags uiFlags = K2::kSuppressUI;
                             IDFile idTemplateFile;
                              docUIDRef = objLHelper.OpenDocument(idTemplateFile,uiFlags);
         2.Importing template native xml on document.
    3.Saving document as
                            IDFile idDocFile;
    4.And Closing document as         IDocFileHandler::CloseCmdMode cmdMode = IDocFileHandler::kSchedule;
    But problem is that indesign unable to close document instantlly due which memory is going up and indesign crashing at the end.
    What should to do?

        I have found solution of my problem.It is something trikey but it working fine.
    As a beheviour of indesign desktop cannot possiable to do that so you can do as
    1.For example you have 100 documents in your for loop document by calling javascript
    var myDocument1 ="E:\\Templates\\MyDoc.indt",false);
    2.Save by sceond javascript call
    if(app.documents.length != 0)
            var activedoc = app.documents[0];
    3.Get a document index no and by that achive a document pointer by using one script provider event that will used in the C++ code
    if(app.documents.length != 0)
            var activedoc = app.documents[0];
            var s = activedoc.toSource();
            var ret = app.speak(s);
    4.And finally closed the document
    if(app.documents.length != 0)
            var activedoc = app.documents[0];
    Hopefully helpfull to such problem.

  • How to open a url from a desktop application

    Hi this may seem like a very easy question but all the topics online point to the following code....
    var url = "http://www.adobe,com";
        var urlReq = new air.URLRequest(url);
    However when I try to use this I keep getting an 1120 error saying that a definition for air could not be found.
    Can someone please give me some fast direction?

    I tried your suggestion...
    Then after hitting myself in the head multiple times I came to say thanks
    I really appreciate the help.

  • How to play HLS stream in flex

    i aim to create a flex mobile application for iOS platform,which will play videos of streaming form.
    as i kown,only Http Live Streaming(HLS) is supported on iOS, then how to realize the playball of video of HLS form?
    if i have a valid m3u8 playlist url,how to play it in my flex mobile application?can anybody help or give me some advices?
    i will be thankful!

    GRag and Mesh are correct. You cannot use Flex to access a file on a user's hard drive, which is where your path is pointing.
    Instead, create a folder within your Flex project, under the "src" folder (example: src/assets/videos), and put the SWF there. Change the path in your code to point to the new location, like "assets/videos/myVideoFile.swf". Note that you don't refer to the src folder; it is the "root" of your application, and when you deploy all your files to your web server, you will be copying the folders you created to the root folder of your web server. So, all the paths will remain consistent. Flex will attempt to find "assets/videos/myVideoFile.swf", starting from the "root", or location, of the application itself.

Maybe you are looking for

  • Cannot submit reviews on iPad (retina)

    Two different fails occur. Both are similar. Upon clicking "write a review" I am prompted to enter my account info. Sometimes this will get me to the text box for the review, sometimes it will not. If i am able to get to the text box, upon completing

  • Message sent using invalid number of digits. Please resend using 10 digit number or valid short code. Msg 2114

    Message sent using invalid number of digits. Please resend using 10 digit number or valid short code. Msg 2114 How can this be fixed? Most of my numbers are saved as 7 digit

  • Including initrd image in kernel

    Hi, first of all I hope this is right forum section for this post, otherwise please move it. The beginner's guide ( - tcpio.conf) states that one can include the image generated by mkinitcpio in the kernel to ha

  • Tool pallets in CC 2014 disappearing and/or ghosting - Yosemite?

    Even since I installed Yosemite my tool pallets have been acting up. They work for a while and then when i leave Ill to go get a file or find something on the web, i come back in the right side or top pallets are gone. Today they added a new alternat

  • GNU/Linux news sites?

    Where are you getting your GNU/Linux news from? I'm already reading LWN and Slashdot. I try to avoid Phoronix because it's a poorly written tabloid (a quote from a recent article that I saw there: "At this point in the Linux enthusiast stage, quantit