Hello,
I need help with something…
Is there a way a check if the mouse is “rollovering” a dynamicly created MC? the MC name must contains a same word + a digit
like _root.myMC1 , _root.myMC2 , _root.myMC3 …
TiA
Hello,
I need help with something…
Is there a way a check if the mouse is “rollovering” a dynamicly created MC? the MC name must contains a same word + a digit
like _root.myMC1 , _root.myMC2 , _root.myMC3 …
TiA
here’s what i’m trying to do… maybe you could give me a direction, i’m not sure i’m going the right way, and i’m still learning…
Here the 1st part of the code
[AS]
onClipEvent (load) {
_root.createEmptyMovieClip(“holder”, 10);
//_root.holder._visible = false;
loadText = new LoadVars();
loadText.load(“test.txt”);
loadText.onLoad = function() {
if (this.total != 0) {
for (i=1; i<=this.total; i++) {
_root.holder.createEmptyMovieClip([“imageholder”+i], 100+i);
_root.holder[“imageholder”+i]._x = (100i-100)+5i;
loadMovie(this[“imageth”+i], _root.holder[“imageholder”+i]);
}
}
};
}
[/AS]
i load 100*100 thumbnails pictures and create a MC to hold each thumb… This is fine…
Now i’d like to be able to click on the MC holding the thumbnails and depending of the thumbnail , dynamicly loads another large picture x (from test.txt i.e. &largepicx=photox.jpg with x beeing a variable)
so i was looking for a way to say
onClipEvent(enterFrame){
_root.holder.onRollOver = function(){
//check what children im rollovering on and report it’s “ID” and if i click then open this.largepic(x)}
Is it possible? Sorry if it isn’t so clear…
TiA for your time
nm found a solution by duplication MC containing a button and by checking the name of the duplication MC when clicking its button…
:: Copyright KIRUPA 2024 //--