-
Link an image to a single letter?
Hi I’d really appreciate some help with my problem, I need to do something simillar to the “guess the phrase” show, where given a certain word it will randomly start appering, but I need to link this to a solid box (image or shape, at this point anything will do) so this box disappears as the letter is starting to fade in, I have the randomizer of the word working from a solution in this forum (attached below), but I can’t figure out how to link this box to a specific letter so that they both are in the same position, let alone making it disappear as one letter fades in.
delay = 1.7;
fadeTime = .5;
letter = 1;a = [];for(i = 0; i < textTotal; i++) a.push(i);
seedRandom(index,true);
for (i = 0; i < a.length; i++){
idx = i + Math.floor(random(a.length - i));
temp = a[i];
a[i] = a[idx];
a[idx] = temp;
}
myDelay = a[textIndex-1]*delay;
t1 = inPoint + myDelay;
t2 = t1 + fadeTime;
linear(time,t1,t2,100,0)