課堂範例 – 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 衣服選單 原始檔 下載

註:本範例所使用的圖片版權屬於UNIQLO公司所有。

You may also like...

12,738 Responses

  1. simoleon表示:

    “Batman Begins” is a 2005 action crime thriller film directed by Christopher Nolan and written by Christopher Nolan, from a screenplay by David S. Goyer and Nolan.
    Icons for Windows and the biggest letter icons for Mac OS X from Icons8, featuring exclusive EXCLUSIVE Batman icons designed by D. The Batman Body T-Shirt The Batman Body T-Shirt is available in men, women and kids sizes. Batman Bundle Mannequins & Costumes. The Flash and https://tedumusmi.weebly.com

    6add127376 simoleon

  2. ambrdor表示:

    It also helps those that are not proficient with voice and typing. Regardless if you are blind or not, this simple program is perfect for a resourceful and wise creature.

    Once you’ve played this game, you’ll definitely find yourself addicted to it. No matter how many times I struggle to find fairies who disappear from my sight, in order to help me, I still keep on searching for such a type of character.

    Just like many other ARPG, it is also not https://google.dz/url?q=https://peydrafokim.weebly.com

    6add127376 ambrdor

  3. olajan表示:

    This is possible simply by navigating to the file and clicking the Print button.
    Files in the selected folder are presented in a tree-view. When you select a file, it is displayed in the property window, which shows the information about the file, such as file name, storage location, type and the size of the file on disk.

    File Explorer is the Windows program that allows you to manage files and folders. The program offers several features, including the ability to create subdirectories https://memimarchxuan.weebly.com

    6add127376 olajan

  4. noejez表示:

    It also runs pretty fast (even for a big library), because it doesn’t parse the whole library before trying to display the contents.
    Official link in GitHub

    After reading the code, and testing some example sample XML files, it seems that the code is really self-documented, so there shouldn’t be any issues regarding understanding the code. The comments are here for more general ideas about what the code does and what the data is, though.
    Here’s the description of some of https://www.ferrol.gal/educacion/visor_pdf.aspx?titulo=XantarCEIPIsaacPeral&url_pdf=https://promunninla.weebly.com

    6add127376 noejez

  5. lettbayl表示:

    PROS:

    You can import playlists from your iTunes account

    You can automatically add songs to playlists

    Free

    CONS:

    The video preview isn’t that great

    You can’t tag the songs, the option is not available

    Has numerous bugs

    The Bottom Line:Easy Playlist Maker is a neat software solution that allows you to create various playlists, you can work with your iTunes Music Library and use the search function to locate https://naigenpodeb.weebly.com

    6add127376 lettbayl

  6. chauhald表示:

    There are many different features in Hide That Folder.

    Remove Registered Files (Finder not Terminated)
    Take a small screenshots from your system
    Folder Jump (Single Characters)
    Hide Files
    Hide Folders
    Steath Mode
    Command Line Options

    Hide-Thats-Folder is built upon powerful rights management and security technology that prevents unauthorized users from accessing the hidden file. It uses XProtect file system protection to inject limitations into the kernel so that exclusive access https://detingtabra.weebly.com

    6add127376 chauhald

  7. Johnnyden表示:

    stromectol for sale prescribing stromectol ivermectin without a doctor prescription

  8. kaykalh表示:

    JDBC/JMS Provider which does not require a message broker.
    Apache Avro (and thus it’s Avro NMS Provider). Be careful when using Avro with NMS and MSMQ. The connection URI doesn’t have a path part. At least one -r argument is needed in the connection URI.
    Depending on what providers you wish to connect to, you need to provide NMS with the provider-specific credentials in order to connect. This is done in https://www2.sandbox.google.co.uk/url?q=https://detingtabra.weebly.com

    6add127376 kaykalh

  9. attleon表示:

    Hit the preview button in real time, edit some settings and click “Generate” to end your work.1. Field of the Invention
    The present invention relates to an information management method and system for managing a signature on a packet, and more particularly to an information system and method for identifying an illicit message sender by checking the authenticity of signatures embedded in packets in network or data communication systems.
    2. Description of the Related Art
    In general, equipment such as a personal computer https://izircieli.weebly.com

    6add127376 attleon

  10. janeval表示:

    Ask HN: Mobile Development Tools – gabordemooij
    I'm working on a webapp and I need to get it running in browsers, mainly mobile (iPhone & Android).In web development there are a lot of tools and a lot of opinions on what is the best tool to build your project with. And I'm wondering:Is there a similar thing for mobile development? https://kaysthetemto.weebly.com

    6add127376 janeval

  11. yulgra表示:

    on the client’s computer
    ■ Computer must be connected to the network
    To remove all aliases, use the -del command.
    To view aliases, use the -show option.
    To add or remove specific aliases, use the -add or -del option. When removing a specific alias, you must include the -d option, as an alias can only exist once.
    For example, to display all current aliases, use the -show option. To add a dynamic https://isgiaspidex.weebly.com

    6add127376 yulgra

  12. flftoaie表示:

    purchase modafinil provigil 100mg uk modafinil 200mg without prescription

  13. annoalei表示:

    FOMU.

    Jake Katz

    Deep Red

    This self-released original piece from NYC jazz producer Jake Katz is a collection of loops, beats, and beat-builder tools designed to be extremely versatile for nearly any beat situation imaginable.

    Matt Perrine

    Vintage VST

    A product of the sound design group KILO, Vintage VST brings vintage synth sounds from that bygone era together into today’s modern digital audio toolset. The https://seheadsmico.weebly.com

    6add127376 annoalei

  14. vyvihug表示:

    The LLRP project is now a “core” component and installed in the eIDAS-OASIS environment.

    The LLRP Toolkit supports the following languages:C#JavaC++Python

    Also see the LLRP Guide on the developerWorks site to get more info on the LLRP toolkit.

    For developers wishing to produce RFID reading applications for eIDAS-OASIS, see the BBN Development Environment.

    Change history: https://pionimace.weebly.com

    6add127376 vyvihug

  15. Wtfzxq表示:

    ceftin 500mg pills – buy ceftin 500mg generic order tadalafil 40mg online cheap

  16. iltpqudb表示:

    order modafinil 100mg online oral provigil 100mg

  17. Johnnyden表示:

    clomid tablets for sale clomid tablets where to buy cheap clomid online

  18. lxqsavxj表示:

    provigil 200mg without prescription buy provigil 200mg online modafinil 100mg for sale

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。