Connecting Tech Pros Worldwide Help | Site Map

1003: Invalid Seek, seekToNavCuePoint() problem.

Member
 
Join Date: Jan 2008
Posts: 113
#1: Nov 3 '08
Hi,

I've have added cue points to an flv with a listener so that when the cue point is reached the cue point name is traced. My problem is when i try to use the seekToNavCuePoint() function on the flv movie to seek to a cue point, the invalid seek error occurs.
My project is for use offline and on a cd, I read somewhere that a streaming server is necessary for seekToNavCuePoint() command to work properly is this true?

Thanks,

Chromis
joedeene's Avatar
Site Addict
 
Join Date: Jul 2008
Location: US of A
Posts: 587
#2: Nov 3 '08

re: 1003: Invalid Seek, seekToNavCuePoint() problem.


Hello there,

Check out these two resources: http://livedocs.adobe.com/flash/8/ma...html#wp3773857, and http://livedocs.adobe.com/flash/8/ma...=00003603.html from livedocs.adobe.com.

The first resource says that there are 3 different cue points:
1.) A navigation cue point
2.) An event cue point
3.) An AcionScript cue point

Let me know if this helps.

joedeene
Member
 
Join Date: Jan 2008
Posts: 113
#3: Nov 4 '08

re: 1003: Invalid Seek, seekToNavCuePoint() problem.


Hi Joedeene,

Thanks for your reply. I have read all three of these doc pages and more already, the only thing which stands out is that the the seekToNavCuePoint() function is apparently designed for the navigation cuepoints which are embedded in the flv when it is encoded. So actionscript cuepoints might night not be available to this function, I can't find anything definite to back this up tho. Also it seems a bit silly as there is no visible means to seek to the cuepoints created by actionscript.

I might just make an array of cue points and use that to seek to specific times rather than trying to use this function. But if you have any other ideas i'd be happy to hear them.

Thanks for your help,

Chromis
Member
 
Join Date: Jan 2008
Posts: 113
#4: Nov 4 '08

re: 1003: Invalid Seek, seekToNavCuePoint() problem.


I didn't notice the first time i read it but this is the solution:

digitil said on Sep 19, 2006 at 12:36 PM :

If you want to seek to an Actionscript cue point you an do this by directly seeking to the cue point object's time property:

// add cuepoint:
Vid1.addASCuePoint(8, "cue8");
//set playback head:
Vid1.seek(Vid1.findCuePoint("cue8")["time"]);

Ref
joedeene's Avatar
Site Addict
 
Join Date: Jul 2008
Location: US of A
Posts: 587
#5: Nov 4 '08

re: 1003: Invalid Seek, seekToNavCuePoint() problem.


No problem, I'm glad to be of assistance. If you have any more problems you may encounter, let us know and we will help you.

joedeene
Reply