Check the wiki:

http://labs.adobe.com/wiki/index.php/Flex:Beta_2_to_Beta_3_Changes#Flex_2_changes_between_Beta_2_and_Beta_3

 

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rama satoskar
Sent: Friday, May 26, 2006 10:10 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: View states problem in beta3

 

can u explain me the difference between the two target and
relativeto.i have installed beta3 but in the flex builder it shows
both the options.
--- In flexcoders@yahoogroups.com, "Jim Robson" <[EMAIL PROTECTED]> wrote:
>
> In Beta 3, target is changed to relativeTo:
>

>
>             <mx:AddChild relativeTo ="{v1}">
>

>
>   _____ 
>
> From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
> Behalf Of rama satoskar
> Sent: Friday, May 26, 2006 9:44 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] View states problem in beta3
>

>
> hi all,
>
> is there a problem in the following code
> <?xml version="1.0"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" >
>
>     <!-- The Application class states property defines the view
> states. -->
>     <mx:states>
>         <!-- Flex enters the newButton state when you click button
b1 -->
>         <mx:State name="newButton">
>             <!-- Add a Button child control to the v1 VBox control. -->
>             <mx:AddChild target="{v1}">
>                 <mx:Button label="New Button" />
>             </mx:AddChild>
>             <!-- Disable the "Add a Button" button to prevent adding
> more than
>                 one button. -->
>             <mx:SetProperty target="{b1}" name="enabled"
value="false" />
>         </mx:State>
>     </mx:states>
>     <!-- The application's child controls define the base state. -->
>     <mx:VBox id="v1">
>         <mx:Button id="b1" label="Add a Button"
> click="currentState='newButton'"/>
>         <!-- clicking the following button returns Flex to the bas
> state. -->
>         <mx:Button label="Remove Added Button" click="currentState=''"/>
>     </mx:VBox>
> </mx:Application>
>
> i seem to get a error each time saying:
> Error: Cannot add a child that is already parented.
>
>
>
>
>
>
>
>
>
> --
> 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
>
<http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site
>
+design+development&w2=Computer+software+development&w3=Software+design+and+
>
development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1
> 66&.sig=L-4QTvxB_quFDtMyhrQaHQ>  site design development
>
> Computer
>
<http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+si
>
te+design+development&w2=Computer+software+development&w3=Software+design+an
>
d+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s
> =166&.sig=lvQjSRfQDfWudJSe1lLjHw>  software development
>
> Software
>
<http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+
>
site+design+development&w2=Computer+software+development&w3=Software+design+
>
and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5
> &s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>  design and development
>
>
> Macromedia
>
<http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+deve
>
lopment&w2=Computer+software+development&w3=Software+design+and+development&
>
w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6n
> PIrz7_EpZI36cYzBjw>  flex
>
> Software
>
<http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=W
>
eb+site+design+development&w2=Computer+software+development&w3=Software+desi
>
gn+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&
> c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>  development best practice
>

>

>
>   _____ 
>
> YAHOO! GROUPS LINKS
>

>
> *      Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>  
> *      To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>  
> *      Your use of Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/>  Terms of Service.
>

>
>   _____
>







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