課堂範例 – UNIQLO衣服選單
暑假在幫學生加強Flash ActionScript利用UNIQLO衣服做了這樣的案例,提供大家參考,因為是上課作品,所以程式部分沒有太完美。
//變數宣告 var ldr:Loader=new Loader var path:URLRequest=new URLRequest //開始載入外部圖片 path.url="ut1.jpg" ldr.load(path) clothes.addChild(ldr) ldr.x=-285 ldr.y=-300 clothes.scaleX=0.5 clothes.scaleY=0.5 //衣服拖曳監聽與函數 clothes.addEventListener(MouseEvent.MOUSE_DOWN,downFn) clothes.addEventListener(MouseEvent.MOUSE_UP,upFn) function downFn(e:MouseEvent){ clothes.startDrag(false) } function upFn(e:MouseEvent){ clothes.stopDrag() } //滑桿滑動監聽與函數 stage.addEventListener(MouseEvent.MOUSE_MOVE,moveFn) function moveFn(e:MouseEvent){ clothes.scaleX=slider.value/100 clothes.scaleY=slider.value/100 } //下拉式選單監聽與函數 changeBtn.addEventListener(MouseEvent.CLICK,changeFn) function changeFn(e:MouseEvent){ path.url=menu.value ldr.load(path) clothes.addChild(ldr) ldr.x=-285 ldr.y=-300 }
註:本範例所使用的圖片版權屬於UNIQLO公司所有。
order amoxicillin online no prescription: amoxicillin for sinus infection – amoxicillin 500mg buy online canada
prednisone 1 tablet: what is prednisone used for in adults – prednisone canada pharmacy
how can i get prednisone online without a prescription prednisone 1 mg tablet buy prednisone online canada
prednisone pill: how long does prednisone last – prednisone 50mg cost
prednisone 20mg capsule: 2.5 mg prednisone daily – prednisone without prescription
Как увеличить посещаемость сайта: лучшие практики
3
оптимизация сайта https://www.seo-prodvizhenie-sayta.co.ua/ .
prednisone pills cost: prednisone high – prednisone 20 mg prices
https://amoxilst.pro/# generic amoxil 500 mg
amoxicillin 500mg capsule: fish amoxicillin – amoxicillin 250 mg
prednisone canada: prednisone 30 mg tablet – prednisone online
can you buy prednisone over the counter uk: 50mg prednisone tablet – prednisone 50 mg for sale