Swing and Flash SWF objects

Is there a way to embed Flash files on a Swing application?
What I want to do is grab locations of images through the java application and pass it to an SWF file to display an animation.
If embedding flash in Swing isn't possible, what other options are there in Swing for animation?
Thanks

there is one more way to embed flash swf file in swings . ie thru JDIC .
java desktop integration compnentsMy current favourite way is thru the DJNativeSwing project. I realised it provides a slightly better renderering of components than JDIC, especially for the embedded IExplorer on Windows platforms, and it also has some extra cool features that one can use out of the box, like mixing heavyweight and lightweight containers. And Swing borders even work great.
ICE

Similar Messages

  • Java Swing and Flash

    Is it possible to create flash components (swf files) and include them in a Swing JFrame and be able to post data from and to it.
    For example, if the swf gui is showing a list of items, the list is coming from the Java application and then the SWF file gets included in a Swing JFrame. When user chooses an item from the list and clicks a button then the results is passed back to the Java application.
    Has anyone done something similar to this? How is this possible? Code samples would be appreciated.

    May be you can try out JFlash ...
    https://jflash.dev.java.net/
    They support only upto Flash 2 player... and it is still under development i guess...

  • Templates and Flash .SWF movie files

    OKAY seriously i am ready to throw this computer throught the
    wall, After googling and searching this forum up and down I still
    can find an answer that actually works , I have a Template file
    that updates 3 other html files and i can not get the swf flash
    movie to show up on the page, and for those of you smarty pants,
    * Yes I have the scripts folder
    * Yes I have the AC_RunActiveContent.js file present inside
    that folder and i also threw it on the root just in case
    * Yes the source files for the flash movie on my root
    * Yes it shows up in design view on all of the pages linked
    to the template
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" --><!--
    TemplateEndEditable -->
    <script src="../Scripts/AC_RunActiveContent.js"
    type="text/javascript"></script>
    </head>
    <body>
    <table width="100%" border="0" cellpadding="0">
    <tr>
    <th height="101" colspan="3" scope="row"><script
    type="text/javascript">
    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','1000','height','100','title','Title','src','../Flash_TopTitle','quality','high','plug inspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFl ash','movie','../Flash_TopTitle'
    ); //end AC code
    </script><noscript><object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
    width="1000" height="100" title="Title">
    <param name="movie" value="../Flash_TopTitle.swf" />
    <param name="quality" value="high" />
    <embed src="../Flash_TopTitle.swf" quality="high"
    pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="1000"
    height="100"></embed>
    </object></noscript></th>
    </tr>
    <tr>
    <th height="23" colspan="3"
    scope="row"> </th>
    </tr>
    <tr>
    <th width="22%" height="759"
    scope="row"> </th>
    <td width="60%"> </td>
    <td width="18%"> </td>
    </tr>
    <tr>
    <th scope="row"> </th>
    <td> </td>
    <td> </td>
    </tr>
    </table>
    </body>
    </html>
    Here is the code to one of the linked pages to my template
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"><!--
    InstanceBegin template="/Templates/MainTemplate.dwt"
    codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Hammocks Community School</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" --><!--
    InstanceEndEditable -->
    <script src="Scripts/AC_RunActiveContent.js"
    type="text/javascript"></script>
    </head>
    <body>
    <table width="100%" border="0" cellpadding="0">
    <tr>
    <th height="101" colspan="3" scope="row"><script
    type="text/javascript">
    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','1000','height','100','title','Title','src','../Flash_TopTitle','quality','high','plug inspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFl ash','movie','../Flash_TopTitle'
    ); //end AC code
    </script><noscript><object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
    width="1000" height="100" title="Title">
    <param name="movie" value="Flash_TopTitle.swf" />
    <param name="quality" value="high" />
    <embed src="Flash_TopTitle.swf" quality="high"
    pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="1000"
    height="100"></embed>
    </object></noscript></th>
    </tr>
    <tr>
    <th height="23" colspan="3"
    scope="row"> </th>
    </tr>
    <tr>
    <th width="22%" height="759"
    scope="row"> </th>
    <td width="60%"> </td>
    <td width="18%"> </td>
    </tr>
    <tr>
    <th scope="row"> </th>
    <td> </td>
    <td> </td>
    </tr>
    </table>
    </body>
    <!-- InstanceEnd --></html>
    Thank you so much for you time guys, please respond if you
    know whats up this is really killing me!!!!!

    make the path Site Root relative.
    either insert it again, and change the pulldown in the
    "browse to file"
    dialog box; or hand edit the code as follows:
    >
    d/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','../Flash_TopTitle'
    change end to '/Flash_TopTitle' );
    <param name="movie" value="../Flash_TopTitle.swf" />
    change to
    <param name="movie" value="/Flash_TopTitle.swf" />
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Link between Acrobat 3D and Flash (Macromedia) objects?

    Since Adobe acquired Macromedia(*) will we see a convergence of some sort between the Acrobat 3D capabilities and the ones already in Flash, for example the capabiliy to manipulate 3D objects interactively in Flash content? Thanks!
    * http://www.adobe.com/aboutadobe/invrelations/adobeandmacromedia.html

    if, for example, A is a class name, you should use "A" and then use getDefinitionByName() to retrieve the class reference from the string.
    private var  lettersL1:Array = new Array['A','F','G','H','I','N','O','S','T'];
    for(var i:int=0;i<lettersL1.length;i++){
    var C:Class=Class(getDefinitionByName(lettersL1[i]));  // import flash.utils.getDefinitionByName
    var c:*=new C(); // create instances from the classes in lettersL1
    // do whatever with c
    or, move those instanciation statements into your LetterArray constructor or somewhere beyond like:
    package
        import flash.display.*;
        import flash.events.*;
        import flash.text.*;
        import flash.utils.Timer;
        import flash.media.Sound;
        import flash.media.SoundChannel;
        import flash.net.URLRequest;
        public class LetterArray extends MovieClip
            private var _stage:Stage; //this reference works well to the main file. Should I somehow link it to the errorous code below?
            private var letterArray:Array;
            private var  lettersL1:Array; //this is the line that causes the error. I am sure it is because I need to add something to the main class.
            public function LetterArray(ss:Stage):void{
                var a:A = new A();
                var f:F = new F();
                 etc
                lettersL1 = [a,f,...]
                _stage = ss;

  • Fireworks pop up menu and flash

    hi,
    I want to have a page layout like adobe.com. Fireworks Pop up
    menu on top and flash swf file beneth it, but my Fireworks css pop
    up menu is hidden by flash swf file embeded when I bring it all
    together in Dreamweaver.
    I guess this is because embeded files superceed the css
    z-indexing but how do I overcome this isue. As I can see it can be
    done at adobe.com.

    All Active content on a page will always rise to the top, so
    to speak,
    including Flash, certain form elements, Java applets, and
    Active X controls.
    This means that each of these will poke through layers. There
    is not a good
    cross-browser/platform reliable way to solve this issue, but
    if you can be
    confident in your visitors using IE 5+ or NN6+, then you can
    use the Flash
    wmode parameter.
    MM articles:
    http://www.macromedia.com/support/flash/ts/documents/flash_top_layer.htm
    http://www.macromedia.com/support/flash/ts/documents/wmode.htm
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "sonneym" <[email protected]> wrote in
    message
    news:e3tgtr$kbb$[email protected]..
    > hi,
    > I want to have a page layout like adobe.com. Fireworks
    Pop up menu on top
    > and
    > flash swf file beneth it, but my Fireworks css pop up
    menu is hidden by
    > flash
    > swf file embeded when I bring it all together in
    Dreamweaver.
    > I guess this is because embeded files superceed the css
    z-indexing but how
    > do
    > I overcome this isue. As I can see it can be done at
    adobe.com.
    >

  • Flash swf loading flashbuilder swf

    is there a trick for having a Flash CS4 website swf be able to load a flashbuilder4 generated swf?
    doesn't show up.
    i remember an issue from Flex3 concerning it locking up the gui unless you had a flex3 canvas or whatnot loaded prior.
    fb swf can load by itself fine via its html, and flash swf can load other flash swf's, but i can't get the flash swf to load the fb4 swf.
    thx

    If you have used fl.. classes in the CS4 swf it might prevent the Flex SWF
    from loading, but usually you get errors.

  • Horizontally centering flash .swf" and disallowing horizontal scroll??

    Is it possible to center a flash .swf file on a website, and then disable horizontal scrolling?
    I made my website in Flash Catalyst, and I made the width 1700px and the height 1200px. I made the width large because I wanted it to look good in the largest screen resolutions, but my biggest problem now that I've finished making the website is putting it up. Simply embedding it makes it scroll horizontally all the way to 1700px, which isn't good for those with small browsers.
    Originally, I was planning on making the flash file the background in CSS (using body {background: url(FILE.swf) no-repeat #000 top center}) but then I found out you can't put .swf's as backgrounds.
    Basically, I want to know if it's possible to center the .swf horizontally, and then disallow horizontal scrolling. I want to keep vertical scrolling,
    Any help appreciated!

    Is it possible to center a flash .swf file on a website, and then disable horizontal scrolling?
    Yes, but it introduces other problems. With scrolling disabled, you might not be able to see all the page. I DO NOT recommend what you are trying to do. Flash scaling would most likely give you better results.
    Background images if intended to cover a large area are typically very small images which are repeated to create a pattern. Using one large image will still never cover all the possible screen resolutions or page sizes... for example larger than 1700 or taller than 1200 pixels.
    Centering requires a set dimension, like 1700 so auto set margins would center it, but it still may not cover 100% as using a width of 100% would.
    That being said, turn off horizontal scroll and leave vert on with:
    overflow-y: auto !important;
    overflow-x: hidden !important
    then you'll need to use z-indexing to lay anything else over the top of you background .swf
    Here a sample page that should get you going... dimensions are smaller so you can see how it works... the principle is the same.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>No Scroll</title>
    <style type="text/css">
    <!--
    body, html {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    overflow-y: auto !important;
    overflow-x: hidden !important
    #main_container {
    position: relative;
    width: 800px;
    height:800px;
    background-color:#ff0000;
    border:none;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    #flash {
    position: relative;
    width: 800px;
    height:600px;
    background-color:#cccccc;
    border:none;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
    #content {
    position: relative;
    top:-600px;
    width: 400px;
    height:300px;
    background-color:#00ff00;
    border:none;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    overflow: auto;
    z-index: 5;
    -->
    </style>
    </head>
    <body>
    <div id="main_container">
    <div id="flash">
      <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="800" height="600" id="overflow" align="middle">
      <param name="allowScriptAccess" value="sameDomain" />
      <param name="movie" value="overflow.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffff00" /><embed src="overflow.swf" quality="high" bgcolor="#ffff00" width="800" height="600" name="overflow" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
      </object>
    </div>
    <div id="content">
    <p align="center">This is the center</p>
    </div>
    </div>
    </body>
    </html>
    Best of luck!
    Adninjastrator

  • Flash SWF file within Swing JFrame

    I was wondering whether its possible to open a Flash swf file within a JFrame
    I am looking for a solution similar to the usage of Flash Activex control in .NET
    thanks in advance
    Vikas

    I have read the forum link and other such entries in this forum. I have found the following:
    1.) JFlash - a java based flash player. https://jflash.dev.java.net/
    Could'nt find the app or the official site
    2.) a few projects on sourceforge.org :
    java flash bridge where you embed the flash inside an Integrated Browser Component
    3.) SWT Flash integration.
    I do not find any of these solutions satisfactory.except the SWT/Flash integration which I havent tried.
    My question is that isnt there an easier and simpler way to :
    Embed Flash into Swing app where actionscript and java can communicate.
    I am aware of Remoting and web services. But It is a desktop app I am talking about.
    Can anyone suggest anything?
    thanks in advance..
    from a very frustrated programmer....

  • Flash SWF Performance Testing and Data

    Looking for some recommendations on tools that can be used independent of the source (that is just on the swf) to check for Frames Per Second, total size and how often the movie loops.
    Needed for Flash Banner ad quality assurance.

    The need was solved by writing my own AIR app to read the SWF file header.
    http://www.lonhosford.com/lonblog/2011/01/17/read-flash-swf-header-in-air-with-parsley-fra mework/
    You can drag a swf file and see the header data. As well you can load a swf from the web.
    Enjoy.

  • Can I import binary in Flash CS5 and export swf, without AS code likes "Embed" ?

    Can I import binary in Flash CS5 and export swf, without AS code likes "Embed" ?
    I know I can use AS code,likes "[Embed]" metadata to embed binary in swf. But , how can I do that in Flash CS5 ?

    Have a look at this: http://stackoverflow.com/questions/7816231/how-to-use-as3-to-load-binary-data-from-web-ser ver

  • Can an embedded Flash SWF save and get a variable with Reader?

    My SWF content contains text in different languages.  The user selects a language and it appears.
    Is there a way to store this setting locally so that the correct language appears when the pdf is reopened?
    I only need a two-letter string, like "EN," "FR," "ZH," etc. and the SWF does the rest.
    I've tried calling multimedia_saveSettingsString from the SWF Actionscript, and I've tried setting an Acrobat global variable and setPersistent using Actionscript and local .js files. It works in Acrobat, but not Reader on a users system.
    I also tried using a separate pdf form to store a global variable, and then attempted to get that variable using the SWF Actionscript.
    Could the be an issue with security settings or Acrobat properties?
    I'm not a virtuoso at this, so script examples would help.
    (Windows 7; Actionscript 3; Acrobat 9 and XI are available; Adobe Reader 9 is in the installed base, but I may be able to switch to a higher version of Reader)
    I asked a similar question in the Acrobat Javascript community, but got no responses. I reworded it here with additional detail
    Thanks.

    Here's the section from my example that's linked to the Save and Load buttons. evalText, infoText and replyText are the three TextArea fields.
    Note that it's important to send a string, but return an object and cast it back into a string. EI.call() has no clue what's being sent back from JavaScript.
    // button handlers
    butSave.addEventListener(MouseEvent.CLICK, doSave);
    function doSave(e:MouseEvent):void {
        var rtn:Object = ExternalInterface.call("multimedia_saveSettingsString",evalText.text);
        if (rtn == null) {
            infoText.appendText("Save: REPLY = null");
        } else if (rtn.toString() == "") {
            infoText.appendText("Save: REPLY = empty string");
        } else replyText.appendText("Save: reply = " + rtn.toString());
    butLoad.addEventListener(MouseEvent.CLICK, doLoad);
    function doLoad(e:MouseEvent):void {
        var rtn:Object = ExternalInterface.call("multimedia_loadSettingsString");
        if (rtn == null) {
            infoText.appendText("Load: REPLY = null");
        } else if (rtn.toString() == "") {
            aT(infoText,"Load: REPLY = empty string");
        } else replyText.appendText("Load: reply = " + rtn.toString());

  • Question about SWING and ActionEvent Object.

    When using a graphical component like a JButton,
    one typically adds an ActionListener Object to that button using the
    addActionListener method,
    in order for a click/appropriate action to execute desired Java code.
    One's desired code is within one's own ActionListener Object,
    which implements an appropriate interface and the equivalent of
    that interface's actionPerformed method.
    -How does one program one's own ActionEvent Object,
    and register that object (myActionEvent) with the java virtual machine
    such that your OWN event object is fired, instead of the
    default action?
    -Does instantiating one's appropriate ActionEvent object
    "fire" it as an event?

    Zac1234 wrote:
    When using a graphical component like a JButton,
    one typically adds an ActionListener Object to that button using the
    addActionListener method,
    in order for a click/appropriate action to execute desired Java code.Only for components that accept ActionListeners of course. This won't work with a JLabel for instance or any random "graphical component".
    -How does one program one's own ActionEvent Object,
    and register that object (myActionEvent) with the java virtual machine
    such that your OWN event object is fired, instead of the
    default action?Please explain exactly what you're trying to do here. Perhaps it's just me, but I'm not sure I understand what you mean by programming your own ActionEvent Object. An ActionEvent object can be simply created like any other object and by using the appropriate constructor (the API can help), but I don't think that you're talking here about ActionEven objects -- the parameter of the actionPerformed method, are you? Please give details as they are important here.
    -Does instantiating one's appropriate ActionEvent object
    "fire" it as an event?No, but again I'm stumped as to exactly what you're trying to do here.
    Finally, let's keep this discussion here, but next time, you will probably want to ask your Swing questions in the Swing forum.
    Best of luck.

  • Using Flash SWF works great on live view and preview in Safari but does run after upload.

    Help needed.
    I have creatd a SWF file using Flash. Saved to root directory of the website.
    Inserted into a AP tag area.
    Plays Ok in Live view
    Plays OK in Safari preview
    Uploads OK
    Checked file present OK
    Upload Scripts folder
    Will not play when go to website page left with white area where swf should be playing.
    Ideas greatly received.
    Using Dreamweaver 5.5
    Cheers
    Bikeboysim
    www.parrotti.com

    Glad you got it all working! Good job!
    Just a note (for yourself and anyone else using Flash) on the rumor that all Flash files must be in the root folder... simply not true. In my opinion, as with any other type of files on your site, I'd suggest putting them in organized folders.... all the images in one folder... then subfolder for diff categories of images, flv video files in another folder, maybe keep all the .swf files in another, the xml data files in another, etc. Flash asset files can be just as organized as any other type of files.
    From an old article.... for review:
    Pathing issues
    Almost always when it works on the local machine and not the server, it's a pathing problem.
    You can put your Flash related files in whatever folders you want, they do NOT have to be in the root, they do NOT all have to be in the same folder. But if you have a problem and if sticking them all in the root folder works, then you know that the issue was a pathing problem.
    Just remember that paths used in the .swf become relative to the Web page on which the .swf is placed, NOT it’s physical location.  So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root folder, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, images, video, etc), the path used inside the .swf to load the .xml file has to be relative to it's new location in root and then back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.
    In fact if you are placing the .swf on a web page in a different folder than the .swf is stored in, and that .swf calls external assets, then direct clicking and opening of the .swf in it’s folder should NOT work! That’s because the paths to the external assets should be relative to the Web page and not the physical location of the .swf.
    So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the Flash related files in what ever folders you want.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    Best wishes,
    Adninjastrator

  • Swf increase size mystery publishing into Flash 8 and Flash CS4

    Hello,
    i discovered recently that a swf build with Flash 8 IDE, published for Flash Player 8 get a different size when published with Flash CS4 IDE.
    You can reproduce that effect with all sort of swf.
    I did a report for each publish (same .fla into Flash 8 IDE and Flash CS4 IDE)
    The result was : all vector graphics, all fonts, all bitmaps, all actionscript code increased
    From test.fla, i did one key frame with :
    - a dynamic TextField with some simple chars in it = "Test Chars",
    - a simple shape with brush tool
    - and one movieclip with an ordinary circle
    Size report from Flash 8 :
    test.swf Rapport sur l'animation
    Image #    Image octets    Total octets    Séquence
          1          14419          14419    Séquence 1 (Image d'exportation des classes AS 2.0)
    Séquence                        Forme octets    Texte octets    ActionScript octets
    Séquence 1                           86           132                     0
    Symbole                       Forme octets    Texte octets    ActionScript octets
    clip_circle                           69             0                     0
    Nom de la police                 octets        Caractères   
    Arial                         14056     !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxy z{|}~ˆ˜–—‘’‚“”„†‡•…‰‹›€™
    Size report from Flash CS4 :
    test.swf Rapport sur l'animation
    Image #    Image octets    Total octets    Séquence
          1          18932          18932    Séquence 1 (Image d'exportation des classes AS 2.0)
    Séquence                        Forme octets    Texte octets    ActionScript octets
    Séquence 1                          103           174                     0
    Symbole                       Forme octets    Texte octets    ActionScript octets
    clip_circle                           91             0                     0
    Nom de la police                 octets        Caractères   
    ArialMT                       18467     !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxy z{|}~ˆ˜–—‘’‚“”„†‡•…‰‹›€™
    Does somebody knows something about this strange phenomen ?

    Didn't look at the file size of the FLA, just the SWF as I didn't even necessarily resave the CS4 as CS6. No edits were made, I tried it with a simple open and publish just to make sure I wasn't doing anything to change the file and the resulting file was heavier (kb).
    I looked through the size reports and saw that while image compression was better in the CS6 version, the fonts were all heavier than they were in the CS4 version and this put it over the 40kb limit.

  • I have a question about Flash swfs and Scripts

    I have a Flash swf file and it is made up of my logo and stuff going past it and around it, behind it, and such. What can I do to it, so when somebody enters the page the logo will appear at the center of the page and then progressively move up until it hits the page logo and then kills the swf file?

    I wouldn't give up hope on getting some ideas for how to get what you want, trying things can be the best way to learn.   But you should clarify things because your current description is a little hard to follow.  You say you want a logo centered on a page moving up the page towards a logo, but then you say the page fades in when the logos meet (Wasn't the page there already?).  It's hard to differentiate the logos and the pages from your description.  Or maybe it's just me not being able to follow it.
    If you want a splash screen, then typically a splash screen will play thru whatever it does and then initiate a redirect to the home page.  This redirection would be coded into the Flash file.
    If you want the home page to fade into view, then you'd either have to build that page as a movieclip in the Flash file or try to utilize a page transition in the browser.  It has been so long since I even tried using a browser page transition that I couldn't tell you how to set it up, but if memory serves me well, IE was the only browser at the time that supported them, and I don't know if that has changed. (I don't know enough to know if there is a CSS solution to making a page fade in)

Maybe you are looking for