how can i download a set of variable images in flex/as3 and display them?

Posted by james on Stack Overflow See other posts from Stack Overflow or by james
Published on 2010-05-17T13:45:18Z Indexed on 2010/05/17 21:10 UTC
Read the original article Hit count: 114

Filed under:
|
|

hi guys....

suppose i have 10 image variables like this

var image1:String = http://somewhere.com/image1.jpg
var image2:string = .....image2.jpg
var image3:string = .....image3.jpg
and so forth.........

i have a timer that displays each variable as an image one a time ....

how do i "buffer" the image and display them instead of going out each time the timer runs? im asking because sometimes the server could slow or some other reason. so what i want to do is to download all those images and then display them from the clients computer. some sort like @Embed ???

complete newbie.. so please go slow on me ... :p

© Stack Overflow or respective owner

Related posts about adobe

Related posts about flex