hey bob i've tried using the seekbar component as is and it didn't work
i've tried using a stock skin (by passing the url into flvplayback.skin) and that works so i'm thinking i've done something wrong (or not done something i should have) i'm using cs4 to compile the swc for the flvplayback so whichever version ships with that best a On 17 June 2010 17:53, Bob Wohl <bob.w...@gmail.com> wrote: > What version is the FLVPlayback? Have you tried using a simple skin to see > if that works as expected? > > > On Thu, Jun 17, 2010 at 9:42 AM, allandt bik-elliott (thefieldcomic.com) < > alla...@gmail.com> wrote: > > > hey guys > > > > i usually use a Video class with a netstream object to show video but > i've > > been trying to implement the (supposedly) simpler flvplayback component > > because of the extra functionality that it provides (like variable > streams > > and metadata cuepoints in f4vs) > > > > however > > > > i'm trying to add a standard seekbar component and it just doesn't seem > to > > be working - it's appearing and the video and all other controls are > > working > > but with no handle and no seekbar updates - i have the feeling that i'm > > missing something obvious but i can't see what it is and Google is not my > > friend right now - could you take a look at what i'm doing please? > > > > here is my implementation: > > > > _videoPlayer = new FLVPlayback(); > > _video = getVideo(_videoPlayer.activeVideoPlayerIndex); > > _video.smoothing = true; > > _videoPlayer.width = _mediaWidth; > > _videoPlayer.height = _mediaHeight - CONTROLS_HEIGHT; > > _videoPlayer.autoRewind = true; > > _videoPlayer.bufferTime = 2; > > _videoPlayer.source = Config.flashvars.myRoot + XML(_listData)....@src; > > addChild(_videoPlayer); > > // navigation > > _sprNavigation = new Sprite(); > > _sprNavigation.y = _videoPlayer.height; > > addChild(_sprNavigation); > > var playPauseBtn:MovieClip = new PlayPauseButton(); > > playPauseBtn.y = CONTROLS_PAD; > > _sprNavigation.addChild(playPauseBtn); > > var fullscreenBtn:MovieClip = new FullScreenButton(); > > fullscreenBtn.y = CONTROLS_PAD; > > fullscreenBtn.x = _mediaWidth - fullscreenBtn.width; > > _sprNavigation.addChild(fullscreenBtn); > > var seekBar:MovieClip = new SeekBar(); > > seekBar.x = playPauseBtn.x + playPauseBtn.width + CONTROLS_SPACING; > > seekBar.y = playPauseBtn.y + playPauseBtn.height / 2 - seekBar.height / > 2; > > _sprNavigation.addChild(seekBar); > > _videoPlayer.playPauseButton = playPauseBtn; > > _videoPlayer.seekBar = seekBar; > > _videoPlayer.fullScreenButton = fullscreenBtn; > > > > i'm about to give up and roll my own but that's not really the point of > > using the build-in components (it is, however, one of the reasons i never > > use the stock components) > > > > thanks guys > > a > > _______________________________________________ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders