nevermind... figured it out like 2 secs after posting... still 
have to get used to the whole concept of everything being a class and the 
displaylist... if anyone is curious heres the code... compiles to ~17kb

i have no idea what the limitations/risks are of using this AS3 class but i had 
fun using it in AS2

enjoy,
Lori-

package {
    import mx.controls.videoClasses.VideoPlayer;
    import flash.display.Sprite;
    //
    public class fr_VideoPlayer extends Sprite {
        protected var _videoPlayer:VideoPlayer;
        //
        public function fr_VideoPlayer () {
            super ();
            //
            this.loadVideo();
        }
        //
        public function loadVideo():void {
            this._videoPlayer = new VideoPlayer(0, 0, null);
            this.addChild(this._videoPlayer);
            this._videoPlayer.play(yourURL);
        }
    }
}

----------------------------------------

                                From: "Lori Hutchek" <[EMAIL PROTECTED]>
Sent: Thursday, November 16, 2006 6:46 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] [AS3] VideoPlayer class 

In AS2 i was able to use the VideoPlayer class as a lighter version of the 
FLVComponent to create a nice video player. Yes i was lazy and didnt want to 
roll my own. So i was hoping to do the same with AS3, but it looks like the 
changed the VideoPlayer class doesn't allow this possibility. Has anyone else 
tried this? Any help would be appreciated!

Thanks
Lori-

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to