A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Newbie struggling with FLV in CS5

  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    1

    Newbie struggling with FLV in CS5

    Afternoon,

    Im an Industrial Design student that has never really used any Flash before but need to use it now to mock up an interface design for a product/service I'm developing for my major project.

    So far, in ActionScript 2.0, I have a picture of a TV and remote control and intend to design the interface over the top of the television picture and highlight buttons on the remote beside it, that the moderator can click to navigate around it.

    To get across the idea that the interface pops up over the existing moving television picture I have imported an FLV of some television ads.

    My problem is that I want the Flash animation (everything but the FLV if you like) to pause and not loop, and the FLV to continue playing (and looping) in the background, but can't figure out how to do it. Ideally the FLV needs to continue playing, seamlessly behind the interface after the next button is clicked etc.

    Wherever I seem to put a stop(); action it'll stop everything, including the FLV, and if I just extend the timeframe to the length of the video, it'll still stop at the end or just loop to the beginning of the entire SWF.

    Im probably missing something dead simple but like I said, I'm pretty new to it all so any help would be greatly appreciated.

    Thanks,
    Melon.

  2. #2
    Senior Member
    Join Date
    Sep 2010
    Posts
    324
    I don't exactly understand what you mean, but you should start by building a custom video player which uses NetStream to play the video. You do not want to embed the video in the timeline. You need to keep the animation and the video separate from each other.
    Using NetStream gives you a lot more power and control over the video, allowing you to do whatever you need to do with the animation part and have separate control over the video. And the animation can interact with the video and the video can interact with the animation. For a good starter tutorial on creating your own NetStream player:
    http://www.gotoandlearn.com/index.php?currentpage=13
    Start with video tut on page 14 and then progress to 13.
    Best wishes,
    Video Man

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