Are you using Maven or FB or some other build process? For Maven you may need to add the Flat artifact to the pom.xml
-Alex On 7/10/17, 7:45 PM, "Allen YANG" <allen.y...@raritan.com> wrote: >Hi Team, > >I was trying to create a FlexJS project from the example in FlexJS: >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apa >che.org%2Fconfluence%2Fdisplay%2FFLEX%2FApplication%2BStructure&data=02%7C >01%7C%7Cb9c4d548c03c4b373c7108d4c8081da6%7Cfa7b1b5a7b34438794aed2c178decee >1%7C0%7C0%7C636353384587878313&sdata=HhY9K%2FY1KaCvi1aBulD%2BIaBpoCcQz1sVE >QSP2mYaPoY%3D&reserved=0 >I encountered name space issue which I am still confused by, and hope you >could help me to understand. >In MyInitialView.MXML file I had a line: > xmlns:flat="library://ns.apache.org/flexjs/flat"> >then I won't be able to compile the following statement successfully. > <flat:Panel title="Raritan Deal Registration >System" width="350" height="200"> >So I changed that to > <js:Panel title="Raritan Deal Registration System" >width="350" height="200"> >And removed xmlns:flat line. Then I could build the example application. >The project zip file is here: >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropb >ox.com%2Fs%2F3ig3b3zovi95ndp%2FMVCExample.zip%3Fdl%3D0&data=02%7C01%7C%7Cb >9c4d548c03c4b373c7108d4c8081da6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0 >%7C636353384587878313&sdata=3UK89AmEPfTHKc5K70agjg7P2jUlM51oCKABAmQLCqc%3D >&reserved=0 > >What do I have to do to add 'flat' name space and use it successfully in >the code? > >Thanks for your help. >Regards, >Allen > > >________________________________ > >Ce message, ainsi que tous les fichiers joints ? ce message, peuvent >contenir des informations sensibles et/ ou confidentielles ne devant pas >?tre divulgu?es. Si vous n'?tes pas le destinataire de ce message (ou que >vous recevez ce message par erreur), nous vous remercions de le notifier >imm?diatement ? son exp?diteur, et de d?truire ce message. Toute copie, >divulgation, modification, utilisation ou diffusion, non autoris?e, >directe ou indirecte, de tout ou partie de ce message, est strictement >interdite. > > >This e-mail, and any document attached hereby, may contain confidential >and/or privileged information. If you are not the intended recipient (or >have received this e-mail in error) please notify the sender immediately >and destroy this e-mail. Any unauthorized, direct or indirect, copying, >disclosure, distribution or other use of the material or parts thereof is >strictly forbidden.