homepage Welcome to WebmasterWorld Guest from 54.145.211.125
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Making a movie clip linkable
wickedribbit

10+ Year Member



 
Msg#: 453 posted 4:28 am on Mar 26, 2005 (gmt 0)

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";
}

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved