Hello again my friends!!!
once more i’m having troubles whith actionScript…
i´m using external data that i load from a .asp document. the thing is that i want to put a photo in the stage (by code), and i can’t achieve it…
i’ve got the absolute URL(which i get from the .asp document) to the foto
for (i=0; i<Number(dados.c); i++) {
imgs* = {src:eval(“dados.imgt”+i)
}
this provides me whith an array of the absolute URL to all the pictures , for instance, if i write
trace(imgs[5].src);
i will get: http://desenvolvimento/demoloja/images/UEBEImg/Artigos/Img_201_1_110.jpg
so i tried to use
createClassObject(mx.controls.Loader, “loader”, 0);
loader.autoload = false;
loader.load(imgs[5].src);
but it doesn’t work…
i also tried using
MyMovie.loadMovie(imgs[5].src);
tring this way to exchange the movie clip MyMovie to the one that i want, but gain nothing …
can some one help me?!?!?!?
and by the way can some one tell me were to find toturials about using asp and flash?!?!
thank’s in advanced!!!
oliv