thanks this is helpful.

On Wed, Sep 15, 2010 at 9:41 PM, Lokesh jadwani <[email protected]>wrote:

> Gr8!
> I was looking for this keyword
>
> Lokesh
>
> On Wed, Sep 8, 2010 at 5:19 PM, Iyer Anuradha <[email protected]>wrote:
>
>>
>> Vow its new to know.  Thank you so much.  Keep it up.
>>
>>
>>
>> On Tue, Sep 7, 2010 at 10:50 AM, Abdul <[email protected]> wrote:
>>
>>> AS3 : with 
>>> keyword<http://abdulthought.blogspot.com/2010/08/as3-with-keyword.html>
>>> It can be used to write cleaner code when setting multiple properties of
>>> the same object.
>>>
>>>
>>> *Normal Code:*
>>>
>>> var circle:Sprite = new Sprite();
>>> circle.graphics.beginFill(0xFFCC00);
>>> circle.graphics.drawCircle(100,100,50);
>>> circle.graphics.endFill();
>>> addChild(circle);
>>>
>>>
>>> *Using with keyword Code:*
>>>
>>> var circle:Sprite = new Sprite();
>>> with (circle.graphics)
>>> {
>>>   beginFill(0xFFCC00);
>>>   drawCircle(100, 100, 50);
>>>   endFill();
>>>
>>>
>>> }
>>> addChild(circle);
>>>
>>>
>>>
>>> --
>>> *With Regards,
>>> Abdul.*
>>>
>>> --
>>> 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]<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