1 Reply Latest reply on May 22, 2007 3:27 PM by busezgi

    error on <mx:Script>

    busezgi Level 1
      I am very new on Flex and when I try to run my application I get this error:

      Could not resolve <mx:Script> to a component implementation.

      I tried "Hello world" example. I got the same error again.
        • 1. Re: error on &lt;mx:Script&gt;
          busezgi Level 1
          Here is the code which gives error on <mx:Script> :

          <?xml version="1.0" encoding="utf-8"?>
          <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" xmlns="*"
          creationComplete = "initApp()">

          <![CDATA[ //ActionScript statements
          public function initApp():void
          mainTxt.text="hello world";
          <mx:Label id="title"
          text="Hello World Example" />

          <mx:Label id="subtitle"
          text="From Programming ActionScript 3.0, Chapter 2: Getting Started" />

          <mx:TextArea id = "mainTxt" width="400"/>