A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: FLVplayback on complete how to

  1. #1
    Junior Member
    Join Date
    Jun 2010
    Posts
    5

    Question FLVplayback on complete how to

    So since my first thread didnt spark much conversation, I will try another time. This time ill try to be more specific about my (new) problem.

    I have an FLVplayback component covering the entire stage. This component is standard with "SteelOverNoVol" skin. This component is in frame 1 on layer 1.

    I want the scene to go to frame 2 when the movie has played. Also I want to be able to show the skin when the mouse is in the lower half of the stage, and hide it otherwise.

    Are these things doable? And if so, how?

    Im using AS2.0 btw.

  2. #2
    Flash/Flex Developer samac1068's Avatar
    Join Date
    Apr 2007
    Location
    Here, no there
    Posts
    1,813
    What is your code you use to load the FLV? I presume it is externally loaded and not within your library.

    If not, this I suggest that you change it to external to reduce load time and you can also add event listeners to fire when playback is complete.
    Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.

  3. #3
    Junior Member
    Join Date
    Jun 2010
    Posts
    5
    C'mon, I really need this to work...

    I know I have to use a listener to know when the FLV is at the end of the movie. But what type of listener/ how to setup that listener?

    thanks in advance.

  4. #4
    Flash/Flex Developer samac1068's Avatar
    Join Date
    Apr 2007
    Location
    Here, no there
    Posts
    1,813
    Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.

  5. #5
    Junior Member
    Join Date
    Jun 2010
    Posts
    5

    Thumbs up

    Im afraid I was a bit unpatient, but thanks for the reply!

    I dont really use any coding, I have an FLV component on the stage (drag n drop). Then I use the following string to get it to load an flv movie file which I converted with flash from an avi file.

    Code:
    player1.contentpath = "intromovie.flv"
    The link you provided is exactly what I was looking for! thanks for that!

    Now lets see if I can get it to work

Tags for this Thread

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center