Hi Yishay, After adding these to css, it works now. Thanks a lot! Best Regards, Allen
-----Original Message----- From: yishayw [mailto:yishayj...@hotmail.com] Sent: Thursday, July 06, 2017 1:15 PM To: dev@flex.apache.org Subject: RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS 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. ________________________________ Ce message, ainsi que tous les fichiers joints à ce message, peuvent contenir des informations sensibles et/ ou confidentielles ne devant pas être divulguées. Si vous n'êtes pas le destinataire de ce message (ou que vous recevez ce message par erreur), nous vous remercions de le notifier immédiatement à son expéditeur, et de détruire ce message. Toute copie, divulgation, modification, utilisation ou diffusion, non autorisée, directe ou indirecte, de tout ou partie de ce message, est strictement interdite. This e-mail, and any document attached hereby, may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized, direct or indirect, copying, disclosure, distribution or other use of the material or parts thereof is strictly forbidden.