Typically, you’d do it the same way you would in HTML and javascript. Take a look at the example projects. The FlexJS Store is a particularly good one for seeing how to build an app. The basic structure can be built in MXML using js:Label, js:TextInput, js:TextButton, js:CheckBox, etc. These elements can be manipulated using ActionScript the way you’d expect. These are wrappers around DOM elements and can be interected with much the same way.
It’s also possible to manipulate the DOM directly with standard JS-like APIs using the js.swc definitions, or JQuery using jquery.swc. The only issue I’ve found so far with jQuery is that you need to use the jQuery object rather than the “$” object due to a bug in the type definitions. HTH, Harbs On May 13, 2016, at 3:11 PM, OK <[email protected]> wrote: > More general the question is if and when how we can access/manipulate the DOM > using FlexJS. > > Thanks, > Olaf > > > > > -- > View this message in context: > http://apache-flex-users.2333346.n4.nabble.com/FlexJS-How-to-create-a-div-with-a-shadow-style-tp12682p12684.html > Sent from the Apache Flex Users mailing list archive at Nabble.com.
