I have a few copies of a downloaded image in memory to support various drag functions and would like to save some bandwidth.
Obviously duplicateMovieClip won't work because it doesn't work on dynamically created clips that use LoadMovie. So I was thinking that I could use the new MovieClipLoader class and it would use the browsers cache or I could use the bitmap.draw function to create a bitmap and then attach that. Both of which I thought would work in the similar way. It seems that calling bitmap.draw on a movieclip that has a downloaded image forces another download - I haven't veified this via netmon (yet) - but notice that a sandbox security violation occurs when call that function. To me that doesn't make sense, If I already gave it permission to use that image from that domain, why would some other component using that same instance need to have the same permission (security line entries in the class file)? Am I better off using the MovieClipLoader class instead? - Will the MCL also try to download the image again and also need the sandbox settings? - or will it try to download it and load it from cache? Any insight would be helpful. Thanks.. _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

