public static function fromXML( xml:Object ) : myListVO {
        var o = new myListVO();

        for (var i=0; i < xml.length; i++) {
                var q:Object = xml[i];
                var j = q.DisplayOrder - 1;
                o.qArray[j] = myVO(myVO.fromXML(q));
        }
        return o;               
}




<joke:tongueInCheek acceptCriticism="inSpirtItWasIntended" />

Did you know that Flex allows variable names of more than one letter that
express the intent of the code ? :-)

Incidentally, in your previous code, the line:

var test:myV0 = new myV0();

looks on my screen like you're using the numeral zero rather than the
capital letter O in your class name, so the compiler is correctly telling
you "The class my-vee-nought could not be loaded".  Should save you your
work around above...

Best,

Steven
PS.  If you rename the variable to t, don't bother strictly typing it and
drop the brackets in the object instantiation, you should save 8 keypresses
and remove the possible places for typing a nought instead of an O to 1
instead of 2 ;)

--
Steven Webster
Technical Director
iteration::two
 
This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hjopi7d/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123114734/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to