Passing variables into a class in .as file
Hi.
This may be a simple question but not sure how to do it.
I have purchased a video player that derives all its code from external .as files (stored in com/flashaman/Videoplayer.as). Problem is that it's designed to be for a single video file where I would like to use multiple instances of the player in various areas of my flash file.
The code within the Videoplayer.as file is:
Actionscript Code:
package com.flashaman.videoplayer
{
public class Videoplayer extends MovieClip
{
// - VARIABLES
private var _playerWidth:int = 640;
private var _playerHeight:int = 390;
private var _currentVideo:int = 0;
private var _videoURL:String = "video/showreel.mov";
private var _imageURL:String = "image/showreel.jpg";
Specifically the only variables I need to modify are _videoURL and _imageURL. How can I modify these files from within my Flash file?