Giter Club home page Giter Club logo

weemvc-actionscript's People

Contributors

ibio avatar

Watchers

 avatar  avatar

weemvc-actionscript's Issues

重复加载用该框架开发的swf时,被加载的swf无法执行。

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

如果同一个视图类ViewA管理mc_a和mc_b要如何处理

注册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

感觉 veiw 分发的每个命令类和 DisplayObject 的 EventDispatcher 差不多,那么他们有什么区别呢?

乍一看确实很一样。而且用 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

是否支持flex

看了你的代码发觉有个问题,
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

发现在sendWee有个bug

发现在sendWee事件for循环中,其中某个view里,又触发sendWee就��
�发生冲突,之前没send完的就木有了~
建议加个缓冲列表,如果正在sendWee,就加入缓冲列表。

Original issue reported on code.google.com by [email protected] on 25 Jun 2013 at 11:03

view extends MovieClip

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.