Hello. I’m trying to create a dynamic video gallery similar to the dynamic picture gallery on my site. I think that there are only a view changes that I need to make in order to get this to work. Here is code I’ve used to do a regular video gallery:
function showMovie(linkageId, xpos, ypos) {
var linkageId :String;
var xpos:Number;
var ypos:Number;
mc = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
mc._x = xpos;
mc._y = ypos;
mc.attachMovie(linkageId,e,this.getNextHighestDepth());
}
This isn’t dynamic however. How do I set the linkage id of something dynamically?
To load a picture I use the following code:
image_mcl.loadClip(image[p], picture);
where image is an array of the picture paths. My videos are in flv format. Where does the linkage go?
Thanks all