1 Reply Latest reply on Aug 19, 2008 4:20 PM by Newsgroup_User

    Nothing was specified to be included in the library

    Net_Image
      I created a new project by just doing file --> New--Flex Project. I saved the mxml and trying to follow the Flex in a Week example created this

      <?xml version="1.0"?>

      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml"
      layout="absolute"
      initialize="teamScores.send()">

      <mx:Script>
      <![CDATA[

      import mx.rpc.events.ResultEvent;
      private function resultHandler(event.resultEvent):void {

      }

      ]]>

      </mx:Script>
      <mx:HTTPService id="teamScores"
      url="toy.xml"
      result="resultHandler.event()">

      </mx:HTTPService>

      </mx:Application>

      When I try to run this I get Nothing was specified to be included in the libraryText.
      Under project properties I have src as my folder.

      Any help please? I can't even debug this.

      The XML is saved in the same place as the mxml which is in the src folder.

      Thanks.
        • 1. Re: Nothing was specified to be included in the library
          Level 7
          Sounds like you might have inadvertently set it up as an RSL (runtime shared
          library) project. Not sure how to fix that, but it might give you something
          to search on.

          "Net Image" <webforumsuser@macromedia.com> wrote in message
          news:g8fe3t$hcb$1@forums.macromedia.com...
          >I created a new project by just doing file --> New--Flex Project. I saved
          >the
          > mxml and trying to follow the Flex in a Week example created this
          >
          > <?xml version="1.0"?>
          >
          > <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml"
          > layout="absolute"
          > initialize="teamScores.send()">
          >
          > <mx:Script>
          > <![CDATA[
          >
          > import mx.rpc.events.ResultEvent;
          > private function resultHandler(event.resultEvent):void {
          >
          > }
          >
          > ]]>
          >
          > </mx:Script>
          > <mx:HTTPService id="teamScores"
          > url="toy.xml"
          > result="resultHandler.event()">
          >
          > </mx:HTTPService>
          >
          > </mx:Application>
          >
          > When I try to run this I get Nothing was specified to be included in
          > the
          > libraryText
          .
          > Under project properties I have src as my folder.
          >
          > Any help please? I can't even debug this.
          >
          > The XML is saved in the same place as the mxml which is in the src folder.
          >
          > Thanks.
          >