use <mx:Script> tag for it :
<mx:Script>
<![CDATA[

           private/public function functionName():void/anyreturntype

          {
               // script lines goes here

          }

 ]]>
</mx:Script>

On Wed, Sep 1, 2010 at 8:34 PM, Sidhu Vijay Sidhu <[email protected]>wrote:

> In Mxml u can use script tag for actionscript but...if you are using mate
> framework there is method tag i am not sure coz i don't know abpout mate
> framework i read it some where
>
>
> On Tue, Aug 31, 2010 at 1:54 AM, kamal <[email protected]> wrote:
>
>> Hi,
>>
>> how to declare method in MXML tags?
>>
>> --
>> 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]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>>
>  --
> 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]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>

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