• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

URGENT! VideoError: 1003: Invalid seek

New Here ,
Sep 04, 2009 Sep 04, 2009

Copy link to clipboard

Copied

I am using an flv file with navigation cue points.  When I try clicking on a button I created to go to "EndOfMovie" I get the following error:

VideoError: 1003: Invalid seek
    at fl.video::FLVPlayback/seekToNavCuePoint()
    at vectorVideo_fla::MainTimeline/skipToEnd()

my AS is:

import flash.display.MovieClip;

import flash.display.Sprite;
var rectangle:Sprite = new Sprite();
rectangle.graphics.beginFill(0x333333);
rectangle.graphics.drawRect(0,0,575,269);
addChild(rectangle);
rectangle.alpha = 0;


vectorVideo_flvPb.autoPlay = true;
skipIntro_btn.addEventListener(MouseEvent.CLICK, skipToEnd)


function flvListener(eventObject:Object):void {
    if(eventObject.info.name == "EndOfMovie") {
        rectangle.alpha = .83;
        setChildIndex(rectangle, numChildren - 3);
       
        _replayButton.alpha = 100;
        setChildIndex(_replayButton, numChildren - 2);
        _replayButton.addEventListener(MouseEvent.CLICK, replayMovie);
       
        _learnMoreButton.alpha = 100;
        setChildIndex(_learnMoreButton, numChildren - 1);
        _learnMoreButton.addEventListener(MouseEvent.CLICK, learnMore);
    }
}
vectorVideo_flvPb.addEventListener("cuePoint", flvListener);


function skipToEnd(e:MouseEvent):void {
    vectorVideo_flvPb.seekToNavCuePoint("EndOfMovie");
}

function handleClick(e:MouseEvent):void {
    vectorVideo_flvPb.enterFullScreenDisplayState();
}

function replayMovie(e:MouseEvent):void {
    vectorVideo_flvPb.seekToNavCuePoint("startOfMovie");
    rectangle.alpha = 0;
    _replayButton.alpha = 0;
    _learnMoreButton.alpha = 0;
    vectorVideo_flvPb.play();
}

}

need this running asap.  any help is GREATLY appreciated!

TOPICS
ActionScript

Views

3.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Sep 15, 2010 Sep 15, 2010

Copy link to clipboard

Copied

LATEST

Hi,

You can use the cue point that is added either via action script or via adobe media encoder. Just go through http://cloudnebula.blogspot.com/2010/01/working-with-as3-video-cuepoints.html that may be of help to you

Thanks!

ps: pls mark this post as answered if this of help to you

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines