Hi,

Im trying to use mxmlcnpm compiler to convert an .mxlm template to html

Im executing this command
$ mxmlcnpm +configname=flex src/Login.mxml

Extract of template below
------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="library://ns.apache.org/royale/mx" width="334"
height="174" backgroundColor="#FEFDFD" borderStyle="solid"
creationComplete="init()">
<mx:Script>
<![CDATA[
--------------------------------------------------------

And  I got the following error message

C:\Users\eoou\Documents\Project\HelloWorld\src\Login.mxml(3): col: 2 Error:
This tag is unexpected. It will be ignored.

        <mx:Script>
        ^

C:\Users\eoou\Documents\Project\HelloWorld\src\Login.mxml(70): col: 50
Error: Call to a possibly undefined method validarUsuario.

        <mx:Button x="179" y="142" label="Login"
click="{validarUsuario();}"/>
                                                        ^

C:\Users\eoou\Documents\Project\HelloWorld\src\Login.mxml(3): col: 2 Error:
This tag is unexpected. It will be ignored.

        <mx:Script>
        ^

C:\Users\eoou\Documents\Project\HelloWorld\src\Login.mxml(70): col: 50
Error: Call to a possibly undefined method validarUsuario.

        <mx:Button x="179" y="142" label="Login"
click="{validarUsuario();}"/>
                                                        ^

6.5339177 seconds

would you have any idea what it might be or if <mx: Script> is supported?

Thank you so much
Best regards

------------------------------------------
Eduardo Oficialdegui
Cel +34 644 398 813
skype: eduardo.oficialdegui
Barcelona - EspaƱa
------------------------------------------

Reply via email to