View Full Version : movies within buttons
TheBarron
01-14-2003, 02:51 PM
Okay, since everyone was soooo helpful about my other button problem...
i have a the following structure set up
[button]
OVER frame
MOVIE clip
Dynamic text
can i access a dynamic text variable set this deeply? that is Dynamic text inside a Movie clip that Resides on the OVER frave of a button Instance?
thanks in advance for the help
binkyboo
01-14-2003, 03:59 PM
Here's how I accessed a dynamic text box outside a movieclip.
on (rollOver) {
_root.movieClip.textBox = "it works";
}
On the roll over state it fills textBox with the words "it works." Hope this helps.
binkyboo
01-14-2003, 03:59 PM
on (rollOver) {
_root.movieClip.textBox = "it works";
}
TheBarron
01-14-2003, 04:13 PM
actually i was thinking
on (rollOver){
_root.button.movieClip.DynamicText = "testing"
}
can that be done?
binkyboo
01-14-2003, 04:35 PM
I wasn't able to get that to work but that doesn't mean it can't be done. My question is why would you want to do that?
TheBarron
01-14-2003, 04:40 PM
Well i have some borrowed code that helped me make some interactivity.. I am suing multiple instances of a button for a MAP movie i am making..
Basically i have it set up so when i rollover a location a movie clip plays.. so insted of duplicating the movie clip 30 times. i was just hoping that i could put a dynamic text box in there then just send the variable from the button instance...
if there are no suggestions i already figured a dirrent route to take.. but i was just hoping this would work.
thanks
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.