What do you mean by 'scrub through'?
If you mean that you want to remove the fast forward/rewind controls, or the bar which shows the current progress through the movie, you can simply use an alternative skin for your FLVPlayback component.
Assuming you're creating your instance of the FLVPlayback component on the stage from within the Flash IDE, the easiest way to do this would be to select the instance of the component on the stage and open up the component inspector window by selecting 'Window->Component Inspector' in the main menu or by pressing Alt + F7.
In the 'Parameters' tab of the component inspector window, click on the 'skin' property and then select the magnifying glass, this will bring up a dialog which will allow you to select a different skin for your component, so you could choose one of the more basic skins which has only the play/pause button and the mute button (with no progress bar, volume control or FF/RW buttons).
Alternatively, you could select 'none', so your FLVPlayback component will have no controls on it. If you set the autoplay property to true, your movie will play from start to finish as soon as it has loaded, but the user would have no way to control the playback, so you'd have to control/monitor playback via actionscript if you wanted to allow the video to be played again.
Otherwise, if you really want to you could have a go at creating your own skin and using that. Offhand, it's been a while since I did any serious flash development, so I can't remember too many of the details with regard to reskinning the FLVPlayback component, but you should be able to find tutorials online which covers this.
I seem to recall it wasn't particularly difficult to do when I tried, but I can't remember the exact process. It was a long while ago now! (back when Flash 8 was new!)
Anyway, I hope that is of some use.
Cheers for now,
Thank you i knew of this possibility.
but what i want is a skin with the progress bar showing but disabling the option to go forward in the clip. its possible via forward\rewind buttons + via the progress bar and i want both disabled.
That's why i don't think creating my own skin is the right choice. i think i should implement the FLVPlayback Component but i just wanted to know if there is a faster way like an property i can set to false :)
Well, here's a link to the Adobe documentation for the FLVPlayback component:
I can't test this because I haven't got any of the AS3 components (I use the flex SDK rather than the Flash IDE nowadays), but according to the documentation there is a member of the FLVPlayback component class called seekBar. So you could try setting the 'enabled' property of seekBar to false.
Do the same for the forwardButton and the backButton members to disable the ffwd and rewind buttons.
Like I said, I can't test it, but it might work!
Otherwise if that doesn't work, the Pro editions of Flash ship with the source .fla's for all of the FLVPlayback component skins. So you could grab a copy of the .fla for the skin you're using and edit it to remove the hitstate for the seekBar (it'll probably be a long, thin, purple, pink or blue overlay over the top of the seekBar, or perhaps a small square or rectangle over the slider).
Again, you can do the same for the forwardButton and the backButton. Then all you do is re-publish the skin and use it.
To help you to find the source .fla's there's a post towards the bottom of this page that might help:
Otherwise, simply use a skin that doesn't include the forward/back buttons or the bar, or use the 'no skin' option and perhaps create some controls of your own to go into your swf to control the playback and display the progress through the video!
Other than that, I'm pretty much out of ideas!
Cheers for now,
Disabling the seek bar would have worked but it would have removed the seek bar but i still wanted the seek bar to show so that didn't do good.
And i tried modifing a skin by deleting the hit state but for some reason that didn't work.
But i solved the problem in the end so thank you all for your help :)
For future googlers:
Eventully i used a NetStream object instead of FLVPlayback and just didn't add a listener to scurbbing the seek bar.
this Tutorial was of great help:
Cek this site: http://www.purelineliving.com/
Cek the top navigation. I wonder if it is possible to let the navigation remains the same on pc and change it to bootstrap navigation ...
Brands today popup and they go. This is because the attention span of the average consumer is far less than it has ever been. It is also because there is ...
May I request you guys to check my website eletsonline dot com and suggest me the best ways to improve its Alexa Ranking. I'm working hard from last couple of ...