sono riuscito a far scrollare un testo usando i bottoni, il tutto grazie all'aiuto di voi amiciFlashoni!![]()
ma.... :master: quando nel pannello azioni inserisco questo script
testo.text = "";
fscommand("allowscale", false);
su_btn.onPress = function() {
_root.onEnterFrame = function() {
testo.scroll--;
};
};
su_btn.onRelease = function() {
_root.onEnterFrame = undefined;
};
giu_btn.onPress = function() {
_root.onEnterFrame = function() {
testo.scroll++;
};
};
giu_btn.onRelease = function() {
_root.onEnterFrame = undefined;
};
t = new Object();
t.onKeyDown = function() {
if (Key.isDown(Key.UP)) {
testo.scroll--;
} else if (Key.isDown(Key.DOWN)) {
testo.scroll++;
}
};
Key.addListener(t);
succede che se incollo un testo di word tra le virgolette di testo.text = ""c'è un errore enorme
VVoVe: , e non mi appare niente....come mai???
![]()
aiutatemi vi prego!!!!!: