antica@11月14日

anticaサイトの構築

課題サイト 「antica」

Flash 簡易スロット

this.onLoad = function() {
	this.num1_mc.stop();
	this.num2_mc.stop();
	this.num3_mc.stop();
}

_root.start_btn.onPress = function() {
	_root.num1_mc.play();
	_root.num2_mc.play();
	_root.num3_mc.play();
}
_root.stop01_btn.onPress = function() {
	_root.num1_mc.stop();
}
_root.stop02_btn.onPress = function() {
	_root.num2_mc.stop();
}
_root.stop03_btn.onPress = function() {
	_root.num3_mc.stop();

}
_root.reset_btn.onRelease = function() {
	_root.num1_mc.gotoAndStop(1);
	_root.num2_mc.gotoAndStop(1);
	_root.num3_mc.gotoAndStop(1);
}

◎数値は、F6を押すと●が出来るので、数字を入れて行く(この場合、シーン上ではなく、シンボルの上で作業する。
複製して、それぞれに名前を付ける
イラストレーターをpngで保存して、Flashで読み込むと透明pngになる。

雑感

今日のCSSのテストは散々で、cssの練習の必要性をひしひしと感じました。家で、コピーを忘れたので最初からやったら、またもやナビが出てこなくて・・・・・。ばかもんです。