C++ API to generate SWF files

I have C++ application which should generate presentation in
Flash. It should allows me to embed video data and play it as well.
I know about libming and sswf libraries but they don't look very
functional. Any comments?

Hi PakodaRam,
You don't need to generate a SWF file for every MP4 and FLV
file -- for example, you could have one SWF file (running in Flash
Player in a web browser) that acts as a video player for all your
video files.
The SWF file lives on the web server and is sent over HTTP to
Flash Player running in a web browser (or to AIR, or to Flash Lite
running on a mobile device). The SWF file creates a connection to
an FMS application over RTMP (see the NetConnection ActionScript
class). Once the connection is made, the SWF file can ask the FMS
application for any video on the server (see the NetStream class).
FMS streams the video files to the SWF file.
In other words, the SWF file lives on the web server and the
video files live on FMS. (Flash Media Interactive Server does have
a C++ plug-in architecture that lets it retrieve files over HTTP,
but most people should store their video files on FMS using either
local or network storage).
You're right about your options for creating SWF files -- but
since you don't need to create 1000s of SWFs, you'll probably be OK
going with Flash CS3 or Flex Builder if you want to use an
authoring tool.
HTH,
Jody

Similar Messages

  • How to import a in InDesign generated swf file into flash pro

    My Flash Pro does not allow to import the in InDesign CS 5.5 generated swf file.
    Any suggestions?

    Like this?
    movieholder.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF);
    import fl.display.ProLoader;
    var fl_ProLoader:ProLoader; 
    //Mit dieser Variable wird verfolgt, ob Sie die SWF-Datei laden oder entladen möchten
    var fl_ToLoad:Boolean = true; 
    function fl_ClickToLoadUnloadSWF(event:MouseEvent):void
        if(fl_ToLoad)
            fl_ProLoader = new ProLoader();
            fl_ProLoader.load(new URLRequest("http://www.helpexamples.com/flash/images/image1.jpg"));
            addChild(fl_ProLoader);
        else
            fl_ProLoader.unload();
            removeChild(fl_ProLoader);
            fl_ProLoader = null;
        // Umschalten, ob die SFW-Datei geladen oder entladen werden soll
        fl_ToLoad = !fl_ToLoad;

  • Changes to Xcelsius affects already generated SWF file??

    HI ,
    I have encountered different problem. I have created a xcelsius dashboard with webi data using live office.
    I have exported to swf file.
    after exporting  in swf , if i do some changes to xcelsius file, like ,if i change the drag down component and its values then that component is not working in swf file,
    kindly advice me whether wht i am thinking is right or not. I understood that after saving the xcelsius and exporting to swf file. If u edit the same xcelsius file, this new changes wont be effecting the previously generated swf file. IS this correct?

    Hai
    Have u enabled the refresh option in Live office data connection in usage tab.
    Check it.
    Once u change the data .Go to Live office Properties->Application Options->General Tab --- >Enable all items.
    then export it to portal(Infoview).Now check the Data.
    Since u r Exporting to Flash files.Once it is Exported,again if u r Changing the data means,again u need to export it to Flash
    Hope it Helps U
    Thank u
    Naveen

  • How to generate SWF file with dynamic data but no live connection

    Hello,
    We got a requirement where we have to email out SWF file either in PPT or outlook generated from BOBJ universe. When the file reaches the customer who would be outside our network with no access to our servers or data should be able to view the swf file with data. So the goal is to generate these files automatically and should not prompt for BOBJ login or wouldn't have ability to query the database but need to report data pertaining to the customer.
    Any help in this regards is greatly appreciated.
    Thanks
    Manohar

    Hi Manohar,
    You can use QAAWS(query as a web services) and build your queries on universe.
    You get an option of hardcoding the user id and password in the data connection for QAAWS which will not asks the users for login credentials.
    This will hepl the user to veiw the latest data from the database and the user wont be asked for login too.
    Thanks,
    Amit.

  • Generating .swf file

    I am unable to generate the .swf file when I try to preview. When I click preview i get a message "Generating Swf" then a short time letter I get a message "Xcelsius has stopped working"
    I am using Xcelsius 2008 version 5.0.0.99 on windows vista home premium. Thanks

    Hi Chris,
    Is this happening with all the dashboard or any specific dashboard?
    Have you installed SP1 for Xcelsius 2008?
    Incase you have not installed, please install SP1 for Xcelsius 2008 and then try to preview the dashboard.
    Thanks,
    Amit Mathur.

  • Adobe Flash CS5 generating SWF file size more then fla file?

    Hi,
    I have developed a video player in adobe flash cs4 and used all vector arts but when I open this fla file in Adobe Flash CS5 and published it, the swf file size more then fla file.
    Please see the details below -
    Adobe Flash CS4 -
    Index.fla file size: 523 KB
    Index.swf file size: 55 KB
    Adobe Flash CS5 (Same file when open in CS5 and published)
    Index.fla file size: 183 KB
    Index.swf file size: 215 KB
    Please suggest.
    Thanks & regards
    Sunil Kumar

    Not working!
    Thanks
    Sunil Kumar

  • How to generate swf file automatically on server ?

    Hi. I'm new to flash and i've just learnt how to use OSMF to build a flash player. My question is very basic and i hope to put it as clearly as i can:-
    Now i can create a flash player from flash builder. But in order to point to a new location for the video, i need to recreate the swf from flash builder. So how would i generate a new swf or change the video address on the server when a user uploads a new video. Of course i can't afford to build the project in flash builder myself every time a video is uploaded !
    I think the answer incldes flex, that's why i'm asking here. Thank you.

    For what you're using it for, it sounds like you would do better to create one SWF that can have different data fed into it, either by loading external data such as XML, or by using application paramters (flashVars). Use this data to determine the correct location of the video.
    However, it is possible to compile server side using the mxmlc and/or compc compiler. For example, I use Apache Ant to compile themes on the server-side, which then get loaded into an app at runtime. IMHO, this method should only be used for compiling "resources," and not used for compiling "information," as your post suggests.

  • Process with RenderPDFForm using Java API not generating output file

    I have a short-lived process that renders a PDF/HTML form based on input parameters. It also takes a .xdp file as input. This works just fine from with
    in Workbench (9.0). I have created a Java client to invoke this process. When I invoke the process from the Java Client,
    it is not creating the output file. When I look at the invocation response, I see the output parameter (output file) name, but it is null.
    Here is my code.
    Properties connectionProps =
    new Properties(); 
    connectionProps.setProperty(
    "DSC_DEFAULT_SOAP_ENDPOINT", "http://hostname:8080");connectionProps.setProperty(
    "DSC_TRANSPORT_PROTOCOL","SOAP"); 
    connectionProps.setProperty(
    "DSC_SERVER_TYPE", "JBoss"); 
    connectionProps.setProperty(
    "DSC_CREDENTIAL_USERNAME", "username"); 
    connectionProps.setProperty(
    "DSC_CREDENTIAL_PASSWORD", "password"); 
    //Create a ServiceClientFactory object
    ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
    //Create a ServiceClient object
    ServiceClient myServiceClient = myFactory.getServiceClient();
    //Create a Map object to store the parameter value
    Map params =
    new HashMap();
    File file =new File("C:/test1/test.xdp");File ofile =
    new File("C:/TestProcess.pdf"); 
    //String formName = "RD410-4.xdp";
    InputStream inFile =new FileInputStream(file);OutputStream oFileStream =
    new FileOutputStream(ofile); 
    byte[] cData = "".getBytes(); 
    Document inputData =
    new Document(inFile); 
    // Document outputData = new Document(oFileStream);
    inputData.passivate();
    params.put("Form", inputData);params.put(
    "FormId", "12");params.put(
    "RevId", "12");params.put(
    "OutputType", "PDF");params.put(
    "targetSubmission", "http://localhost:8090/LCWebProject/HandleData");params.put(
    "param1",1);
    InvocationRequest invokeRequest = myFactory.createInvocationRequest(
    "MyApplication10/Processes/RenderForm", //Specify the short-lived process name
    "invoke", //Specify the operation name
    params,
    //Specify input values
    true); //Create a synchronous request
    InvocationResponse invokeresponse = myServiceClient.invoke(invokeRequest);
    Document encryptDoc = (Document) invokeresponse.getOutputParameter("outputFile"); 
    //Save the encrypted PDF document returned by the process
     //Save the password-encrypted PDF document
    File outFile =new File("C:\\test1.pdf");encryptDoc.copyToFile (outFile);
    I see the output parameter "outputFile" in the invokeresponse object. But it is null.
    Can anyone guide me in the right direction ?
    Thanks,
    Jyothi

    I am not giving the solution, providing you a hint..
    This is the query you need to satisfy,
    SELECT NVL(R.DESCRIPTION ,CP.USER_CONCURRENT_PROGRAM_NAME)
    FROM FND_CONCURRENT_REQUESTS R, FND_CONCURRENT_PROGRAMS_VL CP,XDO_DS_DEFINITIONS_B XDS
    WHERE ( ( FND_PROFILE.VALUE('CONC_REPORT_ACCESS_LEVEL') = 'U'
    AND R.REQUESTED_BY = :$PROFILES$.USER_ID ) or
    ( FND_PROFILE.VALUE('CONC_REPORT_ACCESS_LEVEL') = 'R'
    AND R.RESPONSIBILITY_ID = :$PROFILES$.RESP_ID ) )
    AND R.PROGRAM_APPLICATION_ID = CP.APPLICATION_ID
    AND R.CONCURRENT_PROGRAM_ID = CP.CONCURRENT_PROGRAM_ID
    AND XDS.APPLICATION_SHORT_NAME=
    ( SELECT APPLICATION_SHORT_NAME
    FROM FND_APPLICATION
    WHERE APPLICATION_ID=CP.APPLICATION_ID)
    AND XDS.DATA_SOURCE_CODE = CP.CONCURRENT_PROGRAM_NAME
    AND R.OUTPUT_FILE_TYPE='XML'
    AND R.STATUS_CODE not in ('E', 'D', 'T', 'X')
    ORDER BY R.REQUEST_ID DESC
    Go to system profiles and query for 'Concurrent:Report Access Level', responsibility you need and modify the profile name accordingly....

  • How to export swf file in different versions of flash like (6,7,8,9) ?

    Hi,
        System Specification :
        -XP with SP3
        -MS Office 2003
        -Flash V.10
        -Xcelsius Engage 2008 ( 5.3.0.0 )
        -Xcelsius Build number 12,3,0,670
       When I export output in swf format then xcelsius generating swf file of version 9.  I want to export swf file in different versions of flash like (6,7,8,9) .  I tried to install older versions of flash to do this but I am not able to open xcelsius in older version. I am getting error saying 'Install latest flash player'.
    Is there any way to export  swf files in different  versions?
    Is this build is compatible with only flash 10?
    Thanks,
    Ganesh

    Xcelsius only support Flash version from 9 on. There is no way to export to 6,7 or 8.

  • How to get swf file of any mxml file in flex1.5

    hi all,
    can anybody tell i have one mxml file now when i run this i
    file server generate swf file dynemically ....now my requirement is
    i need that swf file
    so how can i get that swf file from which location i get this
    file......
    plz tell me aasp
    thanks in advance

    Rather than letting the server compile the SWF at request
    time via the URL, you can pre-compile the SWF using MXMLC. Without
    telling you anymore there's information in the docs and an article
    on the Flex devnet about using MXMLC.

  • Dynamic update of swf file

    Hi,
    In an excel sheet I've connected to an SQL server table through 'Import Data' functionality. This excel has been used to create a dashboard in Xcelsius. Whenever the backend data is changed, the excel and the dashboard in Xcelsius is getting updated.
    Is there any way to dynamically update the dashboard in the generated swf file also whenever the backend data is changed?
    Thanks and Regards,
    Shyam.

    Shyam,
    Have a Refresh component in your dashboard and set to refresh the connection in the properties...
    So when ever you click Refresh button...it will refresh your connection and get the latest data in your dashboard.
    Hope this helps...
    -Anil

  • Cannot generate AIR file when exporting from Xcelsius Engage 2008 SP1

    Hi,
    Xcelsius seems to go through the motions - "generating swf file" - but no AIR file actuallly lands in the specified folder in my c:\ drive. I have uninstalled and reinstalled SP! but the problem persists. I have the following already installed:
    1) Flex SDK  3.1 and  the file path to the root directory of the SDK is specified in the sdkPath.dat file.
    2) Java version 1.6
    3) Adobe AIR 1.1.
    Many thanks
    Michael

    Hi - I'm having the same issue with generating an AIR package from Xcelsius 2008 SP1.  My network environment is protected by a corporate firewall and proxy, so I suspect that there are internet resources that are not accessible.  I tried generating an AIR file while connected to my home network, and it worked OK (although, I couldn't access the data feeds on my corporate network). 
    Is there a list of internet resources that Xcelsius needs to access to produce the AIR files?
    Thanks

  • Renamed a .cp file but .swf file still uses old name

    I tried finding where the original file name would be kept in
    the .cp file. The Property window has the updated name, the Publish
    uses the updated name. I checked using notepad and no matching
    string found. I use notepad to view the generated .swf file and the
    old .cp file name is still in there. From the robohelp project in
    the multiMedia folder of swf files, the right click shows the edit
    option. This seems to use swf's stored file name for the .cp file.
    How can I correct this?
    The Captive help indicated a movie file can be renamed by
    simply using widows explorer, nothing else required.

    Seens if you delete the old swf file before you generate the
    new one the new swf file has the current .cp file name.

  • Trusted Local Flex swf files access to internet?

    Hi All,
    We're developing a desktop game client using Flex and require
    a local swf file to make loader calls to the Internet. I know about
    the sandbox issues but have read that placing a text file such as
    myflexapp.cfg into the
    C:\windows\system32\Macromed\Flash\FlashPlayerTrust directory can
    let the Flash player know about swf files that are trusted. The
    file myflexapp.cfg has the absolute path to the directory location
    of my Flex generated swf file - which is the debug directory of my
    Flex project. I also tried targeting the swf file explicitly rather
    than the entire directory.
    When I test, the swf file continues to just quietly fail to
    load any resources from the internet. Also, I do not get any
    warning dialogs telling me that a swf file is trying to access the
    internet and if I wish to allow it. Have I missed something? has
    anyone had any success with using the Global Flash Player Trust
    directory to allow a local Flex generated swf file access to the
    internet? Also I cannot see the mms.cfg file in the
    C:\windows\system32\Macromed\Flash directory as is described in the
    Adobe Flex 3 Help chapter "Overview of permission controls".
    Any thoughts would be greatly appreciated! Thanks in advance
    Regards
    Tom

    hi - does this always work? i have the same question as wanderz. i live in ethiopia where the internet connection is unreliable and want a robust local wirless network that will allow my devices to communicate with each other and some file sharing. ive used a router in the past but, for instance, when the internet connection goes down my ipad no longer works as a remote control for my mac mini
    really grateful for any suggestions

  • Hijack a SWF File

    Using MovieClipLoader I am loading a powerpoint presentation
    that was turned into a swf via OpenOffice into my flash file. The
    generated swf file goes to the next frame when the user clicks and
    I want to disable that and control it with actionscript.
    Any help is appreciated.

    A Flex app is a SWF and is not translated to Javascript.  Many Flex apps do
    use Javascript to handle history management and startup focus.

