It feels like an installation problem.  Are you using the plugin or the standalone?  Can you uninstall completely (make sure Alpha is gone too) and re-install?  Also create new projects, don’t try to use an old project from the Alpha.  This was the advice I got from the FB team.

 

Matt

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nemahl
Sent: Friday, February 03, 2006 2:43 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Cannot resolve <mx:Script> to a component name.

 

The attachment is the picture of the Eclipse IDE. In the editor you will see dashboard.mxml example distributed with the beta. All the files open has the same error, as you will see.

 

The dashboard example had charting components. They were causing similar errors, but could be normal as I don't have charting components installed. Removing all the charting component references thus eliminating those errors, the <mx:script> error then appears. So, it doesn't seem to be a simple parsing-error-like thing. Anyway, it works on all the other computers I installed. One of those had Flex 1.5 installed and has no problems.
 

On 2/3/06, Matt Chotin <[EMAIL PROTECTED]> wrote:

This seems pretty odd to me.  Are you sure there aren't other errors that are being printed and maybe this is just the first one?  What happens if you remove the dropShadow and shadow styles?  Do they even make a difference on the application tag?

 

Just grasping at straws here…

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nemahl
Sent: Thursday, February 02, 2006 5:51 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Cannot resolve <mx:Script> to a component name.

 

My java vm is in Program files\Java\j2re1.4.1 and flex 1.5 was installed. Could these give a clue? My brother has Program files\JavaSoft\jre\1.3.1 and no prior flex installation and flex 2 beta had no problems there...


 

On 2/2/06, nemahl < [EMAIL PROTECTED]> wrote:

This is the beginning of my mxml code:

 

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx=" http://www.macromedia.com/2005/mxml" usePreloader="false" xmlns="*"
    pageTitle="xyz" backgroundColor="#FFFFFF" horizontalAlign="center" initialize="InitApp()" dropShadow="true" shadowDistance="5" shadowDirection="center">
 
 <mx:Script>                  -------> error here
 <![CDATA[
.

.

.

Again the same code works in Flex 1.5.

 

 

On 2/2/06, Matt Chotin < [EMAIL PROTECTED]> wrote:

What's the tag outside your Script tag? 

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nemahl
Sent: Wednesday, February 01, 2006 4:59 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cannot resolve <mx:Script> to a component name.

 

Hi,

 

I'm new to flex development. I was working on Flex 1.5. It was working ok. Then I downloaded Flex 2.0 Alpha and encountered the error in the subject line. The compiler simply seemed not to recognize mx:Script tag. I thought the software was something alpha and I gave up. Now, the same thing is happening in the latest beta version. Can anyone help?

 

Thanks.




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com


YAHOO! GROUPS LINKS

 

 


 

SPONSORED LINKS

Web site design development

Computer software development

Software design and development

Macromedia flex

Software development best practice

 

 


YAHOO! GROUPS LINKS

 

 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to