<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute">
        <mx:Script>
                <![CDATA[
                        import mx.controls.Label;
                        import mx.containers.HBox;

                        var label1:Label = new Label();
                        label1.text = "hello world!";

                        var label2:Label = new Label();
                        label2.text = "how are you?";

                        var cont:HBox = new HBox();

                        addChild(cont);
                        cont.addChild(label1);
                       cont.addChild(label1);

                ]]>
        </mx:Script>
</mx:Application>

Just end up gettring: 1120: Access of undefined property label1.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to