Ah - cool, thanks. That worked. So I learned something I didn't know
about mxml - which probably should have been obvious to me - I cannot
use Actionscript 3 outside of a <mx:Script> tag - only public variables
created by the actionscript within the tag. So you cannot use
actionscript objects like object.object.property in other mxml tags, you
have to make them a single variable like your code below?
>> panelTitle = myXML.day[0].name;
>><mx:Panel title="{panelTitle}" width="300" height="200"/>
Thanks for the help. I suppose then you cannot use dot syntax on
actionscript objects outside of a script tag. Only single references
are allowed...
Jason Merrill | E-Learning Solutions | icfconsulting.com
NOTICE:
This message is for the designated recipient only and may contain privileged or
confidential information. If you have received it in error, please notify the
sender immediately and delete the original. Any other use of this e-mail by you
is prohibited.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders