Hi, I implemented the Disabled bead, just notice that
host.element is HTMLInputElement is not working, I had to comment lines as below to get it working. I don't understand @flexjsignorecoercion HTMLInputElement I thought that line was to make "is" work here. So for now I lett the method as show here (but I think commented line should work and left uncommented): /** * @copy org.apache.flex.core.IBead#strand * * @langversion 3.0 * @playerversion Flash 10.2 * @playerversion AIR 2.6 * @productversion FlexJS 0.0 * @flexjsignorecoercion HTMLInputElement * @flexjsignorecoercion org.apache.flex.core.UIBase; */ public function set strand(value:IStrand):void { _strand = value; COMPILE::JS { var host:UIBase = value as UIBase; var input:HTMLInputElement; //if (host.element is HTMLInputElement) //{ input = host.element as HTMLInputElement; input.disabled = "disabled"; //} else //{ // throw new Error("Host element component in not type input"); //} } } El 21 de octubre de 2016, 21:07, Carlos Rovira < carlos.rov...@codeoscopic.com> escribió: > Hi, > > Yishayw, thanks!. You see I tried it, and couldn't use since is using some > modified code in the branch, but although I modified to test in my branch, > it wasn't the exact way to disabled the component, but it was very helpful > to learn how you made it. Thanks! > > 2016-10-21 18:06 GMT+02:00 yishayw <yishayj...@hotmail.com>: > >> Oops, I guess you guys have already picked up on this. Saw the first post, >> didn't see the rest... >> >> >> >> -- >> View this message in context: http://apache-flex-development >> .2333347.n4.nabble.com/FlexJS-enabled-property-tp55853p55918.html >> Sent from the Apache Flex Development mailing list archive at Nabble.com. >> > > > > -- > > Carlos Rovira > Director General > M: +34 607 22 60 05 > http://www.codeoscopic.com > http://www.avant2.es > > > Este mensaje se dirige exclusivamente a su destinatario y puede contener > información privilegiada o confidencial. Si ha recibido este mensaje por > error, le rogamos que nos lo comunique inmediatamente por esta misma vía y > proceda a su destrucción. > > De la vigente Ley Orgánica de Protección de Datos (15/1999), le > comunicamos que sus datos forman parte de un fichero cuyo responsable es > CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la > prestación del servicio o información solicitados, teniendo usted derecho > de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose > a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la > documentación necesaria. > > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.