Generate SWF in runtime

Hello,
Can any one tell me what exactly will be sent to mobile phones from http://www.mobidoki.com/moods/ when we click on "Send" button. I guess its swf, but how to create SWF in runtime? Is anyone having some idea?
Thanks in Advance
Tanweer

There is a compiler available for Apache that works similar to the way that Flex 1.0 and 1.5 functioned.  Also ColdFusion
has one built in which it uses for compiling flash forms on the fly.  So it is possible to do and you can perform some real cool tricks with it if you know how.
So yes it can be done.  I think it's called the "Web Tier Compiler" but not sure now that Flex 4 is released.
-Joe

Similar Messages

  • Output generation options in InDesign server... generate SWF without bytecode

    Hi,
    We have a server-side InDesign application to generate SWF and JPEG and PDF assets based on a number of IDD files - generated and manually built.
    The issue is, we are trying to move to an iOS supported product where SWF loading is restricted and default, generated SWF from InDesign contains a rake of unused and unwanted ActionScript that has no relevance to our application but which is also likely to complicate or block app approval.
    So... I need to find some options here.
    Can anybody comment on the feasibility of any of the following;
    1. Modify SWF generation to generate _without_ the InDesign ActionScript (we don't need it... we just need the display assets that InDesign creates)
    2. Generate a lossless PNG output on a transparent background (needs to be lossless to support colourisation, needs to be a transparent background as moving from SWF would mean the inability to remove the big white rectangle it always puts in a SWF)
    3. Generate a PDF in a format that can be manipulated to provide us access to individual display assets within an AIR / Flex app
    Thanks in advance,
    G

    PS: Yes, I am aware of the export with and without interactive media settings, but they don't seem to make any difference whatsoever to the SWF as it still includes a rake of unneeded ActionScript (including a wide range of fl.video code for some bizarre reason...).
    I have just found some export as PNG options in InDesign 6, but the server is still on an older version of InDesign (4, I think) do you know when the export as PNG feature was introduced? I have been assured that we can't generate PNG with the current setup... though will dig a bit deeper to check.

  • Resizing Swf at runtime based on content

    Hi I am working on a project and I am trying to figure out how to resize the swf at runtime based on the content (which is brought in by xml) .  What I am trying to do is similar to http://www.mustardlab.com/developer/flash/objectresize/  but unfortunately this is written in AS1 and doesnt help me much!  If anyone could please explain to me how to do this in AS3 I would really appreciate it.  I know I need to use the ExternalInterface but I am very new to AS3 and am not sure how to do this.  I have searched and searched all over the internet and still can't figure it out.  Any source code you might have would be AWESOME!
    Thanks again,
    Kathy

    Hi again:)  I guess that’s the problem, I'm not sure of the code..i mean I guess I understand the basics..i need to call on the textField.height and send it to the javascript via the ExternalInterface..then I'm stuck..how to get the javascript to resize the div which is what I'm assuming it needs to do?  Again, this I'm really new at this and I'm working on a site for a client..I have been struggling to get it to work..i'd dump the flash all together but she reallllllllllly wants it!
    Here is the site if you want to see it.  Its not finished yet but I'm getting there!
    www.daedaldesigns.com/jackiegood/
    Right now the issue is the text on some pages is short and on others is long..so I need to get it to expand.
    Thanks again..I really appreciate your time!
    Kathy

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

  • Can we use flash lite 3.0 generated SWF in html as normal SWF?

    Hi all
    I would like to us the flash lite generated swf in a html page as normal flash file do.
    I would like to pass the flash vars to SWF(flash lite) and load the swf with the parameters
    is it necessary to have a flashlite 3 player in the mobile?
    any work around?
    thanks in advance.

    My problem is
    I have a html page which displays the list of videos when the user select the video from the mobile browser
    I need to load the SWF in the mobile with the selected video with options play and back
    as you said we cant pass FlashVars to SWF (not supported) is there any other option which full fill my requirement?
    thanks in advance.

  • 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

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

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

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

  • Can I export part of a Flex Application to a SWF at runtime?

    I have a Flex App that allows you to dynamically build an
    animation. It has a UI and a display of the resulting animation,
    which is a custom Class extending UIComponent. Is there some way to
    allow users to save/export the dynamically generated Component to a
    SWF, for reuse in other Flash/Flex Apps?

    First of all move the problem folder to it's original place.
    Do you have a backup of your catalogue?
    Yes of course.
    Open it .
    Library Module.
    Then select the problem folder.
    Now your develop changes and keywords should be back.
    Now click ALT and export Catalogue.
    Do not include previews.
    Save it on your desktop.
    Now open your latest catalogue and in library you click ALT import catalogue
    you will see a dialogue like this
    be sure to replace Metadate and develop settings only!
    Now when you're done always move folders and pictures inside Lightroom !

  • Many times dynamic generate UIElement  at Runtime ???

    Hello Everyone,
    I wanna generate a UIElement (InputField) at runtime. When man click a button "Add InputField", then a UIElement (InputField) is dynamic generated. Man can generate many times UIElement"InputField" with this button.
    I have tried the Webdynpro Tutorial 17. But not yet any idea.
    Plx give me some suggestions and code.
    Thanks in advance
    best regards
    Yaning

    hi
    for this create 2 int variables <b>act</b> and a <b>counter</b>
    //@@begin others
      static int act,counter=0;
      //@@end
    <b>in Doinit set act to 0.</b>
    public void wdDoInit()
        //@@begin wdDoInit()
        act=0;
        //@@end
    <b>create an action(onActionCreate_Element) and assign it to the button ui element</b>
    public void onActionCreate_Element(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionCreate_Element(ServerEvent)
        act = 1;
        //@@end
    <b>in wdDoModifyView</b>
    public static void wdDoModifyView(IPrivateDynamicView wdThis, IPrivateDynamicView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
        if( act== 1)
             IWDTransparentContainer con= (IWDTransparentContainer)view.getElement("RootUIElementContainer");
             IWDInputField input = (IWDInputField)view.createElement(IWDInputField.class,"input1"+counter);
             IWDAttributeInfo test = wdContext.getNodeInfo().addAttribute("name"+counter,"ddic:com.sap.dictionary.string");
             input.bindValue(test);
             input.setVisible(WDVisibility.VISIBLE);
             counter++;
             con.addChild(input);
                    act = 0;
        //@@end

  • 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

  • Dynamically generate HTML at runtime

    I've tried looking for an existing project that does this or something similar already, but the closest I got was an eclipse plug-in by IBM, which wont really help me since it wont work at runtime.
    Basically I want to be able to generate a HTML form dynamically, based on the XML in a WSDL. Anyone got any ideas?

    Wow, no one? Damn, must be harder than I thought.No, it's really not hard at all. At least generating HTML isn't hard. What IS hard is answering your question. You have already rejected some alternatives, but you don't tell us what they were or why you rejected them. So I could suggest you use XSLT, but I might be wasting my time because you already rejected that. Or you might have had a completely bogus reason for rejecting it, but I can't tell.
    So basically that's why you didn't get any answers. Not enough information to base an answer on, and enough information to decide not to answer.

  • How does a pdf handle multiple SWFs at runtime?

    If a pdf has multiple SWFs in it, that get turned on and off multiple times, does each one run in its own instance of the Flash Player?
    If not, can they run separetely without problems?
    Can one SWF run for a while and then another SWF run, followed by a return to the first SWF to resume part way through or does it start it off from frame 1 again?

    When a Rich Media Annotation is activated it forms a new sandboxed instance of the FP runtime, so you can have several RMAs active at the same time without too many problems (aside from things like stealing focus from one another). They cannot see each other's libraries and you cannot share data directly between them as the LSO system is disabled, but basic string-form data can be tunneled via AcroJS if you know what you're doing.
    When an RMA deactivates, everything is wiped - Acrobat / Reader do not automatically store any 'resume data' but you can create a home-made resume system by coding the SWF to export/import state information to the PDF. You would have to ensure everything needed to 'resume' is packaged into the state data string, then read and parse it each time the SWF loads. Again, that data packet is not visible to other content.

  • Create or crop an .swf at runtime?

    hello,
    if i have a .swf with some graphics created on it (dynamic
    shapes, text...) and it's dimensions are, say 300x300,
    would it be possible to have an event which would "crop" it
    to say 100x100 based on coordinates entered?
    furthermore, would it be possible to then send the newly
    cropped .swf to another page, or to an email?
    thank you

    All versions do not support the same coding. C/S and Web version can be very different, if you use client side features.
    I also have to add that only Web version can integrate Java Beans and/or PJCs.
    With old C/S version, you cannot create anything at runtime. You have to create the non visible items at design time, then show and move them at runtime;
    With Web version, you can have Java Beans able to create real components at runtime.
    Francois

Maybe you are looking for

  • "The server is unavailable this is offline copy of the server workbook" error while opening the sharepoint library file

    Hi Techys, can you give me the suugestions for below error in sharepoint 2010. Error: "The server is unavailable this is offline copy of the server workbook" error while opening the sharepoint library file. User having the contribute permission. as a

  • How do I know if the Power Supply is shot?

    Hi, I have G5 with a dual processor, purchased in 2003. I recently bought a new iMac and wanted to give the old G5 to a family member. The G5 just went dead, I think it took it personally.... I have done the resetting of the PMU, I have replaced the

  • Hey guys, running XP and trying to download itunes 10.5

    I tried reloading it and it says Invalid drive I:  I don't have an i drive. I do have itunes on my 1TB ex harddrive. any suggestions? thanks in advance!!

  • Restrict SaTy for 1 Customer in a Sales Org

    Hello, I have a scenario where a specific sales document type is to be restricted for 1 customer.  All other customers for the particular Sales Org / Dist Channel / Division are to use this sales document type except for this customer, and my user wo

  • CProjects 4.0 - Project Reason

    Hi Experts, Is there a way we can specify select "Project Reasons" for select 'Project Types". I do not see any such way and all "Project Reasons" appear for all "Project Types". Summary: Of the Project Reasons A, B,  C and D (say), we want reasons A