PDA

View Full Version : FLVPlayback - disable SeekBarHandle



pips
January 26th, 2008, 10:13 AM
Hi,

in my project I need to disable the seekbar for some videos. I can disable the seekBar by calling


videoname.seekBar.visible = false;

but the handle is still there as it attaches automatically and I can't find the path to disable it :/ In AS2 it can be disabled by calling


videoname.seekBar._parent.handle_mc._visible = false;

but it seems to have another name in AS3 :(

Thnx for any help,
Philip Seyfi, divita.eu

mprzybylski
January 26th, 2008, 09:00 PM
there is no _parent in AS3, try just "parent".

pips
January 27th, 2008, 05:41 AM
2mprzybylski: Sorry, forgot to say that I am quite skilled with AS3... The code I wrote was in AS2 jsut as an example of what worked before. In AS3 I surely wrote it with "parent", "visible" etc. don't worr ;) The main problem is that the handle is no longer named "handle_mc"

Guro
April 4th, 2008, 09:07 PM
i got same problem too :(


damn it i'm searching for solution almost 4 hours, no one can resolve it.

mr_muscle
June 3rd, 2008, 10:37 AM
Did any of you guys find a solution to this??? Iv been stuck on this all morning.. dam! :(

bradleyha
June 11th, 2008, 11:28 PM
Hey guys,

I've been playing with this for a while as well so the solution I used was to edit the source file of the desired skin. It isn't a simple solution, but I don't have to worry about users scrubbing through my videos.

If you go into your install dir - mine is as follows:

C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\FLVPlayback Skins\FLA\ActionScript 3.0

you'll get all the fla's for the default skins. When you open one up, say 'SkinOverAll.fla', you do the following


make sure you save it to a working directory straight away so you don't overwrite the original
in the library find the 'Seek Bar' folder
open the 'SeekBarHandleHit' graphic
delete the purple square
publish to swf

I case your not aware, Flash generates a swf skin file when you publish, and now you have generated a swf that you can copy over the one Flash has generated in your interactive's directory.

If you generate you FLVPlayback item via AS3 then it won't get overwritten by Flash. If you use the Stage, I think it checks to see if it exists and writes out a new one if it isn't there, so you should be right.

Hope that helps (and makes sense)!

crila
November 6th, 2008, 01:47 PM
putting the seek bar within a movie clip can help somewhat. here are a few seek bar fixes i found...

http://www.google.com/url?sa=t&source=web&ct=res&cd=3&url=http%3A%2F%2Fboard.flashkit.com%2Fboard%2Fshow thread.php%3Ft%3D671514&ei=azgTSb7sK5SS8wTA-ITOBg&usg=AFQjCNEIxZJJV7i1teyqjpgzW4pSLK4x3A&sig2=_RptQ8ZK65_4d0lWfdz72g

good luck and god speed!