PDA

View Full Version : Call mutiple URL's from a text document


DigitalKick
01-16-2006, 09:50 PM
Hey guys - 1st post :) ,

I'm stumped with this at the moment:

:confused:

I have a simple animated banner that pulls in dynamic HTML text from a .txt document. Because I have Rollover states on the movieclip, I cant change the links with the dynamic text. My question is... does anyone know a way to call multiple URLs from a separate text document that each movieclip can link to when its clicked?


Here is my script for the clip:

clip1.onRollOver = over;
clip1.onRollOut = out;
clip1.onMouseDown = down;

function over() {
this.gotoAndPlay("CLIPOVER");
}

function out() {
this.gotoAndPlay("CLIPOUT");
}

function down() {
this.getURL("THIS WHERE I WANT TO PULL A URL IN");
}

Hopefully that makes sense. Any help/code examples are GREATLY appreciated, even if you could suggest a different/better method that I haven't thought of.

Thanks in advance!!