sry i don't get it.
how do i apply this code (or any code) to a jpg that is not yet loaded?
The problem is:
The same movieClip holder is going to load/unload many different jpegs
one after another in the same location, but each jpeg must link to a
different page (open a different URL when clicked).
My guess is I'm looking for something that will set the url as a
variable, that i can apply to the mcHolder, like:
on (release) {
getURL("?.html", "target=_blank")
}
where "?" will be a variable returning the name of whichever jpeg is
currently loaded, minus the .jpeg extension.
If that makes any sense?
[quoted text, click to view] Engan wrote:
> sry wrong:
>
> use the getUrl("whateverurUrlIs.html") make sure the thumb is clickable with
> the on() handler then the .html file can include the .swf file for the larger
> picture with the OBJECT tags.....
Hmmm...just answered this for someone else. Popular effect I guess: You have a
rectangle movieclip with instance name mc_holder. In a layer above that, you
have a filled shape with instance name invisiButton...it covers the entire area
of mc_holder, and its alpha is set to zero. On your thumbnail called
smallFirstPic, put this:
on(release){
unloadMovie(_root.mc_holder);
loadMovie("bigFirstPic.jpg",_root.mc_holder);
_root.invisiButton.onRelease=function(){
getURL("http://www.crayola.com","_blank");
}
}
Do this for each pic. The only thing you need to change is the loadMovie
line, and the getURL line.