hi all,

i was trying the sample example of "Using View states" to create a
button dynamically using actionscript 3.0 from the help provided by
flex beta 3.0. However i encounter a problem at the statement

"var addChild:AddChild = new AddChild();
                addChild.target = myPanel;
                addChild.child = newButton;"

The error is that access to an undefined property of addchild object.
I checked the reference library to discover that there is no 'child'
property of the addchild class object. even the following code is a
problem

"addChildDyn.childFactory = new
DeferredInstanceFromFunction(createMyButton);"

What shud i do?
Kindly help
                .






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to