Try a new project, or build one of the samples. You may need to re-install.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Groups Mail Sent: Friday, March 09, 2007 5:51 PM To: [email protected] Subject: Re: [flexcoders] <mx:Script> error ? when i don't use <mx:Script> </mx:Script> flex2 compile my project last design but when i use script tag give an error to me so don't compile last design.. 2007/3/9, Tracy Spratt <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >: What happens in a new, empty application, with just the script tags? If that doesn't work, re-install. If it does, then paste in code from the broken app till it breaks. There is the problem. Tracy ________________________________ From: [EMAIL PROTECTED] ups.com <http://ups.com/> [mailto:flexcoders@ yahoogroups.com <http://yahoogroups.com> ] On Behalf Of Groups Mail Sent: Thursday, March 08, 2007 6:03 AM To: [email protected] <http://ups.com/> Subject: [flexcoders] <mx:Script> error ? hi i have got a strange error from the flex developer plugin for eclipse. Below the error code; "Could not resolve <mx:Script> to a component implementation." and my code is <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml> " layout=" absolute" creationComplete="startService()" > <mx:Script> <![CDATA[ import samples.flexstore.Cd <http://samples.flexstore.cd/> ; import mx.collections.IViewCursor ; import mx.collections.ArrayCollection ; import mx.rpc.events.ResultEvent ; private var catalog:ArrayCollection; private function startService(): void { cdSrv.send(); } private function handleGETResult(event:ResultEvent): void { var cds:ArrayCollection = event.result.catalog.cd <http://event.result.catalog.cd/> ; var temp:ArrayCollection = new ArrayCollection(); var cursor:IViewCursor = cds.createCursor (); while(!cursor.afterLast) { var cd:Cd = new Cd(); cd.fill(cursor.current); temp.addItem(cd); cursor.moveNext(); } catalog = temp; } ]]> </mx:Script> <mx:HTTPService id=" cdSrv" url=" data/catalog.xml" result="handleGETResult(event)"/> <mx:Panel x=" 82" y="60 " width=" 368" height="200" layout=" absolute" title=" Cd Album List" horizontalGap="0" id=" panel1 "> <mx:List dataProvider=" {catalog} " labelField=" title" x="174" y=" 0" width=" 50%" height="100%" id=" list1 "></mx:List> </mx:Panel> </mx:Application>

