U can use the following Example:

[*Embed*(source=*"com/xyz/assets/left_right.png"*)]

*public* *static* *const* LEFT_RIGHT:Class;

and now in ArrayCollection, you can directly use
private var flexCollection : arrayCollection = new
arrayCollection(img:LEFT_RIGHT);

Thanks,
Komal H


On Sun, Jan 2, 2011 at 1:07 PM, Meenakshi K <[email protected]> wrote:

> Hi,
>
> Does anybody know how to include path of images in flex arraycollection in
> code like
> private var flexCollection : arrayCollection = new arrayCollection(img:
>
> Any help.
>
> Thanks,
> Meenakshi
>
>
>
> --
> 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