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:
http://livedocs.adobe.com/flash/9.0/main/00004601.html
http://weblogs.macromedia.com/jd/archives/2004/03/flash_c-level_e.cfm
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
of.
If it has to be a desktop app you should be looking at Adobe
AIR as a delivery mechanism:
Check it out on
http://labs.adobe.com/.

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

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

  • How to play flash in java

    Hi,
    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...
    http://forums.sun.com/thread.jspa?threadID=506237

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

    Hi,
    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
    applications?.
    thanks

    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
    Sudha

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

    Hi
    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 - http://forums.adobe.com/community/flash/flash_general).
    PZ

  • How To Download a File into your desktop application

    Hello,
    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.
    http://jimmyflex.blogspot.com/2008/08/download-server-file-with-air.html
    -Marty [ http://www.theflexguy.com ]
    Helpful/Answered? Don't forget to mark it that way.

  • How to close 100 documents in CS5 desktop application

    Hi,
        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;
                             FileUtils::PMStringToIDFile(sTemplatePath,idTemplateFile);
                              docUIDRef = objLHelper.OpenDocument(idTemplateFile,uiFlags);
         2.Importing template native xml on document.
    3.Saving document as
                            IDFile idDocFile;
                           FileUtils::PMStringToIDFile(sDocpath,idDocFile);
                           objLHelper.SaveDocumentAs(docUIDRef,idDocFile,uiFlags);
    4.And Closing document as         IDocFileHandler::CloseCmdMode cmdMode = IDocFileHandler::kSchedule;
             objLHelper.CloseDocument(docUIDRef,kFalse,uiFlags,kFalse,cmdMode);
    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?
    Thanks
    Qamar

    Hi,
        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
    2.open document by calling javascript
    var myDocument1 = app.open("E:\\Templates\\MyDoc.indt",false);
    2.Save by sceond javascript call
    if(app.documents.length != 0)
            var activedoc = app.documents[0];
            activedoc.save("E:\\Templates\\MyDoc.indd");
    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];
             activedoc.close();
    Hopefully helpfull to such problem.
    Thanks
    Qamar

  • 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);
        air.navigateToURL(urlReq);
    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

  • Time Capsule & iTunes

    Hi, I just purchased a 2TB time capsule and a MB Air and I am having some issues. I plan on using the TC as backup and also wanted to park my music there to share with the rest of the family since I can not host the files on my 128gb drive The backup

  • How to automatically activate a third party application upon MAC startup on OSX 10.9.5?

    I am trying to automatically activate a downloaded application upon the startup of the computer.  This particular app is one that works in the background. Thanks for the help

  • Select SAP's product or another OLAP tool and why?

    Hi Experts, In an effort to validate my opinion of SAP BW/NetWeaver Capability - In terms of flexibility, KPI Development, and Predictive Analytics, If you had to decide, would you select SAP's product or another OLAP tool and why??

  • Ex. Witholding Tax (TDS) : Quarterly Acknowledgement on Certificate

    Dear Experts, i have mentioned Quarterly Acknowledgement in the table J_1IEWT_ACKN_N. But when i print the certificate, i do not get that quarters acknowledgement printed OR mentioned on the Certificate. could you please help ASAP.

  • Error -1 helpppppp

    Hi, i tried to update firmware of my iphone 4s to ios 5.1 but at the end itunes sand error -1. iphone stay in dfu and don't start. if exit to DFU nabually iphone goes in loop... any idea?! help me help me help me!!!!!! Bye