I’m trying to make it so the text is only visible after my movieclip has reached a certiain position.
SO…
on the first frame of my ‘navigation’ movieclip timeline i have this.
this.onEnterFrame = function() {
position = (box._x, box._y);
};
() {
THEN…
on my button i have this:
on (release) {
createTextField("mytext", 1, 357, 70, 95, 300);
mytext.multiline = true;
mytext.wordWrap = true;
mytext.border = false;
myformat = new TextFormat();
myformat.color = ffffff;
myformat.size = 11;
myformat.font = "_sans";
myformat.align = "left";
mytext.setTextFormat(myformat);
this.box.xPos = 355;
this.box.yPos = 70;
box.targW = 95.2;
box.targH = 300;
if (position=355, 70) {
mytext._visible = true;
mytext.text = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum";
}
}
any suggestions as to why my text is showing up before the movieclip has reached its destination?
many thanks,
_grennex