-
dynamic text
I am trying to use the dynamic text but when I use the variable in my main movie it doesn't change the text. the dynamic text is even named. this is what I have
the dynamic text instance is named "words"
this is the script that I have on my button
on (rollOver) {
setProperty("_root.label", _visible, "1");
_root.label.words = "yes there is good fun.";
startDrag("_root.label", true, 1, 1, 440, 150);
}
-
on (rollOver) {
_root.label. _visible = true;
_root.words.text = "yes there is good fun.";
startDrag("_root.label", true, 1, 1, 440, 150);
}
Last edited by dancinkid6; 09-17-2004 at 06:54 PM.
-The Dancin kidd
-
Set the variable of the dynamic textfield in the properties inspector...
var x=0
x should be the variable in there...
instance name is for referencing not for the variable
I assume that label is a movieclip ur trying to reach?
Hope it helps
And yeah the text property is also a way...
-
Originally posted by dancinkid6
on (rollOver) {
_root.label. _visible = true;
_root.words.text = "yes there is good fun.";
startDrag("_root.label", true, 1, 1, 440, 150);
}
-
I changed the script to this and it still won't change the text
on (rollOver) {
_root.label. _visible = true;
_root.words.text = "yes there is good fun.";
startDrag("_root.label", true, 1, 1, 440, 150);
}
-
this is what I am trying to do.
I am making a floating box with text in it that pops up when you rollover a button, if anyone has like a tutorial or anything on it that would be great. I have to box working and everything just not the text.
thank you
-
-
THANKS!!!
one other thing, I am trying to make the movie clip fad in, but when I put a stop at the end of it it won't work when I rollover it, but when I take the action out it works fine. why is that and how do I fix that?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|