First time video in Flash

Hello. I am new to Flash (a bit late perhaps in this day and age!) but anyhow I am to produce a banner with a movie inside that will only play when the user pushes the play button. I have tried and failed so many times. The movie just plays no matter what stop() and not I put in there. Can anybody help me please. My time is running out for this project.
Thanx.

Make 2 frames and in the 1 st frame make your button
and write the actions as follows for the first frame.
give your button an instance name such as btn_1
stop();
btn_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame);
function fl_ClickToGoToAndStopAtFrame(event:MouseEvent):void
  gotoAndStop(2);
In the 2nd frame put your movie inside a movie clip and simply use the
stop();
command for the actions panel
Everything should work as required.

Similar Messages

  • Plug in for first time - 3 orange flashes then nothing happens

    Just took out my new shuffle and plugged it into PC as per instructions. All I get is three slow blinks of orange, then nothing. itunes doesn't register that am ipod has been connected. I got this for my wife for valentines day... help!!

    Just took out my new shuffle and plugged it into PC
    as per instructions. All I get is three slow blinks
    of orange, then nothing. itunes doesn't register that
    am ipod has been connected. I got this for my wife
    for valentines day... help!!
    Did you plug it into a REAL USB port (as opposed to the USB "convenience" port) on the keyboard? Take a look at what Apple System Profiler says about the USB tree when the Shuffle is plugged in.

  • Why aren't Flash cookies cleared the first time I exit Firefox?

    I am running XP, Firefox 16.0.1 and Flash Player 11.4.402.287 and have Firefox configured to "Clear history when Firefox closes", with "Cookies" (amongst other options) checked in the "Settings for Clearing History". I also have Flash Player configured to "Block all sites from storing information on this computer."
    As I understand things, starting with Firefox 4 and Flash Player 10.3, having Firefox configured this way should cause Flash cookies to be deleted upon exiting Firefox. I also understand that even though I have Flash configured as I do, a list of sites that attempt to plant a Flash cookie will still be recorded in the main settings.sol cookie.
    I have noticed, though, that this list of empty Flash cookies is not deleted the first time I exit Firefox; rather, the list is deleted after launching and then exiting Firefox again.
    Here's a step-by-step example:
    1) Control Panel -> Flash Player -> Storage tab -> Local Storage Settings by Site... button -> confirm that the list is empty
    2) Exit the Flash Player Settings Manage
    3) Launch Firefox -> go to www.hulu.com and click on a video to start it playing
    4) Relaunch Control Panel -> Flash Player -> Storage tab -> Local Storage Settings by Site... button -> confirm that the list shows www.hulu.com, 0 bytes, Block
    5) Exit the Flash Player Settings Manager
    6) Exit Firefox
    7) Relaunch Control Panel -> Flash Player -> Storage tab -> Local Storage Settings by Site... button -> NOTE THAT THE LIST STILL SHOWS www.hulu.com, 0 bytes, Block
    8) Exit the Flash Player Settings Manager
    9) Relaunch Firefox
    10) Relaunch Control Panel -> Flash Player -> Storage tab -> Local Storage Settings by Site... button -> NOTE THAT THE LIST STILL SHOWS www.hulu.com, 0 bytes, Block
    11) Exit the Flash Player Settings Manager
    12) Exit Firefox
    13) Relaunch Control Panel -> Flash Player -> Storage tab -> Local Storage Settings by Site... button -> NOTE THAT THE LIST IS NOW EMPTY
    So again my question is - why isn't this list emptied the first time around?

    Ok, so I created a new profile and followed the steps I spelled out in my first post several times - each time the Hulu flash cookie was cleared the first time I closed Firefox.
    So what would you recommend I do next to get to the bottom of the behavior in my current profile? Should I go about disabling my extensions and plugins one by one and repeating the test each time?
    Thanks again so much for your time and help.
    PS: I never have a problem with Hulu playing with my flash local storage set to zero - interesting that you do...

  • Yesterday for the first time that I can remember that I ran into massive lags on a 720p video I was watching on a website, was my Macbook overheating?

    I'd owned my Macbook for about a year and it's a Macbook 2009 mid model 2.13ghz and I ran into a weird bug yesterday. I had Xat chatroom open which is a flash chatroom and Cinemassacre Angry Video Game Nerd video open yesterday and I heard my fan running loud and non-stop. While I was watching the video the video was showing up like still images instead of in motion. Does that mean my Macbook was overheating if it was turning Video Motion into still images? I shut down my Macbook and started it back up. I hope its not linked to my ssd harddrive. Also, this is the first time I think I ran into this bug. When I'm laying in bed I have my Macbook resting on a dresser desk like a flat piece of wood because I think thats better for ventilation than it would be to just laying on my bed. I might have had my Macbook on for 5-7 hours with nosleep(a program to stop the macbook from sleeping) on. Could that have caused some problems?

    Always make sure the ventialation slots are never covered otherwise it can overheat.
    Using Safari ???
    Help for Flash related problems ... 
    Open System Preferences > Flash Player then select the Advanced tab.
    Click:  Delete All under Browsing Data and Settings
    Then empty the Safari cache.
    From your Safari menu bar click Safari > Preferences then select the Advanced tab.
    Select:  Show develop menu in menu bar
    Now click Develop > Empty Caches
    Quit and relaunch Safari and try a video.

  • Audio is not playing first time in Flex app with 11.2 Flash player.

    Hi,
    I am playing an audio fle as flv in a flex application with flash player 11.2  but it is not playing first time and it is playing afetr pause/play and page refresh. Loacally it is playing fine. Please help and guide me.
    thanks in Advance
    Rangrajan.

    Taha,
    Not sure that I understand your workflow there. For editing, the 48KHz 16-bit is the "standard." The 32KHz is not.
    Now, what is the Sample-Rate of your original material?
    What is the CODEC used in that muxed (multiplexed, i.e. combined Audio & Video) file?
    Did you allow Conforming complete 100%? This ARTICLE will give you some background.
    Do you see the Waveform Display for that Clip? Alt+click on the Audio portion of the Clip, and then Dbl-click on it to get it into the Source Monitor. Do you see the Waveform Display there?
    Have you added any Keyframes, or Effects to that Audio? Toggle the Keyframe Display in the Track Header, to see if there are any Clip, or Track Keyframes there.
    Have you accidentally Muted that Track? Look at the Visibility (eyeball) icon in the Track Header. Then, look in Audio Mixer to see if that Track is Muted.
    Good luck,
    Hunt

  • I have a Mac Mini, and it won't accept connecting my Sony video camera.  So I got a SD mem card reader to unload my movies from.  It worked the first time I used it a few months ago.  This time it says it doesn't recognize the format I am trying to use?

    I have all thenecessary updates.  I have switched over from a PC to Mac back in April and have nad nothing but problems adapting.  I don't know why this worked the first time, and put my videos inti imovie, and now it doesn't recognize it at all.  And the Mem card reader does work, because I just put the SD card from my regular camera into it and it downloaded those fine, it just won't take my movies!

    Which sony camera? I have a Sony HDR-CX550 right now and have been able to use the SD card as well as connect the camera directly. I also had CX110 that work too. You may want to try to copy the complete top level folder from the SD card to the Hard drive, then try to "import from Camera archive" and select that folder.

  • I just statred Flash CC for the first time and it seems that the text within the pop-up window (dialog box) is mis-aligned and not allowing me access to the command buttons, nor all the text. (ie: the NEW Template Box, can't see but 2/3 of the content)

    I just statred Flash CC for the first time and it seems that the text within the pop-up window (dialog box) is mis-aligned and not allowing me access to the command buttons, nor all the text. (ie: the NEW Template Box, can't see but 2/3 of the content) is there a fix to this problem? using 8.1, Monitor is a high res.2560x1440.

    Another View.
    the GUI is so hard to read (so small) I enlarge my Ps UI by the instructions below...which helped a lot.

  • HT2499 I bought my MacBook Pro in Aug 2011 - this is the first time I'm trying to watch a DVD on it - I hear the sound but can't see the video - how do I fix this???

    I bought my MacBook Pro in Aug 2011 - this is the first time I'm trying to watch a DVD on it - I hear the sound but can't see the video - how do I fix this???

    what application are you using to watch the DVD?
    is it a burned dvd?

  • Flash file not loading first time but loads on refresh

    I have a problem where a flash program is not loading when
    the webpage is first visited, it will get stuck on the loading
    screen. Now for this file to finish loading, it needs to load in
    another file. Once that file is done loading then the program will
    continue. But like I said the first time the program gets stuck on
    the loading screen and never continues. If you hit refresh in the
    browser then the program will continue past the loading screen.
    I've checked the code and everything seems fine there. Could
    this be a security issue? The two files are on the same domain. Or
    if anyone has any insight into this problem, it would be
    appreciated.

    "Dusarn" <[email protected]> wrote in
    message news:e3b9i7$qup$[email protected]..
    >I have a problem where a flash program is not loading
    when the webpage is first
    > visited, it will get stuck on the loading screen. Now
    for this file to finish
    > loading, it needs to load in another file. Once that
    file is done loading then
    > the program will continue. But like I said the first
    time the program gets
    > stuck on the loading screen and never continues. If you
    hit refresh in the
    > browser then the program will continue past the loading
    screen.
    >
    > I've checked the code and everything seems fine there.
    Could this be a
    > security issue? The two files are on the same domain. Or
    if anyone has any
    > insight into this problem, it would be appreciated.
    That is almost always caused by a faulty preloader code. Post
    your preloader code or a link to the website so it can be checked.
    tralfaz

  • I have just opened my brand new Macbook Pro and I'm a first time mac user. I have tried to download flash to enable me to watch you tube clips, but on trying to download it, it says I need to close Safari but after doing so, it still won't respond.

    I have just opened my brand new Macbook Pro and I'm a first time mac user. I have tried to download flash to enable me to watch youtube clips, but on trying to download it, it says I need to close Safari but after doing so, it still won't respond. Any tips? Help?

    Actually you need to quit Safari which is different from closing.  With Safari open go the menu bar for Safari/Quit Safari. 
    Mac 101:  Get Started Using A Mac 

  • HT1338 PLEASE HELP ME I AM FACING A PROBLEM My name is Ameer. I watch youtube videos from ipad2 ( safari ) today for my first time, when i run a video and i want to pause it, i touch the screen where the video is playing to reach the pause botton that is

    PLEASE HELP ME I AM FACING A PROBLEM
    My name is Ameer.
    I watch youtube videos from ipad2 ( safari )
    today for my first time, when i run a video and i want to pause it, i touch the screen where the video is playing to reach the pause botton that is located on a bar under the video which appears when i touch the screen. Today every time i touch the screen nothing happens and i cannt pause the video nor adjusting its quality.
    So plese help me fixing this problem as soon as posible.
    Regards

    Same problem on my ipad mini, running ios 6.0.2.
    A bit more info:
    -tried using YouTube in Safari on another ipad. Worked fine.
    Tried reboot (sleep + home buttons for 15 seconds). Didn't fix.
    -tried logging out of my YouTube account, thinking the problem was tied to my settings. Didn't fix.
    -tried uninstalling all apps I downloaded since the last time YouTube worked properly. Didn't fix.
    -tried watching a video in desktop mode. Can tap video screen to bring up pause okay in that mode.
    There are work arounds, but the thing I want to know is why YouTube doesn't work in Safari as of a couple of days ago, and is it indicative of another more serious problem with my ipad.

  • Calling a Flash object HTTPS (  only in IE, not loading the first time )

    Hi everyone !
    I'm trying to call a flash object from a bsp page, I've uploaded the flash into the mime repository (via the SE80). It works quiet well in Firefox, but with IE, i need to refresh the page, it won't load the first time i access the page.
    Does anyone has any idea ?? do i have to customize something within the SICF ?
    thx for the help
    merry Xmas
    Quentin

    Solved it, I created a page to call the flex from the MIME
    here it is :
    DATA: w_xstring TYPE xstring.
    DATA: w_mimetype TYPE string.
    * References
    DATA: w_url TYPE string.
    CONCATENATE 'sap/bc/bsp/sap/Z0008/' url  INTO w_url.
    CALL FUNCTION 'Z_FLEX_MIME'
      DESTINATION sy-sysid
      EXPORTING
        url        = w_url
      IMPORTING
        l_xstring  = w_xstring
        l_mimetype = w_mimetype.
    response->set_data( w_xstring ).
    navigation->response_complete( ).
    EventHandler Oninitialization :
    sap/bc/bsp/sap/Z0008/ is the url to my swf file in the SICF
    Module Function  Z_FLEX_MIME
    FUNCTION Z_FLEX_MIME.
    *"*"Interface locale :
    *"  IMPORTING
    *"     VALUE(URL) TYPE  STRING
    *"  EXPORTING
    *"     VALUE(L_XSTRING) TYPE  XSTRING
    *"     VALUE(L_MIMETYPE) TYPE  STRING
    * References
    DATA: lo_mr_api TYPE REF TO if_mr_api.
    * instantiate MIME API class
    CALL METHOD cl_mime_repository_api=>if_mr_api~get_api
      RECEIVING
        r_mr_api = lo_mr_api.
    * Get file from MIME repository
    CALL METHOD lo_mr_api->get
      EXPORTING
       i_url             = url
      IMPORTING
        e_content         = l_xstring
        e_mime_type       = l_mimetype
      EXCEPTIONS
        parameter_missing  = 1
        error_occured      = 2
        not_found          = 3
        permission_failure = 4
        OTHERS             = 5.
    ENDFUNCTION.
    If you have any questions please fell free to ask
    good day
    Quentin
    Edited by: Quentin Dubois on Feb 6, 2008 5:55 PM

  • Doing a first time machine backup with OS X 10.8.3.  Taking For Ever.  Have a 24g flash drive and only 21 g to back up. What to do?

    This is a brand new MacBook Pro.  This would be the first time machine backup being done on it.  Is that why it is too slow?

    Note that a 24 GB flash drive is completely inadequate to use effectively with Time Machine. It will probably run out of space very quickly. You want at least 2-3 times more space on your backup drive than what you are backing up. Or you want to choose some other backup app that does not do incremental backups.
    Get yourself a good hard drive. 200 GB would be cheap and would give you more than enough space to store many months (maybe years) of backups, unless what is being backed up grows significantly.
    http://eshop.macsales.com/shop/firewire/on-the-go

  • I get the message "Install Adobe Flash" can't be opened because it was not downloaded from the Mac App Store. This is the first time I have gotten the message. What do I need to do?

    I get the message "Install Adobe Flash" can't be opened because it was not downloaded from the Mac App Store. This is the first time I have gotten the message. What do I need to do?

    Hi Sandra,
    you'll need to edit the security settings to install programs 'Mac App Store and identified developers'
    Open the Systems Preference and go to Security & Privacy.  There will be a section in the 'General' tab for 'Allow apps downloaded from:"  The default selection is 'Mac App Store'.  Change this setting to 'Mac App Store and identified developers".
    This screenshot is taken on OS X 10.10 (Yosemite), so it may look slightly different if you're on a different OS X version.
    Maria

  • PLEASE help me!!! I,ve been all over looking for help/store or whatever to down load adobe flash player to open a certain website.  I need that app or something similar. I am a first time iPad user and not that swift on a computer either

    Please!!
    help me down load adobe flash player or something similar for my iPad. I want to open a certain website and it's required. I don't know where to go. i am a first time iPad user and not to swift on a computer either. Thank you

    Allan Eckert wrote:
    You are going to have to get Steve Jobs to change his opinion about Flash which will be like getting a Baptist to drink beer, next to impossible.
    Allan
    Funny you mentioned that analogy... because John the Baptist was a heavy drinker... (could steve jobs be secretly accessing flash content on his ipad?)

Maybe you are looking for

  • Adobe Digital Editions will not launch on my Windows 8.1 laptop

    Adobe Digital Editions will not launch on my Windows 8.1 laptop I have uninstalled and re-installed several times. I have successfully used previous versions of ADE on this laptop in the past.

  • Payment Terms in MIRO

    Hi guys, Can you please help me with this issue I'm having on payment terms on MIRO. The PO created with payment term - PD15. As I'm entered the PO number on MIRO and on the payment tab, payment terms drop down menu is gone. Can anyone please exlain

  • Weblogic 7.0 Installation

    Hi, I downloaded weblogic server 7.0 SP4 from the weblogic website and when I attempted to install, the installer throws an error message saying "The installation archive information could not be obtained from BEA systems. Please check your download

  • Basic SIP usage of SPA3102

    Hi All, Whilst I'm debugging, I just wanted to ask a quick few basic questions on using Asterisk and the 3102 together. The only port I was able to connect into the 3102 via IP was the Internet port, so my LAN is connected into that. The 3102 doesnt

  • How to bring a video layer in the front of the other?

    I'm trying to find how to make a smaller video running in the front of the actual video (for example when gamers play their game and we can see them in the video in the top corner commentating), but i can't find a thing which brings to front one sequ