actionscript 3 - Duplicating extenal items into an array -
if loading external content, such images or not array load items twice example:
load = array(){ load images( "local/folder/www.example.com/" ); items("car.jpeg","bike.jpeg","bike.jpeg"); }
the above in theory, if notice twice have "bike.jpeg" image in array; key value either items[1]
or items [2]
.
so above idea in mind bike image loaded twice or referenced in array first initial load.
yes images going cached flash. can check in firebug example subsequent requests appear grayed out (pulled cache). can load same image several times without hit on app's performance.
Comments
Post a Comment