treble
06-06-2005, 01:33 AM
Hey guys,
I've been trying this for ages and i just can't get a hang of it.. What I'm trying to do is use a kind of mask effect where a mc fills up a space and beneath another mc with my content in goes to another frame so when the fill mc dissappears you see the correct content. I'm trying to use the following code but i've had no luck:
on (press) {
tellTarget (_root.fillmc) {
gotoAndPlay(2);
}
tellTarget (_root.content) {
function wait() {
tellTarget(_root.content){
gotoAndPlay(50);
}
}
setInterval(wait, 1000);
}
}
the gotoAndPlay would be different for different areas of the content mc i wish to go to obviously. I would like to use setInterval so i don't get that brief second of nothing while the fillmc fills.
Just one other thing, does anyone know the script to make a mc say 'filler' duplicate in random places untill the a container in the same mc is filled?
Thanks in advance :)
I've been trying this for ages and i just can't get a hang of it.. What I'm trying to do is use a kind of mask effect where a mc fills up a space and beneath another mc with my content in goes to another frame so when the fill mc dissappears you see the correct content. I'm trying to use the following code but i've had no luck:
on (press) {
tellTarget (_root.fillmc) {
gotoAndPlay(2);
}
tellTarget (_root.content) {
function wait() {
tellTarget(_root.content){
gotoAndPlay(50);
}
}
setInterval(wait, 1000);
}
}
the gotoAndPlay would be different for different areas of the content mc i wish to go to obviously. I would like to use setInterval so i don't get that brief second of nothing while the fillmc fills.
Just one other thing, does anyone know the script to make a mc say 'filler' duplicate in random places untill the a container in the same mc is filled?
Thanks in advance :)