Welcome to WebmasterWorld Guest from 54.145.44.134

Forum Moderators: open

Message Too Old, No Replies

Making a movie clip linkable

     

wickedribbit

4:28 am on Mar 26, 2005 (gmt 0)

10+ Year Member



I have the following code, and I am trying to make the holder_mc movieclip clickable to get a URL link. Any suggestions?

for (var i = 0; i<banner.length; i++) {
strBanner = banner[i];
var strImage = strBanner.attributes.image;
var strAltText = strBanner.attributes.alttxt;
var strTarget = strBanner.attributes.target;
//trace(strImage+newline+strAltText+newline+strTarget);
_root.createEmptyMovieClip('holder_mc', 1);
holder_mc.loadMovie(strImage);
holder_mc._x = "1";
holder_mc._y = "1";
}

 

Featured Threads

Hot Threads This Week

Hot Threads This Month