Results 1 to 3 of 3

Thread: Image before the flash video starts

  1. #1
    Join Date
    May 2007
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image before the flash video starts

    Does anyone know how to put a clip of the video on the screen before the user hits play in flash? I have it set to autoplay=false but I would like something on the screen instead of a black screen.

    Here is an example :
    http://markflavinblog.com/increase-w...rom-craigslist

    Thanks.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    I don't see this as a specific technique, but basic design.

    Simply place an image on the screen, make it a button then play the video when that button is clicked. Or any variation of that.

    If you don't want a separate bit of media data, you could instead use actionscript to place the playhead at a certain frame in the video until clicked, at which point it plays and moves the playhead to the beginning.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Basically what djr said. What you are looking at is the first frame of the video with a stop(); command.

    Then another layer that has an alpha-ed out white block covering the whole thing and a play button.

    on (release){
    _root.gotoAndPlay(2);
    }

    Where frame 2 does not have the white mask and play button.


    If that is too complicated you could load the video in an empty movie clip using LoadMovie(); and use stop(); untill play is clicked, using the method above or a mask to make the play button.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •