seek(); in an flv

  • Buck Nasty
  • Novice
  • Novice
  • User avatar
  • Posts: 21
  • Loc: Philadelphia

Post 3+ Months Ago

I recently built an flv player using the gotoandlearn.com tutorials. It works pretty good. The problem that i am having is that i have have buttons that "seek()" to certain points in the movie but not all of them work right. From what i read you just put in the the number of seconds u want it to jump to so if it was 1 1/2 min. u would put myMC.seek(90);. So for some reason it wont go to the right number of seconds on certain ones i set up. and if i add a few seconds or subtract a few seconds it does nothing. If i do, however add or subtract a large amount of seconds from it it will move it to a different point. but not the point i want it to be at. Below I will give some more info about the flv file etc...

I created the flv file using sorenson squeeze. It is the "med Prog" setting that i used.
The framerate was set to 30 fps when converting
The flv is not on a streaming server
I did not use the flv play back component because the player has to be in flash 7.
the player was published flash 7 as 2.0

Anything input will help. I have looked over this several times and have not found anything online that will help me with this issue.
  • classified
  • Expert
  • Expert
  • User avatar
  • Posts: 540
  • Loc: Bahrain

Post 3+ Months Ago

there are many ways to do it ...

i use flash 8 to encode flv ...
http://www.zainals.com/xperments/Cues/cue.html

that was one of my experments ...

i think i used something like :
Code: [ Select ]
go.onRelease = function ()
{
  var what = dyno.text;
  rtn_obj = vid.findNearestCuePoint(what.toLowerCase());
  vid.seek(rtn_obj.time);
  trace ("Cue point time is: " + rtn_obj.time);
};
  1. go.onRelease = function ()
  2. {
  3.   var what = dyno.text;
  4.   rtn_obj = vid.findNearestCuePoint(what.toLowerCase());
  5.   vid.seek(rtn_obj.time);
  6.   trace ("Cue point time is: " + rtn_obj.time);
  7. };
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23460
  • Loc: Woodbridge VA

Post 3+ Months Ago

I've found it much easier to place cuepoints also when encoding the flv. Then seek to the cuepoints.

http://livedocs.adobe.com/flash/8/main/ ... 03484.html
  • Buck Nasty
  • Novice
  • Novice
  • User avatar
  • Posts: 21
  • Loc: Philadelphia

Post 3+ Months Ago

Cool, Thanks guys, I am gonna give those suggesstions a shot!
  • classified
  • Expert
  • Expert
  • User avatar
  • Posts: 540
  • Loc: Bahrain

Post 3+ Months Ago

ATNO/TW wrote:
I've found it much easier to place cuepoints also when encoding the flv. Then seek to the cuepoints.

http://livedocs.adobe.com/flash/8/main/ ... 03484.html


yeah i agree , the code i posted earlier involved cue points ...
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

i noticed that behavior to some flv's too. They don't work as expected when you try to seek().
  • classified
  • Expert
  • Expert
  • User avatar
  • Posts: 540
  • Loc: Bahrain

Post 3+ Months Ago

IceCold wrote:
i noticed that behavior to some flv's too. They don't work as expected when you try to seek().



heya old git ;)
i see you are closing to 1000 posts , pre- congrats ;)
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

no no no, i will stop on 999
then i'll make a new user :D
  • classified
  • Expert
  • Expert
  • User avatar
  • Posts: 540
  • Loc: Bahrain

Post 3+ Months Ago

IceCold wrote:
no no no, i will stop on 999
then i'll make a new user :D


god *&^#*$()*@#$# ...
:lol: :lol: :lol:

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 3 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.