How to make a big screen PLAY button for FLV which will fade away after the movie starts?

I wanted to make play button. Kind of this huge one in the middle of the screen as users used to see on YouTube.
Here is the code for it which seems to work:
play_btn.addEventListener(MouseEvent.CLICK, onClick_Play);
      function onClick_Play(event:MouseEvent) :void {
  SWF_flv2.play();
The problem is it doesn't dissapear once the video plays. How shoudl it be done, the whole video has to go to another frame with no play_btn on it or there is a code which can make it fade away?

The FLVPlayback component can be set to use any number of controls for the video playback. You should use those for playback control once the video has started. If you do want to create all of your own custom controls, here's an Adobe tutorial on the FLVPlayback control structure: http://help.adobe.com/en_US/as3/components/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7f00.html
And here is a third party tutorial on creating your own controls: http://www.lemlinh.com/as3-video-player-tutorials-roundup/

Similar Messages

  • How to make Adobe as your default viewer for all your PDF file instead of the Preview given? Thanks

    How to make Adobe as your default viewer for all your PDF file instead of the Preview given? Thanks

    you need to "Get Info" on the file first. Select it, right click and select 'Get Info' in the menu.
    In the window that pops up, near the bottom, the "Open With" drop down menu needs changed. If the drop down menu does not present the one you want, select "Other" and find it.

  • How can I recover a project that I optimized? It will not work after the fact. Can I go back in time without the "time machine?"

    I'm freaking out here.  Ok, so I've spent an entire school year filming and editing a video for an afterschool program I work for.  I finally completed the project but was having errors every time I tried to export the movie.  I was advised to optimize all the video clips before exporting the movie so it won't be as much of a load on my computer during the export process.  I did that but now files are missing, all the audio and video clips are not lined up correctly, and it won't allow me to edit anything.  Also, I can't even play back the video anymore.  When I press play, I see nothing and hear audio from a completely different project in my library!  I was told to check in the "iMovie Original Movies" in the "Movies" section of my computer to recover the original, unoptimized movie file.  But nothing is there.  Now I'm stuck with a movie I can't do anything with and all the students are depending on this video being completed.  I do not have a "Time Machine" backup, which I'm regretting now more than ever right now.  Does anyone have any suggestions that could help me???  I'm desperate. 

    All I can think of at the moment is to use the old standby of deleting the preference file. This can often fix problems with iMovie.
    Go to your Home folder <your user name>/Library/Preferences (NOT the Library folder at the top level in Macintosh HD). Similar to Lion, on Mountain Lion (10.8.3), the Home Library folder will be hidden (unlike pre-Lion OS X versions). To access it, click and hold down Go in the Finder menu bar, then press and hold down the Option key on the keyboard - the Library folder will appear in the drop down list. Slide the pointer down to Library and, as you release the pointer, the folder will open in Finder. Now you can navigate to the Preferences folder.
    In your user Library/Preferences folder, locate a file named "com.apple.iMovieApp.plist". With iMovie closed, drag this file to the Desktop. When next opened, iMovie will create a fresh preference file with the default settings (this happens in the background as iMovie is loading).
    If iMovie now opens and appears to be working properly, you can change the default settings in the menu item "IMovie > Preferences", as desired. Also, it's now safe to drag the old preference file to the Trash. Trashing the file will not harm any existing Events or Projects.
    Note that these instructions are for iMovie '11 (the latest version being 9.0.9). For users on earlier versions of iMovie, the preference file has a different but similar name. For example, for iMovie '09 (that's version 8.0.6) the file is named "com.apple.iMovie8.plist". Earlier versions may or may not have a number in the name, for example, "com.apple.iMovie.plist".
    John

  • How do I create a quick tool button for a specific preflight profile to flatten the document?

    Hi all,
    I'm using Acrobat XI on a Mac.
    So I've done my googling and searching of the forum, and figured out how to flatten a document (I apply my signature with a stamp) using preflight. However, I'd like to create a simple, quick tool (or otherwise) button to click and flatten a document. How do I go about doing that?

    I don't think you can create a button to run a Preflight Profile. But you can create a Preflight Droplet from the Preflight Options menu. This lets you drag and drop PDF files onto the droplet (essentially an alias to run the profile). You choose a Success folder and Failure folder location to direct files which pass or fail the preflight. (Read more in Acrobat Help.)

  • Splash Screen "Play" button Trouble

    I have a splash screen at the beginning of my animation.  When I push the play button, I want it to go straight to the animated map and start playing, but it just goes to the map and the user has to push play again.  How do I make it so the play button on the splash screen makes the map automatically start moving in the animation?

    How is all of this set up? Is the map animation on the main timeline or is this animation in its own movieClip? If the map animation is on the main timeline, how are navigating to that part of the movie? Are you using "gotoAndStop()" or "gotoAndPlay()" or something else?

  • How do I make a button onj the form which will submit and send the pdf as an email?

    how do I make a button on the form which will submit and send the pdf as an email?

    You can set up a button with a "Submit a form" action and use a mailto type URL to specify the email address you want the forms sent do. If you want to send the entire PDF, select that option and not FDF or anything else. The mailto URL should not include any spaces and the "mailto" part should be lowercase, like:
    mailto:[email protected]
    This will attempt to initiate an email using the users default email client. If the user does not have one set up or there is some other problem, the email might not get initiated. If it needs to work with Reader versions prior to 11, then the form needs to be Reader-enabled, which you do in Acrobat 11 by selecting: File > Save As Other > Reader Extended PDF > Enable More Tools

  • HT204370 I cant fined the play button for a movie ive already rented... How do you restart a movie???

    I cant fined the play button for a movie ive already rented... How do you restart a movie???

    Once you rent it it will tell you when its 'ready to watch' and you can then hit play. You can also access it by going to the movies tab, and the poster image for the rented title will appear in the top left. You can also go to settings - general - itunes store - check for rentals.
    Note: a 6mbps connection is required for instant HD rentals. If you are much lower it may take some time before you can watch. Accessing other content during this time or turning off the device will flush the rental, requiring a reload.

  • How to make email link with a button with AC2 in flash cs3?

    How to make email link with a button with AC2 in flash cs3?
    I wrote this, but it does not work:
    btn_emailinfo.on (release) {
    getURL("mailto:"[email protected]");
    }

    I am guessing you put that on a frame?
    If so, the syntax is as follows:
    btn_emailinfo.onRelease = function(){
    getURL("mailto:[email protected]");
    Though, if you are placing it directly on the button itself,
    the syntax is:
    on(release){
    getURL("mailto:[email protected]");
    }

  • Time Capsule only works for one device at a time, how to make it capable to be used for multiple devices at times

    Time Capsule only works for one device at a time, how to make it capable to be used for multiple devices at times.
    Please help to set it up, thanks in advance

    You need to give more info..
    Firstly only works for what.. networking.. backup.. wireless. You need more nouns.. more adjectives... describe what you want and what fails.. then we can figure out why.
    Most likely you have bridged it when it should be in router mode..
    Most likely you are using Lion or ML which has the airport utility bridge the TC by default.
    Change it to working as a router. That might help.
    If you press reset button it will default back to router btw.
    If you are on Lion.. use a real utility. http://support.apple.com/kb/DL1547

  • For the first time, I downloaded a podcast in the podcast app by clicking on the cloud icon. Now, every single play button for all of my podcast episodes is grayed out. Why can't I play any of my podcasts any more?

    For the first time, I downloaded a podcast in the podcast app by clicking on the cloud icon. Now, every single play button for all of my podcast episodes is grayed out. Why can't I play any of my podcasts any more?

    Greetings Heather,
    After reading your post, it sounds like you are experiencing an error with the Podcasts app. You may want to consider restarting the device first, and then resetting if that does not work. This article provides detailed instructions for Restarting, and Reseting:
    Turn your iOS device off and on (restart) and reset
    How to restart
    Press and hold the Sleep/Wake button on the top of your device until the red slider appears. Then drag the slider to turn your device completely off.
    After the device turns off, press and hold the Sleep/Wake button again until you see the Apple logo.
    How to reset
    You should reset your device as a last resort and only if you can't restart it.
    To reset, press and hold both the Sleep/Wake and Home buttons for at least 10 seconds, until you see the Apple logo.
    Thank you for contributing to Apple Support Communities,
    BobbyD

  • I rented the movie "Green Hornet". It was downloaded but when i try to play it black screen shows up for some time and then I'm the home screen.

    I rented the movie "Green Hornet". It was downloaded but when i try to play it black screen shows up for some time and then I'm the home screen.

    Hi runner_girl7585,
    Thanks for using Apple Support Communities.  If you weren't ever able to watch your rental movie, you can report this to the iTunes Store:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/ht1933
    Cheers,
    - Ari

  • My iPhone 5 is not catching up my website, although having a big screen... What does it need to get the pages in auto mobile queries converting?

    my iPhone 5 is not catching up my website, although having a big screen... What does it need to get the pages in auto mobile queries converting?

    You need to code your web site to recognize the mobile browser and send a page that's actually usable when it does.

  • How to make an app a file receiver for images on iOS?

    Hi,
    How to make an app a file receiver for images on iOS?
    I did it for the Android app.xml like this:
    <intent-filter>
            <action android:name="android.intent.action.SEND"/>
            <category android:name="android.intent.category.DEFAULT"/>
            <data android:mimeType="text/plain"/>
        <data android:mimeType="image/jpg"/>
        <data android:mimeType="image/jpeg"/>
        <data android:mimeType="image/png"/>
        <data android:mimeType="image/gif"/>
    </intent-filter>
    How to do it for iOS?
    (I'm using Adobe Air 4.0)
    Thank you!

    What app have you used to create your ibook?  Normally any app will have a menu item like File > Export that will give you the option of PDF, or you can use Print and there will be an option in the Print dialogue to Print to PDF.

  • How to make cell editable alv in WebDynpro for ABAP?

    I make Column editable ALV.(See under source code)
    But I can't make Cell editable ALV.
    How to make Cell editable ALV in WebDynpro for ABAP?
    and..how to get changed data?
    DATA: l_value TYPE REF TO cl_salv_wd_config_table.
      l_value = l_ref_interfacecontroller->get_model( ).
    * { EDITABLE
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
            lr_input_field     TYPE REF TO cl_salv_wd_uie_input_field,
            lr_column          TYPE REF TO cl_salv_wd_column.
      lr_column_settings ?= l_value.
      lr_column = lr_column_settings->get_column( 'TOTAL_COUNT' ).
      CREATE OBJECT lr_input_field
        EXPORTING
          value_fieldname = 'TOTAL_COUNT'.
      lr_column->set_cell_editor( lr_input_field ).
      DATA: lr_table_settings TYPE REF TO if_salv_wd_table_settings.
      lr_table_settings ?= l_value.
      lr_table_settings->set_read_only( abap_false ).

    the code seems to be correct....but where are you writing it?
    put the code in the wddoinit method and it should work.
    have a look at this article..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1

  • How come some apps won't play sound on a USB device but only on the internal speaker while others can?

    How come some apps won't play sound on a USB device but only on the internal speaker while others can? Mac OS 10.8.5

    You can simply set your system preferences
    Sound preference
    output - to whatever your USB device/audio interface is
    Your question seems a bit vague to me though. So can you actually inform us of what it is you are trying to do and give us examples with named kit.

Maybe you are looking for

  • How to validate a date in message mapping

    Hi experts,                 how to validate a date in message mapping. For ex:  if date comes as 2008/02/31, then file it shold not get processed.how to achieve this in message mapping. Please help . Thanks&Regards, Reyaz Hussain

  • Payment order

    Hi, Which is the tx. to modify Payments orders in SAP 5.0? Thaks i n advance. Message was edited by:         Victor Devoto Message was edited by:         Victor Devoto

  • Change browser colour

    How do you alter the background browser holding colour from edge animate? - its cream and I want white

  • Quicktime doesn't launch

    Just installed Mountain Lion, and Quicktime Player doesn't launch. Any suggestions? Thanks

  • JDeveloper 11g - JSF Custom Validator - Client Side validation question...

    Hi all, I've created custom JSF validator. How to trow some client side ValidatorException in javascript? Thanks in advance, s o v i e t