chatmurai74 How can the variant property of the b1 element access the LPTCTheme.BUTTON_VARIANT_ORANGE class property that is in the ui package?
In Flex, you would have imported the class in a Script tag. However, the Script tag is not supported in MXHX, as you mentioned (and it probably won't be because it would require a custom Haxe code parser). However, you can include the full package name, like this:
variant="{ui.LPTCTheme.BUTTON_VARIANT_ORANGE}"
Alternatively, if you are including the .mxhx file using a build macro in a .hx file, you might be able to import the class in the .hx file. I don't recall off the top of my head if this works or not.
chatmurai74 Second question: since Scripttag is unsupported at the moment, is there a way to call a method in a other class from this component like click="{myCustomClass.myMethod();}"?
You could define a property myCustomClass in a .hx file that the .mxhx file can access. You could also dispatch an event that another class could listen for and call that method in the listener.