How can i change the starting point(x second) to load flv with Flash player?

593 Views Asked by At

I want to use flv files for help document. But i need to set flv file, start and end points with code.

I'm trying to code flash player which can take these parameters(file name, start, end points) from html parameters.

NetConnection, NetStream and Video components are that i'm using. But i couldn't change the starting point to load flv.

Any help would be appreciated...

1

There are 1 best solutions below

4
On

It sounds like you're going to want to use FlashVars to pass in your data - just create three flashVars, one for each, and pass them in.

Note that Flash Vars can only be Strings, so you'll have to convert your start and end points to Numbers before using them.

Once you have your .flv url string passed in via a flashvar, you can just use it as the source for your NetStream.