I've committed and pushed changes to make Slider work. While doing a full build of flex-asjs, the MDL project failed due to my changes to the HTML version of Slider, so I made some quick fixed in MDL to get it to compile; I do not know if they work.
Basically, I made the thumb and track elements of the slider be Buttons (that's what they were in the SWF version) for both platforms. I made the SliderTrackView and SliderThumbView be the view beads for the Buttons in the SWF version only; the JS Buttons can be simply styled via CSS. This cleaned up a lot of the code and makes it a bit more symmetric for the SWF and JS platforms. I could do a little more to make both presentations look much similar, but for now the Slider should work and dispatch events; the FlexJSTest_Panel in flex-asjs/manualtests now works for me again. —peter On 12/6/16, 5:46 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" <carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com> wrote: >Great Peter, I'll be waiting to follow your changes onto MDL version > >Thanks for taking care of this! > >2016-12-05 17:41 GMT+01:00 Peter Ent <p...@adobe.com>: > >> I just noticed this email. I have started to look into Slider. It was an >> early component, like ComboBox, and needs a little bit of work to bring >>it >> back to life. >> >> ‹peter >> >> On 12/2/16, 5:49 PM, "carlos.rov...@gmail.com on behalf of Carlos >>Rovira" >> <carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com> >> wrote: >> >> >I'd want to bring this again since I think it passed unnoticed. >> > >> >I think SliderView was never used and if you try to put in place it >>gives >> >lots of errors. Hope Alex or Peter could take a look since I'll need >>it to >> >continue work on MDL Slider. >> > >> >Thanks >> > >> > >> > >> >2016-12-01 18:40 GMT+01:00 Carlos Rovira >><carlos.rov...@codeoscopic.com>: >> > >> >> Hi Alex, >> >> >> >> I'm trying to bring the beads I removed while excluding default.css >>and >> >> one thing I found is that SliderView is not declared in >>basic-manifest >> >>ergo >> >> not shipping with HTML.swc and it can't be found when compile >> >>MDLExample. >> >> If I try to add it throws lots of errors. >> >> I think we should have some basic examples of components to easily >> >>detect >> >> this things like that. maybe this component could be invalid right >>now >> >> since nobody saw its view was not working, and several refractors has >> >> happened in the last months. In this case I'm seeing lots of problems >> >>with >> >> flash.display.Sprite and DisplayObject. >> >> >> >> Could you take a look and see if you can update it to working?. After >> >>that >> >> I will continue updating the MDL:Slider >> >> >> >> Thanks >> >> >> >> >> >> 2016-12-01 1:30 GMT+01:00 Alex Harui <aha...@adobe.com>: >> >> >> >>> Slider is not a built-in in regular HTML so it has a model, view and >> >>> controller beads. IIRC, you are kicking out a lot of default CSS >>that >> >>> defines those beads. Have you explicitly brought them in? >>Otherwise >> >>>the >> >>> SliderMouseController may not be running. >> >>> >> >>> -Alex >> >>> >> >>> On 11/30/16, 3:20 PM, "carlos.rov...@gmail.com on behalf of Carlos >> >>> Rovira" >> >>> <carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> >>wrote: >> >>> >> >>> >Hi >> >>> > >> >>> >can someone confirm that js:Slide is working? >> >>> > >> >>> >I created mdl:Slider from js:Slider and I'm trying to use the event >> >>> >"valueChange", but I think is not implemented. >> >>> >I'm trying to search in examples but seems is not used yet. I >>expect >> >>>to >> >>> >get >> >>> >some example of use to apply in my example... >> >>> > >> >>> >I seek for >> >>> > >> >>> > valueChange="comp.property = slider.value" >> >>> > >> >>> >but without luck >> >>> > >> >>> >thanks >> >>> > >> >>> > >> >>> >-- >> >>> >Carlos Rovira >> >>> >http://about.me/carlosrovira >> >>> >> >>> >> >> >> >> >> >> -- >> >> >> >> Carlos Rovira >> >> Director General >> >> M: +34 607 22 60 05 <607%2022%2060%2005> >> >> 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. >> >> > > >-- > >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.