allenyyang wrote
> These changes allowed me to build demo_for_presentation. And I now can run
> it by double-clicking index.html in both bin/js-debug and bin/js-release
> folders.
> But I am not sure that it runs correctly because the screen display always
> look like the following:
> 
> boring
> my comp 0
> Button1 Button2
> 
> Clicking Button1 should increment the count, but it doesn't change the
> display at all; and I believe clicking Button2 doesn't do anything
> according to the source code.  Could you help me  to correct the behavior
> of the demo program?

It looks like version 0.8.0 requires you to specify the states
implementation.

I added the line below to main.css and button1 now changes state as
expected.

global {
        IStatesImpl:           
ClassReference("org.apache.flex.core.SimpleStatesImpl");
}
 
BTW, clicking on 'my comp 0' is what causes the increment.




--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62874.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to