Hi Allen, If "comp" is a namespace instead of a folder path, then the new component has to be added to the manifest.xml for that namespace. You'll see basic-manifest.xml files in the various SWC projects.
-Alex On 7/10/17, 8:43 AM, "Allen YANG" <allen.y...@raritan.com> wrote: >Hi All, >I added a file called SearcClass.as with the following content just to >see if that gets me the SearchClass. > >package >{ >[Bindable] >public class SearchClass >{ >public function SearchClass() >{ > } >} >} > >After that I still get the same error. Could someone explain a but what >I should do to properly represent <comp:Search>? > >c:\Projects\SampleSearchBox\src\SampleSearchBox.mxml(11): col: 8 This tag >could not be resolved to an ActionScript class. It will be ignored. > <comp:Search target="{new SearchClass()}" /> > >The project is in: >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropb >ox.com%2Fs%2F8ascg1jjh0qwaex%2FSampleSearchBox.zip%3Fdl%3D0&data=02%7C01%7 >C%7C5a21733df40a4e8b06e808d4c7abf462%7Cfa7b1b5a7b34438794aed2c178decee1%7C >0%7C0%7C636352988740762817&sdata=p9j9%2BCEJlO7DfiyDOPjl4TPWo%2BTYy3zQqOI5J >Iku6Lg%3D&reserved=0 > > >Thanks and Regards, >Allen > >-----Original Message----- >From: Olaf Krueger [mailto:p...@olafkrueger.net] >Sent: Monday, July 10, 2017 8:51 AM >To: dev@flex.apache.org >Subject: RE: [FlexJS] question about porting an Adobe Flex 3 project to >HTML+JS > >>I don't see class SearchClass in the project >Maybe I'm wrong, but I'm also don't see a representation for >"<comp:Search ..." !? > >HTH, >Olaf > > > >-- >View this message in context: >https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle >x-development.2333347.n4.nabble.com%2FFlexJS-question-about-porting-an-Ado >be-Flex-3-project-to-HTML-JS-tp62698p63036.html&data=02%7C01%7C%7C5a21733d >f40a4e8b06e808d4c7abf462%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363 >52988740762817&sdata=6%2F3678uUD0DTUxbOJaiL%2FhXkU4UE7TbujcTiH07hFGk%3D&re >served=0 >Sent from the Apache Flex Development mailing list archive at Nabble.com. > >________________________________ > >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.