Maybe you are looking for

  • I can't install Adobe Flash Pro CS 6 on my OSX Mac! Help!

    Every time I try to install Flash Pro CS6 on my mac, I get the following error: "The installation failed - installer failed to initialize.  This could be due to a missing file." I've rebooted the mac, logged as the administrator to install, and got t

  • Set systemwide variable with /etc/launchd.conf does not work in 10.10

    Hi, before i upgraded my system, i set in file /etc/launchd.conf some variables. I need this for the Shell, Eclipse and some other tools. user@osx10-10:~$ cat /etc/launchd.conf setenv M2_HOME /opt/maven setenv MAVEN_OPTS "-Xmx2048m -Dmaven.surefire.d

  • Object Link to Customer Service Order

    I have setup the object link in DMS and was able to insert the Customer Service Order to a Document Number. However, I do not see the Document Number when I view a Customer Service Oder. What is the correct path to view the Document Number from a Cus

  • Can't discharge the battery!

    I know that new battery technology doesn't really care but the battery in my iPhone is so good that it rarely if ever gets below 1/8 discharge from full. Of course I put it back on the USB cable to charge at night for the next day. I guess I'm wonder

  • My Lingualeo add-on works wrong with latest versions of Firefox

    Hi! This add-on allows to translate English words into Russian and remember them to study later as shown in attached screenshot. After latest upgrades of Firefox it doesn't show list of possible translations, so I can't pick any translation and remem