2 Replies Latest reply: Apr 11, 2013 12:33 PM by dabe76 RSS

    The whole Flash scene shows a split second before open an embedded music player SWF

    dabe76 Community Member

      Hi

       

      I'm not experienced when it comes to Flash but I' trying to get a music player onto my website with small changes

      in design in Flash. Everything works fine when importing the original file in Dreamweaver. In a FLA file that came

      along with the player I'm trying just to change the colors. When I open the file in Flash and save it as SWF, even

      without doing anything with it, the whole scene with playlist and all shows a split second before the actual player

      shows up.

       

      I don't know where to start to look for problems, the code or Flash.

      Working in CS5.5

       

      Thanks Daniel

        • 1. Re: The whole Flash scene shows a split second before open an embedded music player SWF
          Ned Murphy CommunityMVP

          Can you describe the design of the Flash file?  Is it a timeline design where it changes frames, or is it all frame 1 of the timeline?  Can you link to an example of its behavior or include some screenshots that show the problems?

          • 2. Re: The whole Flash scene shows a split second before open an embedded music player SWF
            dabe76 Community Member

            Hi Ned

             

            Thanks for your quick reply and sorry for my late, late one. I've been ill for a while and have had a lot of catching up to do.

            So, as you can see on the screenshot, it's just one frame and looks all messed up from scratch on the scene.

            Here is the link to the actual player: http://www.oxylusflash.com/flashfiles/universal-expanding-mp3-player-as2-audio

            And this is the link to how it looks when I have just opened and resaved it in Flash: http://acearchive.com/

            It just flashes the messed up scene for a second and then it looks ok.

             

            screenshot player.png

             

            This is the help I get from the document that comes along with the player and I really don't understand it with my limited knowledge.

            I've been contacting the support three times without sucess.

             

             

             

            Folders in the Downloaded Pack

             

            1 – Source FLA - original source files , you do not need to upload any of these to your server. Use these to change the code or edit graphics and export a new swf. This product is sold as a Flash CS3+ product (index.fla), however we also back-saved a Flash8 version named index-flash8.fla. It has not been tested with Flash8 which is why it it not officially supported, however chances are it should work just fine in Flash8.

             

            2 - Published SWF published swf file, html file, js code for embedding the swf, xml sample file; these are the files you need to upload to your server

             

            3 - PSD - here you can find the original Photoshop .psd design.

             

            4 - Help Files – contains the help documents and font information.

             

             

            Overview

             

                      The flash app can be found inside 1 – Source FLA/ index.fla file (which you need to open with Flash), inside the Library (Ctr+L to show the Library), under the folder named Universal Expanding MP3 Player AS2 by OxylusFlash. The corresponding symbol is named mp3Player. If you want to add it to another project, simply open the Library of index.fla, right click on Universal Universal Expanding MP3 Player AS2 by OxylusFlash Library folder and copy,  then go to your project’s Library and paste in. Drag the mp3Player symbol (from Library) on the stage in the first frame of the time line or where you want to have this component. Also, after doing this, please don’t forget to copy the source folders containing the .as code ( ascb, caurina, oxylus ) into your new project’s root folder ( near the fla ).

             

                      This will add only the actual mp3 player to your project without the patterned background. If you also want to add the patterned background, just drag and drop onto the stage the movie clip called Background. Place it on a lower layer behind the player.

             

            In order to just load this into your flash project you can load it with movieClipLoader ->

             

            var mcl:MovieClipLoader;

            mcl = new MovieClipLoader();

            mcl.loadClip("preview.swf", your_holder_mc);

             

            In order to use this embedded in html you can use the default .html generated by flash when compiling this or you can use the provided .html code with java-script where you can specify the .xml file like so:  so.addVariable(“xml”, “data.xml”);