[MVC for AS3] 세상에서 가장 알기쉬운 MVC 구조



동그라미는 MVC 클래스 구조를 나타낸것이고 스마일은 사용자를 나타냄.
동그라미 위의 흰 글씨는 제공된 예제파일을 나타냄.
동그라미 아래의 주황글씨는 대략적인 작성원리를 나타냄.
동그라미 안의 보라색 글씨는 각각의 역할을 나타냄

헤드퍼스트 디자인 페턴에 소개되었던 MVC를 as3 용으로 바꾼것입니다
원문에서는 옵저버패턴을 사용하여 상태변화를 다른객체에서 감지 하였으나
as3의 주 무기? 인 이벤트리스너를 사용하여 그것을 대체하였습니다.
또한 비트에 맞추어 소리를 내는 대신 버튼이 깜빡이는것으로 대체하였습니다.


예제 : MVC_test.rar

예제는 flex4 sdk 로 제작하였습니다. flex3 사용자는 컴포넌트를 변경하시면 빌드가 가능합니다
( 요청이 있을경우 flex3 으로 변경하여 올리겠습니다)


요청이 있어서  flex3 버젼으로 올립니다

MVC_flex3.zip


  • 김용환 2009/09/23 12:46 # 삭제 답글

    잘봤습니다^^ 그런데 제가 플렉스4가 아니라 3버전이라서요...^^;;

    컨버팅좀 해주셔서 주시면 안되나요??^^;;
  • superSC 2009/09/24 13:21 # 삭제 답글

    네! 올렸습니다. !
  • allieus 2009/12/29 12:24 # 삭제 답글

    좋은 글 감사합니다. 많은 도움이 되었습니다. :-)
  • 댓글 입력 영역
    야매코더_
    AS3 2010. 12. 4. 03:31

    댓글을 달아 주세요

    1. 이전 댓글 더보기
    2. BlogIcon 1000型琉璃瓦机 2015.01.02 19:45  수정/삭제  댓글쓰기

      이용약관위배로 관리자 삭제된 댓글입니다.

    3. BlogIcon mont blanc pens on sale 2015.01.06 02:34  수정/삭제  댓글쓰기

      이용약관위배로 관리자 삭제된 댓글입니다.

    4. BlogIcon furla purses on sale 2015.01.31 08:02  수정/삭제  댓글쓰기

      간리TRS goes slow on tie

      The Telangana Rashtra Samithi (TRS) leadership appears to be pushing the Congress leadership into dilemma whether it should go for merger or prefer electoral alliance by procrastinating consultations as much as it can.

      The TRS core group woolrich coats camping in Delhi has dropped enough hints to key Congress leaders that the political vacuum created by merger would only부는

    5. BlogIcon furla bags online 2015.02.04 13:34  수정/삭제  댓글쓰기

      하를Inflation In addition to Rare metal

      [By the dog days of summer in 2005, gold was getting ready to break out of its $400+ rut in advance of one of the most important developments in recent years for the yellow metal the nomination of Ben Bernanke as Fed Chairman in the fall. Originally appearing at the old blog on August 17th, 2005, when gold fetched $442 an ounce, this item looked at the infl일한

    6. BlogIcon mont blanc outlet 2015.02.18 19:18  수정/삭제  댓글쓰기

      가련specifications leaking in front of Ny introduction

      Nissan's brand new with regard to 2011 Juke is placed to create it's United states debut from tomorrow's Ny Car Display, and also the little crossover's polarizing celestial satellite pushchair design will arranged tongues wagging, just like this do throughout it's worldwide elite in the Geneva Engine Display. Getting observed this particular a법어

    7. BlogIcon mont blanc store 2015.03.18 21:30  수정/삭제  댓글쓰기

      그있inside the Customized related to German Rare metal Jewelry

      Data incorporated relating to this web site is really given by a totally impartial third party articles provider. WorldNow that Stop help make simply no ensures as well as representations inside hyperlink therewith. Via 5 to be able to 8 '04 2014, the particular "City related to Gold" will probably be website hosting the particular 35th에의

    8. BlogIcon tory burch reva 2015.03.26 02:09  수정/삭제  댓글쓰기

      를니Barbour gucci handbags outlet Quilted Jacket To Mixture In Style louis vuitton outlet online And Even Comfort

      Looking beautiful and smart can add to your advantage. You cannot deny the fact that everyone wants to look attractive. It can have direct impact on your personality and career. In the past, people paid less attention to their looks. But things have changed in the modern world. Men and 우할

    9. BlogIcon short burberry homme pas cher 2015.03.27 21:10  수정/삭제  댓글쓰기

      일가est une t shirt burberry célèbre marque. "22 sur l'histoire de" Qing Yi Zhao a dit: "齐文宣 di accro à l'alcool,au début du XXe siècle la balle| | 2 "américains a besoin d'un téléphone, déjà à Zhu Zhu et relativement faible, le personnel de nettoyage quelques Zhang Zhidong vendu que le Gouverneur "Confucius". ou de Ratites. 마어

    10. BlogIcon furla bags 2015.03.29 14:59  수정/삭제  댓글쓰기

      지을Good Shepherd Ministry celebrates Thanksgiving

      Above: 1, 600 Thanksgiving meals are served to Toronto's homeless and disadvantaged as part of the Ministry's 50th anniversary. Mark burberry outlet McAllister reports.

      TORONTO The Good Shepherd ministry cheap ray ban sunglasses is serving Thanksgiving dinner and celebrating nfl cheap jerseys 50 years of helping the homeless.

      see grace in act뉴습

    11. BlogIcon nfl wholesale jerseys 2015.03.29 17:42  수정/삭제  댓글쓰기

      없있Obtain Inexpensive as well as Greatest Kerala Travel packages within Indian

      If you prefer a unforgettable vacation holiday within Indian along with economical visit bundle after that Kerala seaside visit is the greatest method an inexpensive as well as unforgettable holiday within Indian. Perfect elegance associated with Kerala causes it to be about the most vacation places from the globe. The 리뉴

    12. BlogIcon soldes bueberry pas cher 2015.03.30 11:27  수정/삭제  댓글쓰기

      뉴료révèle trois: qui est le premier de trois couleurs?| sac burberry pas cher

      | et nbsp; 叶知秋 |



      |Trois Royaumes

      plein de combat sanglant de l'époque, de conspiration et de tromperie est presque devenu nécessaire de survie.Toutefois, certaines personnes à jouer quelques bons, d'autres mauvais certains jouer.

      comme Liu, jouer machiavélique d'e적단

    13. BlogIcon burberry sac pas cher 2015.03.31 00:03  수정/삭제  댓글쓰기

      한할URL aIci,chaussure burberry pas cher相关的主题文章:일적

    14. BlogIcon woolrich parkas 2015.03.31 14:53  수정/삭제  댓글쓰기

      하간relieve exhaustion rapidly

      Atlanta. Tyskland. Ghana. Liya's profession might change throughout a Milan style display, whenever Gucci innovative overseer Ben Kia required discover associated with the woman's. He or she throw the woman's in a single associated with their exhibits, as well as all of a sudden all of the large titles which experienced overlooked Liya had been coating upward. Your wo리예

    15. 匿名 2015.04.01 06:28  수정/삭제  댓글쓰기

      다기Known publishers from the foreign press, secular, artists, designers and fashionsitas, everybody came from the collection of women Moncler Marmelade Techno equipped with seat belts parka to be seen. They are all "oohed and ahhed" while enjoying hot cider and hot chocolate. Personally.



      Ironic how the absence of life (which is visual, with them being completely immobile), the scene so alive! 지던

    16. BlogIcon tory burch purses 2015.04.03 22:10  수정/삭제  댓글쓰기

      일리Roizen exhorts ICASI cooking class with his message with video

      "We're at our peak around 30, and it's downhill from there, " he told the 80 person group gathered at the International Culinary Arts Sciences Institute. He said a Harvard study by doctors confirms the loss of 5 percent of mental and physical function every 10 years after age 30. But that's not inevitable, he said.

      "After 30, it'니관

    17. 匿名 2015.04.04 02:54  수정/삭제  댓글쓰기

      할니Lacoste boots and a beret big mesh,A Few Tips for Safe Online Sh, or even the entire pleated skirt, tights and wool biker boots. The more adventurous may try to marry a trio monochrome black carrot trousers.



      Badia will be a mini-skirt skater, opaque tights and Minnetonka for a look kindly teenager, as she wants deliciously shifted pair of trousers, sweater and glasses under Cutler. Olympia 있메

    18. 匿名 2015.04.05 10:19  수정/삭제  댓글쓰기

      되리Known publishers from the foreign press, secular, artists, designers and fashionsitas, everybody came from the collection of women Moncler Marmelade Techno equipped with seat belts parka to be seen. They are all "oohed and ahhed" while enjoying hot cider and hot chocolate. Personally.



      Ironic how the absence of life (which is visual, with them being completely immobile), the scene so alive! 지리

    19. 匿名 2015.04.09 00:24  수정/삭제  댓글쓰기

      가어and even better news is that their greatest extent EVER!Beautiful flowers and fittings add a touch of tartan jackets that unmistakable feminine essence, while injections of red.



      Purple and orange make this the biggest ever range of colors.Barbour waxed jackets,Understand The Nuts and Bolts, Barbour International Quilt Jacket, Jackets Barbour Polar Quilt .


      This jewelry shopping checklis적있

    20. BlogIcon discount oakley sunglasses 2015.04.13 01:23  수정/삭제  댓글쓰기

      를어Reduced danger associated with HIV an infection along with dental intercourse

      OTTAWA Steven Boone subjected 2 intercourse companions to some chance of obtaining HIV throughout unguaranteed anal intercourse and really should end up being charged associated with irritated lovemaking attack towards all of them, their attorney informed jurors Thursday.

      However costs associated with tried homicid그을

    21. BlogIcon gucci mens shoes 2015.04.13 06:59  수정/삭제  댓글쓰기

      뉴에horse together with lower-leg

      If the horse is really obtaining feet initial, I'll assure an individual the way the muscles is most likely rubbing in the navicular navicular bone, that's this is the real specialists related to obtaining feet initial When she or he does not have damage presently he will rapidly. In addition, you stated muscle tissue atrophy where element as well. Your personal ho비조

    Powerd by Tistory, designed by criuce
    rss