ibio / weemvc-actionscript Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/weemvc
Automatically exported from code.google.com/p/weemvc
together with FLASH 8 egs.
Original issue reported on code.google.com by [email protected]
on 2 Aug 2011 at 3:51
What steps will reproduce the problem?
1. 制作两个使用该框架的swf文件A和B
2. 在A中加载B,第一次可以正常加载
3. 用A加载另外一个swf(不使用该框架开发),然后再加载B
4.B无法正常运行,抛出异常,提示已经加载的controller,view,mode
l.
What version of the product are you using? On what operating system?
1.0.22 + 8 Windows XP.
Please provide any additional information below.
Original issue reported on code.google.com by cgwxyz
on 13 Jan 2010 at 5:45
有什么解决方案吗?
Original issue reported on code.google.com by [email protected]
on 25 Apr 2011 at 10:21
注册view的时候,用类名做键,如果ViewA类,需要管理mc_a,也�
��够管理mc_b。我想注册两个viewA类的实例,像这样:
viewLocator.addView(viewA, "mc_a");
viewLocator.addView(viewA, "mc_b");
好像就不行了吧。
Original issue reported on code.google.com by [email protected]
on 4 May 2011 at 4:00
果然是最好的flash框架。想用这个框架做个棋牌游戏,flex里��
�建纯ActionScripter项目,发现ui管理、预加载都是问题。能不能
给点思路,或者根本这个框架根本不适合我现在的项目。
Original issue reported on code.google.com by [email protected]
on 15 Apr 2013 at 9:17
在控制器里面无法统一管理事件,导致扩展性变差。
Original issue reported on code.google.com by ibio520
on 9 Jan 2009 at 4:54
乍一看确实很一样。而且用 EventDispatcher
貌似还可以支持多个客户类的监听。而
且还是 DisplayObject 自带的。何乐而不为?
WeeMVC 用命令模式的实现的 Controller 来达到和 view 与 model
的分离,主要是
基于以下几个点的考虑:
1 命令类的复用。
考虑这样的情况:有些时候要同事去发送很多事件,而且这��
�事件在很多地方都重复
使用的,而且他们不是从一个地方(
view、control或者model)发送过来的。这时
候,就需要去监听很多个类。
2 减少重复编码。
经常在使用 EventDispatcher 的时候,还得在客户类里使用大量的
addEventListener 来监听。虽然 AS
是事件驱动,但并不意味着就一定要使用这种方
式来传递事件。如果使用 WeeMVC
的一个命令类,就可以很好的解决这个问题。
3 不用考虑复杂的垃圾回收问题。
通常我们都习惯不加弱引用,这样哪怕这个事件发送完毕,��
�仍然不能被垃圾回收
掉,这样的地方多了,程序自然就慢了。
Original issue reported on code.google.com by ibio520
on 12 Mar 2009 at 2:16
看了你的代码发觉有个问题,
public function initialize(main:MovieClip):void {
m_main = main;
}
如果是flex是否有问题那,因为flex不一定使用movieclip是否用Dis
playObject会更加好些
Original issue reported on code.google.com by [email protected]
on 21 Dec 2010 at 9:30
公司需要做 AS2 MVC
Original issue reported on code.google.com by [email protected]
on 28 Apr 2011 at 4:10
是Artistic License和GPL二选一么?
允许商业使用,允许商业修改后不公布修改的软件代码吗?
Original issue reported on code.google.com by [email protected]
on 28 Nov 2010 at 10:54
发现在sendWee事件for循环中,其中某个view里,又触发sendWee就��
�发生冲突,之前没send完的就木有了~
建议加个缓冲列表,如果正在sendWee,就加入缓冲列表。
Original issue reported on code.google.com by [email protected]
on 25 Jun 2013 at 11:03
例如需要动态的增加视图.这种情况下需要怎么做呢?
视图和模型需要一对一的关系.也就是说我需要多个相同的模�
��.
我想是需要建立个模型工厂动态的建立模型类.然后绑定模型�
��视图.不知道我说的对不对.想请教一下.
Original issue reported on code.google.com by [email protected]
on 13 Mar 2012 at 2:29
public class View extends MovieClip implements IView
view为什么要继承MovieClip
我看了您提供的那个例子
觉得view并不需要继承MovieClip
我不清楚view继承MovieClip有什么用
麻烦您给我解释一下
谢谢了
Original issue reported on code.google.com by [email protected]
on 17 Jun 2010 at 7:27
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.