loading external video player need to pass some vars using as2

I'm loading an external video player that needs to get it's var from the swf thats it's loading into. I have the movie loading fine just not able to pass the vars. Below is the code I'm using to load the player. The player has a video path that will change from the parent swf.

var _mcl:MovieClipLoader = new MovieClipLoader();
var _listener:Object = new Object();
_listener.onLoadInit = function(videoHolder:MovieClip)
{
    trace("Done loading...");
}
_mcl.addListener(_listener);

this.createEmptyMovieClip("videoHolder", this.getNextHighestDepth());
_mcl.loadClip("flvPlayer.swf", videoHolder);


I need to pass the videoPath to this loaded player.

Thanks
ucohockeyAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
ucohockeyConnect With a Mentor Author Commented:
I used a global var, and it works.
0
 
ray_crackerCommented:
Can you tell me the player name
0
 
ucohockeyAuthor Commented:
The external swf is called flvPlayer.swf and I think the player is called mcVideoPlayer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.