sonicsight – this is triple post not doble 
ChristianKragh – clean and very useful, good work!
Posted 4 months ago
Resizable FLV Player
A simple, easy-to-use, light-weight, dynamically resizable FLV Player.
All you need to do to play your FLV , is go into the file and change the filename in the first variable in the code, which is pointed out in the comments. You can also change the initial size and position of the player.
Please note that the flv video asset (Eden) is not encoded with many keyframes and that’s why the scrubbing and rewind is not smooth and exact. Also, the original size of the flv is 720×576 (large) so it might take some loading time – it is the video, not the player.
AS3 .
All code is commented and step-by-step instructions file included.
Have any questions regarding trouble with the file? Please check my FAQ before contacting me. If you do contact me, please send me a message / email, rather than leaving a comment on the page.
Please rate!
Feel free to check out my profile here on FlashDen or my website at ChristianKragh.com.
Other Flash files of mine:
sonicsight – this is triple post not doble 
ChristianKragh – clean and very useful, good work!
Posted 4 months ago
That is about one of the coolest things I have seen an flv player do. Nice work.
Posted 4 months ago
Nice, clean code, well documented. Easy to use, easy to mod. Author also provided brief, but good support.
Here’s code to make this drag and drop:
//* add drag and drop
function startDragging(event:MouseEvent):void {
if (event.target.name==”videobox”
// drag by video area, so user can still use scrub bar.
{
}
this.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
this.startDrag();
this.removeEventListener(MouseEvent.MOUSE_DOWN,startDragging);
Tweener.addTween(this,{alpha
.5,time:1});
}
// This function is called when the mouse button is released. function stopDragging(event:MouseEvent):void { this.addEventListener(MouseEvent.MOUSE_DOWN, startDragging); this.stopDrag(); this.removeEventListener(MouseEvent.MOUSE_UP,stopDragging); Tweener.addTween(this,{alpha:1,time:1}); }
this.addEventListener(MouseEvent.MOUSE_DOWN, startDragging);
//* end add drag and drop
Posted 3 months ago
Looks like the attack of the smileys wrecked the above code: Try this:
Posted 3 months ago
Thanks bamcomponents.
And thank you maurypb for the nice comment again and sharing some code for everyone – I thought the
smiley after the alpha is hilarious hehe.