Dynamically generating a gif from Flash

I've written a Flash program that lets users design their own
fantasy character. One they've completed the design, I'd like them
to be able to generate a gif from it that they can save. Anyone
know how to do this? Thanks in advance.
You can find the program here:
http://www.thelionscall.com/activities/character_builder_v2.cfm

Check out:
http://www.sephiroth.it/tutorials/flashPHP/print_screen/index.php

Similar Messages

  • Animated gif from flash

    CS4, AS3.Windows XP SP3.
    I've created a pretty simple flash animation with some text that fades in and moves around a bit. Nothing fancy. It runs just fine both locally and on my client's site. I need to turn it into an animated gif so that non-flash viewers will see the animation. But I can't seem to get it to come out right. It needs to have a transparent background and it needs to run just once. Like I said, all that runs fine as an SWF.
    When I choose the export option in the file menu (export movie as gif), it does export and I can run the gif but the background is definitely not transparent and the thing loops continuously. Yes, I've checked the "transparent" checkbox and also set the repetitions to 1. Neither of those settings do anything.
    I also tried "publishing" the gif. That's even worse. The resultant animation doesn't even resemble my SWF. It's a blocky mess when it runs. It does appear to have a transparent background but it loops over and over and again it's a blocky mess (not sure how else to explain that).
    The whole thing is just about 10 layers of different lines of text that are tweened in various ways to get the effect I need.
    You can see the animation on the right hand side of this page: www.ssrights.com. It's the one that says "FREE! Consultation..."
    Hope someone can help.
    Thanks,
    Keith
    PS: The gif is not in place. I currently have it set to just show a static image if someone does not have flash.

    Look, I appreciate that you are making an effot to help, but I hope you realize that most pages like that are just there to attract advertisers. They are mostly nonsense. Filled with fluff and little that's actually helpful. Often copied verbatim from the help file of some application. Not the least bit beneficial. There are tons of "how to" sites out there that say next to nothing and still use a lot of words. I run into them countless times each day. It's beyond irritating when you're trying to learn how to do something. This paragraph on that page you referred me to is a perfect example:
    Set other options for your animated GIF publication. Optimize the color  of the GIF to remove unused colors so that the image size will be  reduced. Set "Dither Solids" so that the colors will be mixed in the  current existing palette. Other options you have to set up are  Interlace, Smooth, and Remove Gradients. Set all of them very well so  that your animated GIF will be published at its best quality.
    Just look at the grammar in the last sentense. It doesn't even make sense and offeres zero useful information. Probably came out of the entirely useless Adobe help system that's fond of defining a term with the term itself.
    Back to the GIF settings. I've chosen nearly every combination of settings on the GIF publish tab. Nothing I do works. The only thing that solved the problem (and it's a crummy solution) was to change the text to a broken apart graphic. I'm sure you are more expert in Flash than I am and so you likely know how to solve this. Have you created a simple example with text and successfully published it as a GIF? You don't even need to tween the text. It can be sitting still on it's own layer and it still fouls things up. If so, what settings are you using to make this work right? That inforamtion would be very helpful!
    Again, is there anyone out there that has specifically dealt with this problem and can offer a specific, viable solution?
    Keith

  • Generating images (GIF) from iViews

    Hi,
    I am looking for a way to generate GIF images from my iView.
    If I use a regular servlet as a portal component and set the response type to "image/gif", I get an empty HTML page.
    Another approach would be to use a normal AbstractPortalComponent. But it seems that an AbstractPortalComponent can only produce HTML/XML/RSS.. output, but no binary format.
    To include images as IResources works for static files, but not for Portal Components. Of course it would work to save my image to a file and use that, but I want to avoid that approach.
    Has anybody done something like this ?
    Regards,
    Heiko

    Hello Heiko,
    If you want to create an image in AbstractPortalComponent you can do the following:
    public void doContent(IPortalComponentRequest request, IPortalComponentResponse response){
    HttpServletResponse servletResponse = request.getServletResponse(false);
    servletResponse.setContentType("image/gif");
    OutputStream os = servletResponse.getOutputStream();
    byte[] gifbytes;
    BufferedOutputStream out = null;     
              try{
                   gifbytes= <get byte array of the GIF image>;
                   out = new BufferedOutputStream(os);
                   out.write(gifbytes);
              }finally{
                   if (os!=null){
                        os.close();
    basically the same approach will work with a plain servlet code.
    Best Regards,
    Dmitry

  • Generate JPEG from Flash

    I have this Flash application that'd allow users to select
    cliparts, enter text to create custom designs. At the end of the
    process, I want them to be able to capture the design area and save
    it as a JPEG file. I can get Flash to pass the pixel information of
    the movie screen, but I can't figure out how to get CF to generate
    the image on the receiving end. I searched online and found a
    couple of PHP examples on dynamically generating JPEG files from
    pixel information passed from Flash - is there a Coldfusion
    equivalent of that? thanks in advance.

    thanks! recreating PHP in CF might be the better choice.
    below is the PHP code - is there a CF equivalent to
    imagecreatetruecolor? thanks again!
    <?php
    error_reporting(0);
    * Get the width and height of the destination image
    * from the POST variables and convert them into
    * integer values
    $w = (int)$_POST['width'];
    $h = (int)$_POST['height'];
    // create the image with desired width and height
    $img = imagecreatetruecolor($w, $h);
    // now fill the image with blank color
    // do you remember i wont pass the 0xFFFFFF pixels
    // from flash?
    imagefill($img, 0, 0, 0xFFFFFF);
    $rows = 0;
    $cols = 0;
    // now process every POST variable which
    // contains a pixel color
    for($rows = 0; $rows < $h; $rows++){
    // convert the string into an array of n elements
    $c_row = explode(",", $_POST['px' . $rows]);
    for($cols = 0; $cols < $w; $cols++){
    // get the single pixel color value
    $value = $c_row[$cols];
    // if value is not empty (empty values are the blank pixels)
    if($value != ""){
    // get the hexadecimal string (must be 6 chars length)
    // so add the missing chars if needed
    $hex = $value;
    while(strlen($hex) < 6){
    $hex = "0" . $hex;
    // convert value from HEX to RGB
    $r = hexdec(substr($hex, 0, 2));
    $g = hexdec(substr($hex, 2, 2));
    $b = hexdec(substr($hex, 4, 2));
    // allocate the new color
    // N.B. teorically if a color was already allocated
    // we dont need to allocate another time
    // but this is only an example
    $test = imagecolorallocate($img, $r, $g, $b);
    // and paste that color into the image
    // at the correct position
    imagesetpixel($img, $cols, $rows, $test);
    // print out the correct header to the browser
    header("Content-type:image/jpeg");
    // display the image
    imagejpeg($img, "", 90);
    ?>

  • Import animated GIF from Photoshop?

    I have a question... I am unable to create custom animated gif's in Photoshop 5/6 and import them into Captivate 7.  It just says "The GIF file contains errors".  I've tried exporting on multiple settings and still no luck, same with exporting from Fireworks.
    I am however able to import an exported gif from Flash, yet the quality is horrible and the transparency is buggy.  Is anyone else having this issue, or is there some setting that I am missing?  Basically I need to animate some images within a Captivate project, without the need of using a .SWF (for HTML5 output). Any help would be much appreciated, thank you.

    I experienced this issue with Captivate 8 and Photoshop CC... 
    I eventually realized if the animation has any frames with "no delay" I would get the error.  Changing those frames to a 0.1 second delay resolved my issue.  Not sure if this is the same bug you are experiencing but it's worth a try!

  • CS4 animated gif imported from Flash - how to link

    I have a few animated gifs published from Flash CS4 the files have clickTag info in the actionscript but Flash will not export that so I need to make the animated .gifs click to their respective links.
    How do I do in Photoshop CS4?
    any help??
    rdef

    Photoshop can produce animated GIF files but I'm confused by your request.
    You cannot embed any linking data in a GIF file. This is done in HTML.

  • How to use an dynamic text from Flash in FlashBuilder with swf ?

    Hello,
    i'm trying to develop a game in flex builder and i got a problem with the dymanic text i've imported from flash. I want to insert a scoreboard in my application and for doing that i should use dynamic text in flash. I create a dynamic text in flash and then a import it to Flash Builder in a movie clip, and i called the dynamic text "Score". Now i've tried to use the "Score" variable to change the value of the dynamic text box un my flash builder application, but it doesn't change anything.
    I read somewhere that i've got to use the score.text value to change the number of my score but that doesn't works because Flash Builder tells me that this sort of variable don't contain the .text value.
    Thank you for trying to help me.
    bye.

    Thanks Ned,
    I always welcome learning something new.
    I did not know creating a new keyframe,
    creates a new instance.
    Yes, I had used the same dynamic text field instance name in
    numerous, new layers (great observation).
    With the objective to display the User's name throughout
    the timeline (on and off)...
    I'll attempt to paraphrase your solution;
    Use a single layer to display the dynamic text field.
    Extend this layer's timeline throughout the movie, or end use of the dynamic text field.
    Help with this one ??
    Set the visible properties to true or false as need through out the timeline.
    ( Does require an AS3 ? )
    I'll give that a try.....
    ~~
    Side of effect of using the above solution;
    The SWF in it's attempted state, uses the dynamic text field instance, in
    different places, different text sizes, on the stage, throughout the Movie.
    (i.e. the User's first name appears in different sentences...)
    Per the solution above,
    I believe I will be limited to One location, one format setting.
    Is this assumption correct?
    I can make this work from a display / Movie point of view.
    However, your first VAR concept, noted above, might be
    worth exploring should more flexibility be required.
    Thanks for making the time to coach...
    D-

  • Dynamic generate JNLP from JSP ?

    Hello,
    I tried to generate JNLP from JSP, but it just show the Opem/Save diakog and cannot startup the Web Start.
    I am using Tomcat-5.5.12 in WinXP + JDK1.5
    How can I dynamically generate JNLP ?
    Eric

    It will range from easy to rather difficult, depending on how hard you try...
    If you want to do the bare minimum it will require you to code up some JSPs with scriptlets, declarations, expressions, and <jsp:xxx ...> tags, have some server turn them into a servlet for you, and then determine how things like
    <%@ page isELIgnored="false" %> are handled. Things like:
    <jsp:useBean ...> <jsp:setProperty ... > should be rather easy to translate using introspection on the beans they refer to. But <jsp:import ...> and the likes may be more difficult.
    Any normal html code is just wrapped inside a out.println(...) statement. Scriptlets should have the <% %> stripped and coppied to the output. Expressions should have their <%= %> stripped and be added to the surrounding out.println...
    for example:
    <a href="<%=thePage%>">
    should become:
    out.println("<a href=\""+thePage+"\">");
    All the content should be added to a _jspservice method.  Then, things between <%! %> should be coppied to source file as methods.
    Complications come when people start to use custom tags. You will have to learn how to create a PageContext that will be available to the jsp service method.
    You should also look up the JSP/Servlet spec to see how this stuff should be done.
    It is a whole nuther can o worms if the resulting JSP is expected to compile without a server...</a>

  • When someone other than myself downloads an image from my web album, a dynamically generated file name replaces the original file name.  How I can prevent the original file name being replaced during the downloading process?

    When someone other than myself downloads an image from my web album, a dynamically generated file name replaces the original file name.  How I can prevent the file name being changed during this downloading process?

    Hi Glenyse,
    Here are my steps.
    1.  I upload multiple image (jpg) files onto my photo album.
    2.  I select the "sharing" by email option for this album.
    3.  I enter the recipient's email address.
    4.  The recipient receives my message and clicks on the link.
    5.  The recipient accesses my photo album and clicks on one of the images.
    6.  The image opens up to its own screen.
    7.  The recipient selects the "download" and then save file option.
    Here is the part I do not understand.  For some reason, during this "download" process, the original name which I have given to the file is replaced by different name.  So I was hoping that someone knows how to prevent the file name from being changed during the "download and save" process.
    Much appreciated if you can help me find a solution to this problem.
    Mary  

  • Are there any tutorials on making animated gifs in flash, from a video?

    I have an avi video file that i'd like to make into an animated gif in flash. How do I go about doing this? I know there is an option in photoshop where you can import the video frames onto layers. Is there something similar in flash?

    [http://wetpixel.com/forums/lofiversion/index.php/t16884.html]
    This might provide a bit of insight.

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

  • Loading a dynamic generated profile... not really working

    Hey all - ok simple question sort of.
    I am generating a dynamic profile for the encoder.  It's to save to c:\videos on output with each user's unique id in the file name.  The user goes to a secure login, clicks the download profile link - and bam I have the XML file set to auto-open in Flash Media Encoder.  Problem is - it is not using my dynamically generated filename.  If I go to flash media encoder and OPEN Profile - and open the profile that was downloaded - all is well and the filename in the save to file is correct.  If you try to click on the profile file (xml file) or have firefox auto-open xml file into flash media encoder - it opens up the encoder but does not adjust any settings including the save to file location.
    So my question is - is it possible to start a custom profile by simply clicking on the profile xml file (default app for it is the encoder)??  I have read up on the cmd line - option but that won't be an option in this case as we just want users to download / start a recording session.
    Here is a sample of the profile generated:
    I bolded the part that gets dynamically generated....
    <?xml version="1.0" encoding="UTF-16"?>
    <flashmedialiveencoder_profile>
        <preset>
            <name>Custom</name>
            <description></description>
        </preset>
        <capture>
            <video>
            <device>Integrated Webcam</device>
            <crossbar_input>0</crossbar_input>
            <frame_rate>15.00</frame_rate>
            <size>
                <width>320</width>
                <height>240</height>
            </size>
            </video>
            <audio>
            <device>Microphone (High Definition Aud</device>
            <crossbar_input>0</crossbar_input>
            <sample_rate>22050</sample_rate>
            <channels>2</channels>
            <input_volume>75</input_volume>
            </audio>
        </capture>
        <process>
            <video>
            <preserve_aspect></preserve_aspect>
            </video>
        </process>
        <encode>
            <video>
            <format>VP6</format>
            <datarate>200;</datarate>
            <outputsize>320x240;</outputsize>
            <advanced>
                <keyframe_frequency>5 Seconds</keyframe_frequency>
                <quality>Good Quality - Good Framerate</quality>
                <noise_reduction>None</noise_reduction>
                <datarate_window>Medium</datarate_window>
                <cpu_usage>Dedicated</cpu_usage>
            </advanced>
            <autoadjust>
                <enable>false</enable>
                <maxbuffersize>1</maxbuffersize>
                <dropframes>
                <enable>false</enable>
                </dropframes>
                <degradequality>
                <enable>false</enable>
                <minvideobitrate></minvideobitrate>
                <preservepfq>false</preservepfq>
                </degradequality>
            </autoadjust>
            </video>
            <audio>
            <format>MP3</format>
            <datarate>48</datarate>
            </audio>
        </encode>
        <restartinterval>
            <days></days>
            <hours></hours>
            <minutes></minutes>
        </restartinterval>
        <reconnectinterval>
            <attempts></attempts>
            <interval></interval>
        </reconnectinterval>
        <output>
            <file>
            <limitbysize>
                <enable>false</enable>
                <size>10</size>
            </limitbysize>
            <limitbyduration>
                <enable>false</enable>
                <hours>1</hours>
                <minutes>0</minutes>
            </limitbyduration>
            <path>C:\Videos\M02634365_01_10_11_03_58_PM.flv</path>
            </file>
        </output>
        <metadata>
            <entry>
            <key>author</key>
            <value></value>
            </entry>
            <entry>
            <key>copyright</key>
            <value></value>
            </entry>
            <entry>
            <key>description</key>
            <value></value>
            </entry>
            <entry>
            <key>keywords</key>
            <value></value>
            </entry>
            <entry>
            <key>rating</key>
            <value></value>
            </entry>
            <entry>
            <key>title</key>
            <value></value>
            </entry>
        </metadata>
        <preview>
            <video>
            <input>
                <zoom>100%</zoom>
            </input>
            <output>
                <zoom>100%</zoom>
            </output>
            </video>
            <audio></audio>
        </preview>
        <log>
            <level>100</level>
            <directory>C:\Users\recordpharmacy\Videos</directory>
        </log>
    </flashmedialiveencoder_profile>

    Unfortunately no.
    Put simply, there are a few major intel-related changes going on right now, and the short story is that the intel drivers are using newer tech than Mesa and such are. However, the required packages haven't been brought up to date yet (I think they haven't been marked stable upstream and such).
    The first step however is kernel 2.6.28, which includes half of the "fix", to simplify. Now, this won't make your FPS go straight back up - you'll need to wait for newer versions of Mesa and such to be rolled out - but it's a start, especially if you don't already have 2.6.28.
    From there, I'm sure you've seen this thread which outlines what to recompile. I'll probably wait though, since 100FPS is quite an upgrade for me - I didn't have hardware rendering until a month or so ago (I think) - and my system is slow enough as it is (it can't use DDR2 RAM) for me to really bother with fast graphics anyway.
    -dav7

  • Save dynamically generated audio?

    Hey all -
    Short and sweet: Is there any way to save a dynamically generated sound to a file?
    I'm developing an app that (so far) records a person's voice and then allows the user to manupulate the tempo, rate, and pitch. Playback is fine. Thing is, I want to save the manmipulated sound, but I haven't found a way to capture the manilpulated playback into a ByteArray (I'm sure I can work with the data from there). Has anyone tried this? Is it simply not possible?
    Working with Flash IDE (CS5.5).

    Yea, I know about the extract function - it doesn't work in this case because the sound object is used as a conduit for streaming the modified audio. I tried using extract on the sound object, but it returned nothing.

  • Animated Gif, XML & Flash 8

    I created an animated gif in photoshop cs3. I'm opening the
    gif file from inside an xml file using flash 8. It displays the gif
    just fine without the animation. I noticed that when I open the
    same gif file from an html file the browser (IE7) ask permission to
    run activex. Once I give it permission, the animation runs fine.
    When I run it from flash 8, IE7 doesn't ask permission...it just
    displays the gif file without running the animation. Any clues?
    -Manny

    One thing you may want to look at is the way your symbols are being triggered on the timeline. For example: you have an image of a ball bouncing, it goes down then up over the course of 30 frames and you are playing the FLA at 15 FPS so it takes a full two seconds per "bounce". If you are then putting that symbol into another timeline (probably the main timeline) you need to give the instance of that symbol the full 30 frames to go through the bounce before it stops, but if you give it 31 frames or forget to put a stop() command on the last frame, the sequence will repeat before clearing the stage.
    I would look at how you have positioned the object that is being looped in the main timeline and remember that with each keyframe you add to the timeline the animation will restart from the beginning. Imagine the bouncing ball graphic is a video clip of a ball bouncing and not a collection of vectors being repositioned on the stage. Every time you have a keyframe on the symbol of the video on the main timeline, the video restarts and appears to loop. The same may be happening with your animation on the timeline.
    Hope this helps.

  • Animated Gif to Flash... Newbie

    Hi all. I'm pretty experienced with using most of Adobe's
    software with the glaring exception of Flash.
    I've been asked to create an animated banner which I have
    done as an animated gif from within PhotoShop. However I'm fairly
    sure this sort of animation would be better created in Flash.
    The animated gif is
    here
    Ive imported the PSD file into Flash CS3 but I'm not doing
    very well at either selecting different layers or indeed moving the
    photo and the text over a certain time span.
    I imagine this sort of thing if easy to anyone with some
    experience.
    Can anyone offer any help on how to do this?
    Also, the animated gif file size is about 150kb. Would the
    flash file be significantly smaller?
    Thanks.

    Let Flash do that for you. First you have to create a symbol
    out of the background image... a graphic symbol will suffice. A
    quick way to do that is to place the image on the stage, right
    click it, and select Convert To Symbol.
    Then, place that symbol in a keyframe. Somewhere down the
    timeline, right click on another keyframe and select Insert
    Keyframe. The symbol should now extend from the first keyframe to
    the one you just added. But for the keyframe you just created,
    physically move the image to the slid over location you intend
    Go back to the first keyframe, right click on it and select
    Create Motion Tween. An arrow should now be joining the two
    keyframes which should have blue-colored frames between them. Run
    the movie.
    For a competent developer, maybe a half hour tops starting
    from scratch... it depends on how much content has to be added to
    the image(s).

Maybe you are looking for

  • ITunes 7.02 and PodCast downloads

    Since I have updated to 7.02 version, when a podcast is downloaded (from www.pomcast.com), it is greyed out and I can't read it. If I quit and relaunch iTunes, the podcast isn't greyed out anymore but it is still unreadable. I must locate it in the F

  • Convert the matrix report output to excel sheet

    Hi, I am using reports 6i and database Oracle Database 10g Enterprise Edition Release 10.2.0.1.0. I have to convert the output of matrix report into Excel sheet. Is it possible. Is there any other way to populate the matrix data to the excel sheet. T

  • Display a message in a For Loop  with field value

    Hello All, pls,i wanna display a message in a For Loop with field value the code is: FOR Q1 IN GET_SUM_EXP_QUANTITY LOOP               . INSERT INTO PLN_PLAN_DISTRIBUTION_WAY (FIN_YEAR_CODE , MONTH_CODE , MATERIAL_CODE , DISTRIBUTION_WAY , EXPECTED_Q

  • How to disable tool tips in JRC

    Please let me know how to disable tooltip in browser for JRC

  • Bypassing Execution Policy for a specific host

    Is is possible to have the execution policy set to remotesigned but have specific hosts set to bypass? I am administering an SCCM 2012 environment and I want to be able to run Powershell to check for the existence of packages or applications but it k