You should to create variable into component which must get data from
you. And then you be able to set the variable into this component  via
"dot" operator.
Example:
first Component:
==
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"; width="400"
height="300" xmlns:local="*">
        <local:SecondComponent myVar="this is my string"/>
</mx:Canvas>

==
SecondComponent.mxml
==
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"; width="400"
height="300">
        <mx:Script>
                <![CDATA[
                        public var myVar:String;
                ]]>
        </mx:Script>
</mx:Canvas>
==

On Oct 28, 11:06 am, Vasu <[EMAIL PROTECTED]> wrote:
> Hi Friends,
>               I,m Srinivas.I'm new to Flex.I have one doubt regarding
> "How to pass values from one screen to another screen i.e one
> application to another application (or) one component to another
> component".
>
> Thanks in advance,
> Vasu.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" 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/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to