To expand on setters, this is how you would define it in your class:
So with that, you can reference the holder for the VideoPlayer and edit it like you would any other property, like x or width.Code:public function set videoURL(videoURL:String):void{ _videoURL = videoURL }
E.g.
(For this, I'm just using "videoPlayer" as an instance of the VideoPlayer class you're using)
Code:videoPlayer.videoURL = "new URL here";




Reply With Quote