SWF Play Button Template ActionScript

Thank you in advance for any help or direction!
My cleint needs a file for the web that is in SWF format and
in a player. We are using Sorenson Squeeze to create the file as
well as using a Sorenson player template. My hang up is that they
would like the PLAY button to appear right away and the default of
the player is to wait until the file is fully downloaded.
Is there an actionscript that will allow me to have the PLAY
button available to start the movie before the file is completely
downloaded? Or, an option to edit the player in Flash along the
same lines and re-export the player?

If the annotation isn't activated, you are printing the JPEG poster image instead - which doesn't have transparency. By default, poster images created from the media will have the play icon burned in, just choose your own image.

Similar Messages

  • How do I hide the SWF play button when printing an embedded PDF with a SWF

    When I print the PDF there is a big play button over some text. Can it be hidden?
    Is there are a way of resizing a SWF once embedded? It's a pain to work with.
    Sometimes, although the SWF is transparent and embedded as transparent but when printed it buts a grey box behind.
    Any ideas Adobe?

    If the annotation isn't activated, you are printing the JPEG poster image instead - which doesn't have transparency. By default, poster images created from the media will have the play icon burned in, just choose your own image.

  • Remove play button from inserted SWF

    I'm using Acrobat 9 Pro. When inserting an animated SWF, it usually has a triangular play button. Is there a way to remove that button?

    You can use "Create poster from file" under the Advanced options, and use a screenshot of the SWF. The play button graphic won't be added.

  • Play button showing when publishing to responsive template

    I'm having difficulties when previewing and publishing a responsive project.
    Initially when I viewed the review/published project the first slide was blank and I had to use the TOC to navigate to the first page. I searched for a resolution and found a support document stating that auto play should be turned off when publishing a project in html5. I unchecked the auto play box in publish settings and the project now starts at the first slide. The issue now is that the play button displays throughout the course. Does anyone know how to remove this/change the settings? I've used Captivate 5.5 and 6 in the past and the play button has been hidden on click. Another issue is that the hand cursor doesn't appear when I hover over the button and it needs to be clicked twice before the project will start.
    Here is an example...This is the first page but when I click the button it still appears on every slide of the project.
    Please help.

    I see the Helvetica problem on the menu
    The birth card looks nice in italic, but I am sure that's not what you had intended.
    Can you see whether this particular font is already in the Font Book. There might be a clash of fonts here ... Font Book and FontExplorer. Restart you Mac and see if the problem persists. But save your site first.
    There is no need to re-install iWeb. This is a font issue.
    I am using Extensis Suitcase
    Joe
    [email protected]

  • Trying to create Large Play button on Flash CS4

    Hello,
    I am trying to create the following: (using someone elses post from another board)
    "I am wondering if there is a way to hide the FLVPlayback skin until a certain event happens. Let me explain.
    I have an instance of the flvplayback component in my movie. I have the player skin set to "autohide" and "autoplay" set to false. Instead of having users click on the play button of the skin to start the movie I have incorporated a larger play button in the middle of the screen. The set back here is that when a user mouses over the movie to click on the larger play button the flvplayback skin appears as well.
    I'd like to basically tell the skin "Hey don't appear on mouseover until AFTER the large play button is pressed." What code would I need for this in Actionscript 3?"
    I am curious if someone can teach how to embed a regular .swf movie file into the
    "example" code, which was also posted here
    (http://www.kirupa.com/forum/showthread.php?t=323702)
    I have very limited coding skills and very much appreciate the assistance.
    Rod

    You are looking for the visible property I believe.
    At the beginning of your code, set:
    myFLVPlayer._visible = false;
    to set it invisible (replacing "myFLVPlayer" with your components name ocourse)
    Then, onRelease of your button, set:
    myFLVPlayer._visible = true;
    to make it visible again.
    EDIT
    I just looked at your code in the other forum, and here is your onRelease function fixed:
    video_mc.video._visible = false;
    video_mc.bigButton_mc.onRelease = function(){
    video_mc.bigButton_mc._visible = false;
    video_mc.video._visible = true;
    video_mc.video.play();

  • End of slide - click play button

    My presentations have audio narrations of varying lengths.
    The beginning of the presentation indicates that the users need to
    click play to advance from slide to slide, but it appears some
    users are unsure when a slide has ended so they sit there for a
    while before they get around to hitting the play button to advance
    (I don't want to auto-play the presentation because I want them to
    have more control over navigation and to prevent them from just
    spacing out and losing track of where they are). I find it
    annoyingly repetitive to say something like "Click play to
    continue" at the end of each slide - and since many slide have
    Captivate animations covering the whole screen, having a text
    prompt display doesn't seem like it would work very well.
    Has anyone experimented with either using some kind of tone
    or sound to indicate the end of a slide, kind of like they do on
    some language tapes to indicate the user needs to do something? Or
    else is there an actionscript way to make the play button highlight
    in an obvious way?
    Any ideas are appreciated, thanks!
    -Sue

    Hi,
    As this question is more relate to Office, I suggest you post it to Microsoft Office Forum, you will get more help and confirmed answers from there.
    http://social.technet.microsoft.com/Forums/office/en-US/home<o:p></o:p>
    Best regards
    Dennis Guo
    TechNet Community Support

  • CS3/AS2 need to add a function to FLVPlayer component play button

    Hi,
    I have an instance of the FLVPlayback component in a movie.
    I need to assign an extra function to the play button in the
    component
    (to tell another swf on the same page to stop, I have the
    function working)
    how can I find out the button instance name so I can assign
    the function to it?
    or am I on the wrong track?
    mark

    bump
    Do I need to trigger it by listening for an event, namely
    play
    rather than assigning it to the button as a function for
    on(release)
    I do not know how to do that
    any help please
    not much time to sort this out

  • Animating a button with actionScript

    I'm fairly stumped on this one - but probably quite simple to fix.
    I need to animate the scale of a button with actionScript 2.0. I've inherited a project that was done with actionScript 2.0 and have decided to stay with this generation rather than rewrite the whole project. Anyway - I've created a sound object, it plays audio from the library and 3 seconds after it starts playing, I want to animate the "next" button and make it pulse to attract the users attention.
    Doing this by putting the button in a movie clip is not working as I am losing it's button states and besides it's probably far more tighter to program it.
    When the user rolls over the button it stops pulsing but still retains it's up, over and down states.
    Any easy answer?

    Thanks for your help Ned.
    I ended up making an advanced button with movie clips and using programming for all the states.
    Movies are so much easier to control than buttons.
    But you have raised something I had overlooked...setTimeout( )
    I was using setInterval( ) and then doing clearInterval( ) within the function so it would only loop once, which of course was problematic if the user beat the 'clearInterval' code by clicking on the button too early.
    Actually used setInterval( ) to delay all sound on the project - now going to re-program all that.
    Thanks

  • Play button and autoplay problem

    I have been trying to work out the bug in media player configuration.  My swf movie autoplays and the play button does not appear.  Both IE and Firefox.  This is my embed code
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0"
    width="450" height="300">
    <param name="movie"
    value="http://localhost/media/10.0/StrobeMediaPlayback.swf"></param>
    <param name="FlashVars"
    value="src=http://localhost/media/newtest.swf
    &streamType=recorded
    &loop=false
    &autoPlay=false
    &playButtonOverlay=true
    &autoHideControlBar=false"></param>
    <param name="allowFullScreen" value="true"></param>
    <param name="allowscriptaccess" value="always"></param>
    <embed src="http://localhost/media/10.0/StrobeMediaPlayback.swf"
    type="application/x-shockwave-flash"
    allowscriptaccess="always" allowfullscreen="true"
    width="450" height="300"
    FlashVars="src=http://localhost/media/newtest.swf
    &streamType=recorded
    &loop=false
    &autoPlay=false
    &playButtonOverlay=true
    &autoHideControlBar=false">
    </embed>
    </object>
    Thanks.

    Hello:
    Fantastic glad it got fixed with an update. Rock on \m/

  • Simple AS3 external swf playing code?

    Hi
    I'm after some REALLY simple code, and am happy to pay someone via Paypal to do this for me.
    I want to have a one frame piece of AS3 code that loads in external swfs from an array.
    I want external swf 1 to play, and when it's finished, swf 1 unloads from memory, and then external swf 2 starts playing and so on through the array.
    When the end of the array is met, it loops back to the first swf and starts again.
    I don't need transition effects or anything like that.
    This is to be used for an offline project, so it's not connected to the web.
    I've been playing with it for a while myself, but can't get this to work.  It should be a simple and quick job for someone out there.  Just load a new swf into the child holder and play.  When that swf's finished playing, dump it, and load in and play the next one.
    Thanks for your help.
    Shaun

    Nothing at this stage - I'm still experimenting to figure out the best way to do it.  I found something like what I want at http://www.flashandmath.com/intermediate/externalclips/ext_clip2.html (without button control though - there's a code addition at the bottom to add in to make the swfs play by themselves).
    The problem with the above example is I can't get any external swfs besides the example ones to play.  I even tried renaming my as3 swfs to clip0 etc, but still nothing.
    If someone can make it for me, and it means I have to add some code to the end of each external swf, if they can include the code to add, I can incorporate it no probs.
    Cheers
    Shaun

  • Fullscreen button in Actionscript 2

    Hi everyone.  I hope someone can help me with this.  I'm having some problems making a fullscreen button in Actionscript 2 that works in a swf file.  You see, this document I'm making isn't going to be going on the web.  It's just going to be shown on a computer at company events.  However, I need a button that makes the document fullscreen, and none of the codes I've tried have seemed to work in the swf.  Here is the current code I'm working with:
    //Don't scale the movie when the stage size changes
    Stage.scaleMode="noScale";
    //Align the stage to the top left
    Stage.align = "TL";
    //Function to toggle between fullscreen and normal size
    //the toggle fullscreen button calls this function when pressed
    function toggleFullScreen(){
        //if normal size, go to fullscreen, else go to normal size
        if(Stage["displayState"]=="normal"){
            Stage["displayState"]="fullScreen";
        }else{
            Stage["displayState"]="normal";
    //Create a listener for each time the Stage is resized
    var resizeListener:Object = new Object();
    //Called each time the stage is resized
    resizeListener.onResize = function () {
        //Move the button to the center of the screen
        toggleFullScreenButton._x=Stage.width/2;
        toggleFullScreenButton._y=Stage.height/2;
    //Add the listener to Stage
    Stage.addListener(resizeListener);

    I got this compiler error: 
    Scene=Scene 1, layer=Layer 1, frame=1, Line 20
    Unexpected '}' encountered
    And yes, the instance name on the button is toggleFullScreenButton.  Here is all the AS with your code that I just tried.
    //Don't scale the movie when the stage size changes
    Stage.scaleMode="noScale";
    //Align the stage to the top left
    Stage.align = "TL";
    //Function to toggle between fullscreen and normal size
    //the toggle fullscreen button calls this function when pressed
    function toggleFullScreen(){
        //if normal size, go to fullscreen, else go to normal size
        // add a trace which appears in the output panel when you "TEST" your movie (e.g. CTRL+ENTER inside Flash)
         trace("Toggle full screen button was pressed");
         if (Stage.displayState == "normal") { Stage.displayState = "fullscreen"; }
         else { Stage.displayState = "normal"; }
    //Create a listener for each time the Stage is resized
    var resizeListener:Object = new Object();
    //Called each time the stage is resized
    resizeListener.onResize = function () {
        //Move the button to the center of the screen
        toggleFullScreenButton._x=Stage.width/2;
        toggleFullScreenButton._y=Stage.height/2;
    //Add the listener to Stage
    Stage.addListener(resizeListener);
    And on the button itself is this code:
    on(press){
        toggleFullScreen();

  • Mute and unmute button is actionscript 3.0

    Hi,
    I am wondering how to make a mute and unmute button is actionscript 3.0.  I did it before in actionscript 2.0 but not in 3.0.
    Here is my actionscript 2.0 code.
    var sound = 1;
    var slashMC = _root.attachMovie("slash","slash01",99);
    slash01._visible = false;
    slashMC._y = btn._y;
    slashMC._x = btn._x;
    var s:Sound = new Sound();
    s.attachSound("Gravy");
    s.start(1,999);
    btn.onPress = function(){
    if(sound==1){
      s.stop();
      slash01._visible = true;
      sound = 0;
    else if(sound==0){
      sound = 1;
      slash01._visible = false;
      s.start(1,999);
    Thanks

    Try this:
        import flash.display.MovieClip;
        import flash.events.*;
        import flash.media.*;
        import flash.net.URLRequest;
            var isPlaying:Boolean = false;
            var snd:Sound = new Sound();
            var channel:SoundChannel = new SoundChannel();
            var pos:Number = 0;
            var soundVolume:Number = 1;
                snd.load(new URLRequest("something.mp3"));
                btn_Stop.addEventListener(MouseEvent.CLICK, stopMusic);
                btn_Stop.buttonMode = true;
                btn_Play.addEventListener(MouseEvent.CLICK, playMusic);
                btn_Play.buttonMode = true;
             function stopMusic(evt:Event):void
                channel.stop();
                pos = 0;
                isPlaying = false;
             function playMusic(evt:Event):void
                if(!isPlaying)
                    channel = snd.play(pos);
                    btn_Play.visible = false;
                    btn_Pause.visible = true;
                    isPlaying = true;

  • How to load swf files within another SWF and still maintain actionscript

    Hi I was wondering how to embed an swf file inside another
    swf file, If i simply import it to the stage or the library it will
    become a symbol but the actionscript interactivity is lost, another
    question is can I have an actionscript 2 file play within an
    actionscript 3 file?
    The actionscript 2 code for embedding is something like this:
    don't mind the _mc titles
    this.cargame_mc.onRelease = function (){
    loadMovie ("Crusty Rusty's.swf", empty_mc)
    empty_mc._xscale=60;
    empty_mc._yscale=55;
    empty_mc._x=210;
    empty_mc._y=140;
    Please Help its for my uni portfolio, i want to use as2, but
    if i do i would lose the 3d possibility of as3, is there any way to
    export an as3 file and then embed in as2, using a program or
    anything? Thanks!I
    I would just like to say thanks in advance because everyone
    on here is so helpful!

    you can load an as2 file into an as3 file (using the loader
    class) and the actionscript will work in both.

  • Pause/Play button on toolbar

    When running a captivate slide show, and using the pause/play
    button on the customisable toolbar, we have noticed that when
    clicked this button does not pause any audio that may be currently
    running on the slide, therefore making the facility partly
    nonsensical. Is this a feature of Captivate 3.0, or is it just me
    not embedding the sound in the correct place????
    Please help.

    Hi Kate,
    My instincts tell me that you are experiencing a change in
    focus, but I'll tell you what I mean, and you can decide if that
    may be the problem. Assuming you are publishing to SWF/HTM output
    ... when your movie starts, what is actually happening is, you are
    opening a HTML document, and the movie (the SWF document) is
    "called" (commanded to open) by that (HTM) document. Therefore,
    when it is first begun, the computer's "focus" is on the HTM, not
    the SWF contained in it.
    Keeping that in mind, the first time you click (an object in
    the movie itself), the Windows operating system must change the
    focus
    from the HTM document
    to the SWF movie, which accounts for the first "click". The
    second time you click, the SWF document makes the correct
    assumption that the "click" is meant to be interpreted as a command
    intended for the object in the SWF movie.
    This behavior may vary, depending on the browser being used,
    and perhaps even the operating system (I'm guessing here, because I
    don't know how Windows Vista might treat the action of clicking in
    a browser window as opposed to the way Windows XP handles the same
    command-action).
    Another possible cause might be the mouse itself, or its
    software. You can check this easily enough, by seeing if the
    failure to function always occurs on the same machine, and if it
    changes when you install a different pointing device. I know from
    personal experience that sometimes I have to click really firmly,
    and sometimes not. I use a battery powered optical mouse, and its
    behavior is subject to change as the batteries get older.
    I don't know if there is any help in my comments ... I
    certainly hope so. Let us know, because sometimes when one member
    "hits a wall" in offering solutions, another member "sees a light"
    and a difficut problem ends up having a simple solution.
    All the best,
    Larry

  • How do I Remove The Play button & White Screen that shows on the IPad?

    Can anyone tell me how to remove the play button that apears on a white screen before the course starts? it only shows on the iPad and if this is going to be published as an IOS app using phone gap build i dont want this to show.
    I have found some javascript that i have tried but it dosent seem to remove the white screen or browser warning does anyone know the correct javascript to use?
    Current Javascript:
    http://floatlearning.com/2013/10/a-more-mobile-friendly-captivate-html-template/
    <script type='text/javascript' src='assets/js/fastclick.js'></script>
    <script type='text/javascript'>
    $(function() {
    FastClick.attach(document.body);
    $("#CPUnSupportedBrowserWarning_ID").remove(); // Removes browser warning
    cp.movie.play(); // Skips play button screen
    </script>
    I am using the latest version of Captivate 7.0.1 on Mac
    Thanks,
    Oliver

    Hey, thanks for you reply
    I cant seem to find that function this is what captivate 7.0.1 generatesin terms of HTML:
    <!DOCTYPE html>
    <html>
    <head>
    <meta name='viewport' content='initial-scale = 1, minimum-scale = 1, maximum-scale = 1'/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="x-ua-compatible" content="IE=10">
    <title>Brainstorming eLearning Course</title>
    <style type="text/css">#initialLoading{background:url(assets/htmlimages/loader.gif) no-repeat center center;background-color:#ffffff;position:absolute;margin:auto;top:0;left:0;right:0;bottom :0;z-index:10010;}</style>
    <script>
    function initializeCP()
              function cpInit();
              cp.movie.play();
                        document.body.innerHTML = " <div class='cpMainContainer' id='cpDocument' style='left: 0px; top:0px;' >          <div id='main_container' style='top:0px;position:absolute;'>          <div id='projectBorder' style='top:0px;left:0px;position:absolute;display:block'></div>          <div class='shadow' id='project_container' style='left: 0px; top:0px;position:absolute;' >          <div id='project' class='cp-movie' style='width:1024px ;height:748px '>                    <div id='project_main' class='cp-timeline cp-main'>                              <div id='div_Slide' onclick='cp.handleClick(event)' style='top:0px; width:1024px ;height:748px ;position:absolute;-webkit-tap-highlight-color: rgba(0,0,0,0);'></div>                    </div>                    <div id='autoplayDiv' style='display:block;text-align:center;position:absolute;left:0px;top:0px;'>                               <img id='autoplayImage' src='' style='position:absolute;display:block;vertical-align:middle;'/>                              <div id='playImage' tabindex='9999' role='button' aria-label='play' onkeydown='cp.CPPlayButtonHandle(event)' onClick='cp.movie.play()' style='position:absolute;display:block;vertical-align:middle;'></div>                    </div>          </div>          <div id='toc' style='left:0px; float:left;position:absolute'>          </div>          <div id='playbar' style='left:0px; float:left;position:absolute'>          </div>          <div id='cc' style='left:0px; float:left;position:absolute;visibility:hidden;pointer-events:none;' onclick='cp.handleCCClick(event)'>                    <div id='ccText' style='left:0px;float:left;position:absolute;width:100%;height:100%;'>                    <p style='margin-left:8px;margin-right:8px;margin-top:2px;'>                    </p>                    </div>                    <div id='ccClose' style='background-image:url(./assets/htmlimages/ccClose.png);right:0px; float:right;position:absolute;cursor:pointer;width:13px;height:11px;' onclick='cp.showHideCC()'>                    </div>          </div>          <div id='pwdv' style='display:block;text-align:center;position:absolute;width:100%;height:100%;left:0px; top:0px'></div>          <div id='exdv' style='display:block;text-align:center;position:absolute;width:100%;height:100%;left:0px; top:0px'></div>          </div>          </div></div><div id='blockUserInteraction' class='blocker' style='width:100%;height:100%;'>          <table style='width:100%;height:100%;text-align:center;vertical-align:middle' id='loading' class='loadingBackground'>                    <tr style='width:100%;height:100%;text-align:center;vertical-align:middle'>                              <td style='width:100%;height:100%;text-align:center;vertical-align:middle'>                                         <image id='preloaderImage'></image>                                        <div id='loadingString' class='loadingString'>Loading...</div>                              </td>                    </tr>          </table></div> <div id='initialLoading'></div>";
                        cp.DoCPInit();
              if((typeof InitAppPackager !== "undefined") && (typeof InitAppPackager === "function"))
                        InitAppPackager(cpInit);
              else
                        cpInit();
    </script>
    </head>
    <body>
                        <div id='initialLoading'></div>
    <script>
                        (function()
                                  if(document.documentMode < 9)
                                            document.body.innerHTML = "";
                                            document.write("The content you are trying to view is not supported in the current Document Mode of Internet Explorer. Change the Document Mode to Internet Explorer 9 Standards and try to view the content again.<br>To change the Document Mode, press F12, click Document Mode: <current mode>, and then select Internet Explorer 9 Standards.");
                                            return;
                                  window.addEventListener("load",function()
                                            setTimeout(function()
                                                      var script = document.createElement('script');
                                                      script.type = 'text/javascript';
                                                      script.src = 'assets/js/CPXHRLoader.js';
                                                      script.defer = 'defer';
                                                      script.onload = function()
                                                                var lCSSLoaded = false;
                                                                var lJSLoaded = false;
                                                                function constructDIVs()
                                                                          if(lCSSLoaded && lJSLoaded)
                                                                                    initializeCP();
                                                                cpXHRJSLoader.css('assets/css/CPLibraryAll.css',function() {
                                                                          lCSSLoaded = true;
                                                                          constructDIVs();
                                                                var lJSFiles = [  'assets/js/jquery-1.6.1.min.js','assets/js/CPM.js' ];
                                                                cpXHRJSLoader.js(lJSFiles,function()
                                                                          //console.log("js loaded");
                                                                          lJSLoaded = true;
                                                                          constructDIVs();
                                                      document.getElementsByTagName('head')[0].appendChild(script);
                                            },1);
                                  },false);
    </script>
    <noscript style="text-align:center;font-size:24px;">Enable Javascript support in the browser.</noscript>
    </body>
    </html>

Maybe you are looking for

  • How can I open email attachments from an Exchange server?

    When I am at home and accessing emails on my business email address I have to go through a Microsoft Exchange server. I can read the emails but whenever I try to open or download an attachment, I get the message: "To open this attachment, you must sa

  • Foreign language email display

    Hi all, For my work, I receive some emails that are written in Spanish. I used to be able to see them fine. Then recently the special characters are no longer displayed and now emails from certain senders (all from abroad) are displayed in a string o

  • I need copies of in app purchase receipts

    Can someone please tell me how I can get copies of past in app purchases from iTunes? I can't seem to figure it out and I really need them. Thanks in advance for you help! Valorie

  • My windows office package does not reopen, what do i do?

    Hi, I have installed Microsoft Office:  mac 2011. It was working great and then after awhile it keep popping up an error screen and non of my office applications open. How do i fix this problem? Kind regards

  • Create Quotation by sending different partner data to header & item table in a Report

    Hello all,    Can any one please guide me how can I send different Partner data to Header & Item by running a Z Quotation Report in SE38. Actually Now I am able to create a Quotation which takes same Partner data of Header to Item data as well but my