- this.onEnterFrame = function(){
- xmlNews = new XML();
- xmlNews.onLoad = FichierXml;
- xmlNews.load(i+"xml.xml");
- function FichierXml() {
- text = xmlNews.firstChild.toString();
- }
- }
-
- barre.onEnterFrame = function(){
- barre._height = (208/(txt.maxscroll+1))*2
- barrey = 105 + ((txt.scroll-1)/(txt.maxscroll+1)*208)-(barre._height/(txt.maxscroll)/208)+1
- barre._y+=(barrey-barre._y)/4
- }
- btbas.onPress = function() {
- txt.scroll+=2
- }
- bthaut.onPress = function() {
- txt.scroll-=2
- }
- p.onPress = function() {
- txt.scroll = 1
- i = "1";
- }
- t.onPress = function() {
- txt.scroll = 1
- i = "2";
- }
this.onEnterFrame = function(){
xmlNews = new XML();
xmlNews.onLoad = FichierXml;
xmlNews.load(i+"xml.xml");
function FichierXml() {
text = xmlNews.firstChild.toString();
}
}
barre.onEnterFrame = function(){
barre._height = (208/(txt.maxscroll+1))*2
barrey = 105 + ((txt.scroll-1)/(txt.maxscroll+1)*208)-(barre._height/(txt.maxscroll)/208)+1
barre._y+=(barrey-barre._y)/4
}
btbas.onPress = function() {
txt.scroll+=2
}
bthaut.onPress = function() {
txt.scroll-=2
}
p.onPress = function() {
txt.scroll = 1
i = "1";
}
t.onPress = function() {
txt.scroll = 1
i = "2";
}