Luar's Flash Playground:基於AS1 OO MVP相冊
新聞(100)
觀點或評論(93)
Flash書(63)
教程(65)
Design Patterns(3)
FlashCom筆記(45)
Flash Remoting筆記(27)
Flex筆記(11)
Flash Lite筆記(14)
PHP資訊(22)
Ajax筆記(9)
習作(47)
組件(15)
酷站(31)
學習資源(28)
書籍推介(15)
本站與我(90)
RSS瀏覽器
聯絡
熱愛鑽研
Ajax
ActionScript
Flash
Flash Lite
Flex
Flash Remoting
FlashCom
Director
Lingo
PHP
Multiplayer Game

搜尋
VCASMO
基於AS1 OO MVP相冊 (12-04-2004)

這是我第二本書其中一個範例,以MVP模式設計,ActionScript 1.0的OO語法寫成的相冊,所有相片都是動態載入,而且分為預覽圖和正常大圖,所有相片記錄在XML檔案中。這相冊是非常容易修改,基本上只需要修改每行有多少預覽圖和XML檔案便可。。(AS2版本)

[示範][源文件]

本文章由luar發表。
意見
  • not bad , but.. why actionscript 1.0 oop when 2004 MX is out and true OO is supported, and why use old way on your new book?

    由guest於13-04-2004發表

  • Thanks for your sharing~

    由Iden於13-04-2004發表

  • 因為AS2版才是主角,比較兩者分別。

    luar於13-04-2004發表

  • Do you mean MVC or MVP? I'm confused...

    If you mean MVP, where are the model, view and presenter classes?

    You have a control class, which is a movieclip, and it contains the XML model. Can you explain why you structured it like this? Thanks.

    confused於14-04-2004發表

  • 是MVP,Control Class只是我習慣叫法,它實際是在做Presenter工作,為免使人混亂,源文件我將它名稱叫回PhotoAlbumPresenter,這樣好吧?

    luar於14-04-2004發表

  • thanks

    由vinny於16-04-2004發表

同組文章

Movable Type 3.15系統支持,Luar's Production版權所有。