Bruno Mosconi schrieb:
Ok, but how do I refer to button's instance to change dynamically its label?

Btw, I've found a FIX at:
http://flashant.org/index.php?m=200412#239
Looks like lots of people are addressing the same BUG unusual ways.


this.createTextField("textField_txt", 10, 0, 0, 100, 200);
textField_txt.wordWrap = true;
textField_txt.html = true;
textField_txt.htmlText = "Here's an interesting animation: <img src='animation' id='animation_mc'>Here's an interesting animation: ";
textField_txt.animation_mc.playing = true;
textField_txt.animation_mc.onPress = function () {
        if (!this.playing) {
                this.play();
        } else {
                this.stop();
        }
        this.playing = !this.playing;
}
// animation_mc is the linkage id of an animated MC in your library.

hth



_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to