Laumie;3767397 a dit :C'est bien moi no stress. Mais là, tu me parles limite Chinois
![]()
import flash.media.Sound;
import flash.net.URLRequest;
import flash.events.MouseEvent;
stop();
var duckuck = new Duck();
var son:Sound = new Sound();
var curScore:Number = 0;
var increment:uint = 1;
son.load(new URLRequest("sound/jazz.mp3"));
home_btn.addEventListener(MouseEvent.CLICK, navigateToGame);
function navigateToGame(e:MouseEvent):void {
gotoAndStop("game");
}
addChild(duck);
duck.addEventListener(MouseEvent.CLICK, addScore)
function addScore(e:MouseEvent):void {
curScore += increment;
score_txt.text = "" + curScore;
}
Mrs Petoncule;3767412 a dit :Tu veux du Chinois ?
import flash.media.Sound;
import flash.net.URLRequest;
import flash.events.MouseEvent;
stop();
var duckuck = new Duck();![]()
var son:Sound = new Sound();
var curScore:Number = 0;
var increment:uint = 1;
son.load(new URLRequest("sound/jazz.mp3"));
home_btn.addEventListener(MouseEvent.CLICK, navigateToGame);
function navigateToGame(e:MouseEvent):void {
gotoAndStop("game");
}
addChild(duck);
duck.addEventListener(MouseEvent.CLICK, addScore)
function addScore(e:MouseEvent):void {
curScore += increment;
score_txt.text = "" + curScore;
Hinhin![]()