FLV and timeline playback controls

Posted on 2005-04-13
Last Modified: 2008-01-09
I originally embedded some video into a presentation.  It is accompanied by text fading in and out to supplement the information being presented by the speaker in the video.  Because both the text and video were on the timeline, I used one set of buttons to control the timeline’s playback, thus controlling both the embedded video and the text with the same buttons.   The video is too long and I am getting all of the token audio synch problems associated with long embedded video clips.  I recently upgraded to Flash MX 2004 Professional and purchased Sorenson Squeeze to create FLV files easily.  I have converted the embedded video to an FLV for smoother playback.  

How can I control this external FLV and its corresponding text on the timeline with a single set of buttons?  

So far, I’ve tried playing the external FLV through component Display and Playback but have been unable to figure out how to then use a single set of buttons to also control the corresponding text playing on the timeline.

I made this worth the full 500 because I really need an answer soon!
Question by:kirbdogg
    LVL 18

    Assisted Solution

    Have a look at this file I did for someone else yesterday - excuse the sound in it, but it was all I had on hand.

    It may help you:)

    LVL 27

    Expert Comment

    It loads info from an external xml file: video url, cuepoints time and text
    Text is show automatically when video reaches cuepoints:


    Author Comment

    Thanks to both of you for your replies...

    Billystyx- I tried your example but still need to know how I would use the control keys to control an external FLV.

    Negatyve-  Your example involves a lot of code that is over my head... though I'll continue to try to apply it to my work.  If I do get it to work, I'd still need to know how I would be able to change the length of time each cue appears and in what font/color it appears.  

    Is it possible to use the control panel of a Component PlayBack to also control the timeline?  If so, that might be easier.

    LVL 27

    Accepted Solution

    >Is it possible to use the control panel of a Component PlayBack to also control the timeline?

    Not directly, but you can use the "cuePoint" event as in my code to be notified when the cuePoint is reached..

    > I'd still need to know how I would be able to change the length of time each cue appears and in what font/color it appears.

    Unfortunately, adding lot more scripts.. :) (this is necessary when things are dynamic)

    Author Comment

    Thanks. I've been playing with it on my own and wound up adding cue points directly in the action script, avoiding the problem above.  

    I appreciate your input.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Suggested Solutions

    Title # Comments Views Activity
    HTML 5 or Flash 7 468
    How  to reduce the .AVI file size of 90GB 4 326
    video live streaming 1 104
    bandwidth 5 62
    This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
    This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
    In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
    The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now