How to create a GIF from inside an SWF?

I have a Flash application that allows users to arrange
images, in the form of imported SWF MovieClips, into a scene of
their choosing. I would like to save these custom scenes into
static GIF files on the webserver. I'm not sure if this is possible
solely with ActionScript or if I'd have to do some work with PHP/GD
or Java, but I have seen it done before (Yahoo! Answer avatars) so
I know it's possible.
I'm very new to actionScript. So far I've found the functions
for dealing with bitmap data but none for file creation. Can anyone
point me in the right direction? As you may guess, it's hard to
Google for variations of "flash create gif" because this is also a
function of the development tools.
Thank you for your advice and suggestions!

I'm sorry octav20xx, was there a particular result of that
search that you thought I should look at? Of the first page of
results, most are links to utilities for converting SWFs to
animated GIFs, which as I mentioned is not what I want to do. The
rest of the results seem irrelevant to my question.
Perhaps I wasn't clear. I need the SWF to automatically
generate static GIF files based on dynamic user input. I have
already done a lot of searching on Google for a solution but found
none; this is why I am asking here instead.
Can anyone help?

Similar Messages

  • How to create xml file from Oracle and sending the same xml file to an url

    How to create xml file from Oracle and sending the same xml file to an url

    SQL/XML (XMLElement, XMLForest, XMLAgg, etc) and UTL_HTTP.
    Whether that works for you with the version of Oracle you have, your requirements, and needs is another story. A little detail goes a long way.

  • How to create Inbound Idoc from XML file-Need help urgently

    Hi,
    can any one tell how to create inbound Idoc from XML file.
    we have xml file in application server Ex. /usr/INT/SMS/PAYTEXT.xml'  we want to generate inbound idoc from this file.we are successfully able to generate outbound XML file from outbound Idoc by using the XML port. But not able to generate idoc from XML file by using we19 or we16.
    Please let me know the process to trigger inbound Idoc with out using  XI and any other components.
    Thanks in advance
    Dora Reddy

    Hi .. Did either of you get a result on this?
    My question is the same really .. I am testing with WE19 and it seems SAP cannot accept an XML inbound file as standard.
    I see lots of mention of using a Function Module.
    Am I correct in saying therefore that ABAP development is required to create a program to run the FM and process the idoc?
    Or is there something tht can be done with Standard SAP?
    Thanks
    Lee

  • How to create an invoice from multiple sales doc.

    Hi,
    how to create an invoice from multiple sales doc.
    thanx,
    sourav

    hello, friend.
    assuming that your settings in VTFA and VTFL allow, you can create 1 invoice for many sales orders or deliveries by using VF04.  choose all documents that apply and click "collective billing document". 
    you can also click on "simulation" if you want to test if the combination is possible and the system will give you a split analysis if this is not possible.
    regards.

  • How to create set hierarchies from FI SL.

    Hi Experts,
    How to create set hierarchies from FI SL. Could you please tell me
    Step by step procedures or send to this mail id [email protected]
    Thanks
    Regards,
    Sathis.J

    Hi,
    FI-SL
    http://help.sap.com/saphelp_nw2004s/helpdata/en/28/5ccfbb45b01140a3b59298c267604f/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/41/65be27836d300ae10000000a114b54/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ee/cd143c5db89b00e10000000a114084/frameset.htm
    Hope This Helps.
    Thanks,
    Sankar M

  • How to create database link from oracle to sql server

    Please help with how to create database link from oracle to sql server
    Best regards,
    Vishal

    Please help with how to create database link from oracle to sql server
    Best regards,
    Vishal
    Hi Vishal,
    I found a lof of information regarding how to create a database link from Oracle to SQL Server, please see:
    https://www.google.co.in/?gws_rd=cr&ei=vd3XUvGFO8TgkAXqlYCADg#q=how+to+create+database+link+from+oracle+to+sql+server
    We discuss SQL Server related issue in this forum. If you have any more question regarding Oracle, please post it in Oracle communities forum for better support.
    Regards,
    Elvis Long
    TechNet Community Support

  • How to Create adf table from java bean

    Hi,
    How to Create adf table from java class (Not from ADF BC).
    Thanks
    Satya

    @vlsn -- you have to follow what shay said.
    Do the following in Model layer ::
    create a table property java class with your columns setters and getters like :
    *public class gridProps {*
    private int sno;
    private String orderNum;
    *public void setSno(int sno) {*
    this.sno = sno;
    *public int getSno() {*
    return sno;
    *public void setOrderNum(String orderNum) {*
    this.orderNum = orderNum;
    *public String getOrderNum() {*
    return orderNum;
    Create another table java class which will populate the values to your column values and return the collection :
    *public class gridPopulate {*
    private  List<gridProps> gridValues ;
    *public List<gridProps> setToGrid(ArrayList<ArrayList> valuesToSet) {*
    *if (valuesToSet == null) {*
    return gridValues;
    gridValues = new ArrayList<gridProps>();
    if(btnValue.equals("completeBtn"))
    return gridValues;
    for(ArrayList<String> tempArr:valuesToSet)
    gridProps gp = new gridProps();
    gp.setSno(Integer.valueOf(tempArr.get(0)));
    gp.setOrderNum(tempArr.get(1));
    return gridValues;
    Right click gridPopulate class and create this as data control.This class will be seen in Data control list.Under this data control,Drag the grid property collection(created earlier) to your page.Then execute your binding(gridPopulate) according to your logic.
    Thanks.(My jdev version 11.1.1.5.0)

  • How to create session id from different string controls

    how to create session id from different string controls

    fais,
    Please create the VI you are talking about and save some default data into all of the controls. Also on the front panel, place the session ID that should be generated by that data. Now, post your VI to a response so I can download it. I can then take this VI and help you create the functionality. (Please post what version of LabVIEW you are using.)
    My guess it that you are going to need to use a good number of string concatenations as well as a few string indexes to get parts of strings out. As for the date, you can use a Property node with the Numeric Text.Text property to get the actual string displayed on the front panel for the date and parse out the parts that you want.
    Randy Hoskin
    Applications Engineer
    National Instruments
    h
    ttp://www.ni.com/ask

  • How to create chord charts from midi using logic pro x

    How to create chord charts from midi using logic pro x

    Depending on what you mean by Chord charts (Tabs?)
    Use the Score.......
    http://help.apple.com/logicpro/mac/10/#lgcpf755d649

  • How to creat a "gif"

    Hello everyone -
    I am attempting to take a photo and create a gif from it. I have reduced it to small size and duplicated it 25 times. now i would like to "add motion " to it. does anyone know a simple way to do this?
    thanks in advance,
    bret

    I've always used the freeware GIFBuilder @ http://www.macupdate.com/app/mac/235/gifbuilder
    Also check out the freeware GIFFun @ http://www.stone.com/NewDownload.html
     Cheers, Tom
    PS Noticed in your profile you are using OS 10.4.1. You should update to the final Tiger version 10.4.11. Here's the link for the 10.4.11 combo update http://support.apple.com/kb/TA24901?viewlocale=en_US
    Message was edited by: Texas Mac Man

  • How to create dll file from c code to use in compactrio 9004 RT controller

    Hi.
    I am using Compactrio 9004 Real time controller and i am new to this. I have a C code and i want to use this with the RT controller.I red that that can be done by creating a dll file and can be called in labview.Can any body expalin how to create a DLL from the c code and be used with this RT controlelr?
    Regards,
    Vishnu

    vishnu123 wrote:
    Hi,
    Earlier in this forum itself in cRIO 900x controllers will run Pharlap and run C/C++ code compiled into .dll files.Can you please tell how to transfer the created DLL to RT controller memory throght FTP?
    Thanks and regards,
    Vishnu
    There is another KB article about this for Pharlap based controllers. And you are right the earlier CompactRIO controllers were Pharlap based. Basically for a deployed application to work, you need to put the DLL through FTP in "/ni-rt/system". If you deploy it directly from the project everything will be loaded into memory through the project environment itself including directly dependable DLLs, (but of course won't survive a power cycle).
    I hope you are aware that while Windows DLLs can work on Pharlap OS they by no means will do so always. The Pharlap OS has not a fully featured Windows API. Also you need to be careful which version of Visual C you are going to use depending on the Pharlap OS version, since the VC runtime DLLs already present on the controller will need to be the same as the ones your Visual C environment likes to link in. Recent Pharlap OS versions use the msvcr71.dll. It's very possible that those runtime libraries can't just simply be copied from a normal Windows installation but might have been recompiled by NI specifically for their controller targets.
    So to avoid problems it's a good idea to make sure your DLL uses the same runtime library DLL or make your DLL to include the static MS runtime.
    Rolf Kalbermatter
    Message Edited by rolfk on 02-05-2008 09:51 AM
    Message Edited by rolfk on 02-05-2008 09:53 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to create Default Schema from within the application

    Hi friends
    I am creating users using the following within my application using this syntax
    BEGIN
    APEX_UTIL.CREATE_USER
    (:P124_USER_ID, :P124_USER_NAME,:P124_USER_FIRST_NAME,:P124_USER_LAST_NAME,' ',:P124_USER_EMAIL_ID,'xxxx');
    END;
    The default workspace for the user is set as blanks. I would like to set it to be the default workspace as per the current logged in user.
    Can you help me with the syntax for this
    thank you in advance
    Laxmi

    Laxmi,
    The subject of the post is "How to create Default Schema from within the application".
    But your question asks how to set the "default workspace" for a newly created user.
    Those are different questions and not the ones I think you need answered.
    Let me answer this question "How can you set the default schema for an account when creating the account and set it to the same value used for the default schema attribute of the administrator account used to authenticate to the currently running application?".
    In the apex_util.create_user call use named parameter notation and fetch the information about the currently logged-in user first, e.g.,declare
      l_workspace               varchar2(256);
      l_user_name               varchar2(256);
      l_first_name              varchar2(256);
      l_last_name               varchar2(256);
      l_web_password            varchar2(256);
      l_email_address           varchar2(256);
      l_start_date              varchar2(256);
      l_end_date                varchar2(256);
      l_employee_id             varchar2(256);
      l_allow_access_to_schemas varchar2(256);
      l_person_type             varchar2(256);
      l_default_schema          varchar2(256);
      l_groups                  varchar2(256);
      l_developer_role          varchar2(256);
      l_description             varchar2(256);
    begin
    apex_util.fetch_user (
      p_user_id                  => apex_util.get_current_user_id,
      p_workspace                => l_workspace,
      p_user_name                => l_user_name,
      p_first_name               => l_first_name,
      p_last_name                => l_last_name,
      p_web_password             => l_web_password,
      p_email_address            => l_email_address,
      p_start_date               => l_start_date,
      p_end_date                 => l_end_date,
      p_employee_id              => l_employee_id,
      p_allow_access_to_schemas  => l_allow_access_to_schemas,
      p_person_type              => l_person_type,
      p_default_schema           => l_default_schema,
      p_groups                   => l_groups,
      p_developer_role           => l_developer_role,
      p_description              => l_description);
    apex_util.create_user(
      p_user_id        => :P124_USER_ID,
      p_user_name      => :P124_USER_NAME,
      p_first_name     => :P124_USER_FIRST_NAME,
      p_last_name      => :P124_USER_LAST_NAME,
      p_email_address  => :P124_USER_EMAIL_ID,
      p_web_password   => 'xxxx',
      p_default_schema => l_default_schema);
    end;Scott

  • Turning the page in a pdf from inside a swf video

    I am creating interactive PDFs from InDesign. On the first page of the pdf I have a swf video in which I would like to put a link or a button that would move you to page 2 of the pdf. Not another frame of the video or URL, but just the next page of the PDF. Is it possible to do this? And if so, how?

    You don't make it clear what you're using. A "SWF" is a Flash file, and a video is a video. A SWF can load and play a video, but "SWF video" means nothing.
    If you're talking about a SWF file created in Flash, then inside your SWF you will have to fire an ExternalInterface command using ActionScript:
    ExternalInterface.call(“eval”, “pageNum++”);
    If you're talking about a video file embedded in the PDF and using the default playback widget, then you can't do it.

  • How to live stream vp6 from a browser/swf file.

    Hello,
    Currently we have a swf file application that runs in a browser and takes the live video stream from the camera on the computer and streams a live sorenson spark stream to the fms 3.5 server.
    Question is:
    How to live stream vp6 from the browser/swf file on the camera computer, instead of the sorenson spark. (We seem to be stuck only on sorenson spark).
    Thank you.

    Hi Vince,
    Jay has explained it about as best as can be done.  What you have now is a
    SWF that lives in a browser.  With Flix, you can eliminate the SWF
    altogether.  Or if there is logic that still will require the SWF, then both
    Flix and the SWF will live in the browser at the same time (and can talk via
    ExternalInterface).
    fyi .. When using Flix, if Flix does not eliminate the SWF altogether, you
    will remove from your SWF all logic for acquiring Camera and Microphone.  As
    Jay has reiterated, Flix Publisher will now be doing all that.
    If your SWF includes logic other than video/audio, e.g. maybe text chat,
    then you may need logic in your SSAS to associated the video from Flix with
    anything else from the SWF since each will have its own NetConnection to the
    FMIS application.
    In case it might help, following is On2's heavily commented JavaScript for
    invoking Flix Publisher:
    http://publisher.on2.com/fp_doc/3-1-5-5/samples/scripts/flixpub_conf.js
    And the full docs for the Flix SDK are here:
    http://publisher.on2.com/fp_doc/3-1-5-5/index.html
                    hth,
                    g

  • How to cancel a Timer from inside a TimerTask ?

    I have a web application with this structure:
    Tomcat starts a servlet and that starts a master thread to run once every 10 minutes,
    that master thread in turn starts any number of individual tasks to run until completion,
    the idea being a "shoot and forget" methodology.
    public class MasterTask extends TimerTask {
    // run once every 10 minutes
    // retrieve a list of actions to do, this is from a database, could be 10 could be 100
    // for each action schedule a TimerTask
    // the reason for using a new Timer each time is that any of the action tasks
    // may take a long time or not, i do not want an individual task to wait
    // for a previous one to finish, therefore each task is put on it's own timer
    // also in order to spread resources somewhat there is an incremental delay
    // so the is some time between the start of each task as there can be many
    Timer timeit;
    int delay = 0;
    for ( ActionTask doit : taskList ) {
    timeit = new Timer();
    timeit(doit,delay);
    delay = delay+200;
    public class ActionTask extends TimerTask {
    // perform whatever actions need to be done inside this individual TimerTask
    // at some point the individual task has completed it's work
    // how do i completely remove it from this location ?
    I know that inside the TimerTask i can call cancel() but that will only prevent it from running again it does not actually remove it completely, it remains in existence and therefore uses up memory. What i need to do is call the cancel() method on the Timer in order to remove both the Timer and TimerTask.
    If i do not do this then the program will just keep creating new Timers until eternity.
    ( or basically until i run out of memory )
    How do i call the Timer.cancel() method from INSIDE the TimerTask ?
    ( Note that both classes are seperate classes/files and not inside the same file or class. )
    thanks,
    Erik
    Edited by: Datapunter on Jul 27, 2009 4:06 PM

    Gotcha,
    the Timer does get cancelled but the TimerTask runs to completion first.
    Was expecting a kill() type effect but that is not what cancel() does.
    Servlet started by Tomcat
    package servlet;
    import java.util.*;
    import javax.servlet.ServletException;
    public class TestServlet extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet {
        public void init() throws ServletException {
              Timer timeIt = new Timer();
              timeIt.schedule(new timertasks.testmaster(), 0, 10000); // every 10 seconds
    }master task runs every 10 seconds indefinetly,
    and every 10 seconds it starts (kicks off) 2 new tasks.
    package timertasks;
    import java.util.Timer;
    import java.util.TimerTask;
    public class testmaster extends TimerTask {
         public testmaster() {}
         // scheduled to run once every 10 seconds
         public void run() {
              int delay = 0;
              Timer timeit;
              for ( int count = 0; count < 2 ; count++ ) {
                   timeit = new Timer();
                   timeit.schedule(new ActionTask(timeit), delay, 2000);     // every 2 seconds
                   delay = delay + 200;
    }individual timertask, just comment out the timeit.cancel(); to see the difference in effect.
    package timertasks;
    import java.util.Timer;
    import java.util.TimerTask;
    public class ActionTask extends TimerTask {
         private Timer timeit;
         private int runcounter = 0;
         public ActionTask(Timer timeit) {
              this.timeit = timeit;
         // without cancel then values of runcounter should keep rising and more and more tasks should appear
         // with cancel each should run only once
         public void run() {
              System.out.println("before cancel, runcounter="+runcounter);
              timeit.cancel();
              System.out.println("after cancel, runcounter="+runcounter);
              runcounter++;
    }thanks.

Maybe you are looking for

  • Is there a way to open another pdf via a button in my (pdf embedded) flash movie?

    My Acrobat 9 pro pdf, contains an ActionScript 2.0 swf, added via the Flash tool, on the multimedia toolbar. The Flash file contains an animation introducing a collection of linked pdf files. At the end of the intro a button appears, which when click

  • Photoshop CS3 Freezes When Opening/Creating New Files

    My System: Mac OSX 10.5.8, 2.1GHZ Intel Core 2 Duo, 1 GB 667 MHz DDR2 SDRAM My Problem: It seems to be that if I download print drivers Photoshop will freeze anytime I want to open or create a new file. This problem arose when I downloaded a new prin

  • Photoshop plug-ins for Final Cut?

    Is there a way to import Photoshop filters into Final Cut Pro?

  • MTOM support in BPEL is a problem

    I have created a simple BPEL process which accepts a string and base64string. I enable oracle/wsmtom_policy in the composite xml and enabled MTOM encoding to true. This enables MTOM for the BPEL process. I upload the composite into WebLogic. Now I cr

  • Installation Bandwidth issue-

    I have just started to install the CC apps. Photoshop failed to install initially, this left the install folder available on my desktop. I transferred this folder to my back-up machine and successfully installed PS on there, but now I notice with sub