Hi List,

I would like to make a FLV player that scales up the width depending on
Stage.width.
The width is different depending on size when starting up, and the user
monitor size when in fullscreen.

I am using the FLVPlayback component AS2.0 (several months of work put in
already).
Video can easily be scaled up, but the seekbar is a big problem.

When i change the width of the seekbar, the flvplayback/seekbar does not
"realize" the new limits of the handle.

Most often the seekBar just takes on a temporary look but then reverts back
after video-end.
So no new left-right limits + temporary graphic change.

Solutions tried:

Placing differently sized seekbars of the same name in different keyframes,
jumping between keyframes (no change at all)

Setting width: "seekBar._width = 300" or "seekBar.progress_mc._width = 300"
(temporary background-only change)

Switching streams after width-change to force update.


Having double seekbars, updating the size of one, then switching between
them (flvplb.seekBar = seekBar2).
Works really well for the new limits, the handle now moves between new
limits. Problem with this solution is that the new handle is not clickable.
Also, there are a lot of "dead handles" from the previous switches. The
"click-area" remains behind the first dead handle.
I managed to remove the graphics of previous handles by
using "handle_mc.removeMovieClip()", but the new handle does not get
assigned the functionality"onPress" -> "startDragging.."


Any and all suggestions appreciated!

/Jonas
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to