hi,
if I use 5000 different images
So Wt to do?We have Embed all these Images into Our application?

On Apr 9, 2:55 pm, vrathore <[email protected]> wrote:
> 1. go to project properties->flex build path->library path ->
> framework linkage->select RSL from drop down   press ok
> 2. go to project properties->flex complier->additional complier
> arguments
>     add "-debug=false" in the end  -> press apply and ok
>
> Now concering your answer
> 3. If you are using the same image 5000 time using the src that is
> wrong, you can embed one image for point in the application and use it
> multiple times.
> for example :-
>        [ Embed(source="/com/rathore/view/images/tower_on.png") ]
>                          public static var TowerOn:Class;
> Now using this class as
> <mx:Image  source="{TowerOn}" />
>
> One more thing if you are using a service to load the images in the
> Container
> 1. use image.load() method to add images in the map
> 2. add event listner for each image you are loading to add a loader so
> that it loads independently and removes the loader when it get loaded.
>
> Cheers
> Varun Rathorehttp://www.vrathore.blogspot.com

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