vibThumb.link = myURLS[i];
vidThumb.onRelease = function()
{
  openURL(this.link);
}


On Jan 12, 2008, at 10:56 PM, Marc Hoffman wrote:

Put the URLs in an array:

myURLS = new Array("www.domain1.com", "www.anotherDomain.com", "www.anotherDomain.com ", "www.anotherDomain.com", "www.anotherDomain.com");

then for the URL specified as the target of each clip you create, just reference the URL this way:

vidThumb.onRelease = function(){
  openURL(myURLS[i]);
 }

- Marc

At 10:20 PM 1/12/2008, you wrote:

AWESOME! thanks all :)

One more question here... how can I assign URL link to each movieClip? I would like to add URL for each of movieClip which created by looping, the
code like this....

Thank you

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to