1 Reply Latest reply on Jul 21, 2009 10:17 AM by Flex harUI

    URLLoader & Request undefiened Flex 4

    Harvolev

      private var myXML:XML;

      private var myLoader:URLLoader = new URLLoader();

      private var myRequester:URLRequest = new URLRequest("http://www.myaddress.com/library.xml");


      myLoader.load(myRequester); //This is the problem line

       

      I get two of the same errors:

      1120 Access of undefiend property myLoader

       

      1120 Access of undefiend property myRequester

      This worked flawlessly when i was using it in AS3 in Flash CS4.

      According to the documentation this should work fine in flex 4 as well. Is this a beta problem? How do I solve this?