in this code if i gave
mc.loadMovie(“http://192.168.1.9/projects/khelorummy/cards/"+this[“label”+i]+".jpg”);
in browser 5 images are displaying
but if i gave
mc.loadMovie(“http://192.168.1.9/projects/khelorummy/cards/"+this[“label”+i]+".gif”);
no image is displaying
code is
ActionScript Code:
var lvSend = new LoadVars(); var lvReceive = new LoadVars(); lvSend.SendAndLoad(“http://192.168.1.9/projects/khelorummy/user/getcardimages.php",lvReceive,"get”); lvReceive.root = this; lvReceive.onLoad = function(bSuccess) {
for (var i:Number=1; i <= this.n; i++) {
this.root.createEmptyMovieClip(“container”+i, i);
var mc = this.root[“container”+i]; mc.loadMovie(“http://192.168.1.9/projects/khelorummy/cards/"+this[“label”+i]+".jpg”); mc._x = 30;
mc._y = 40 * i;
}
}
iam using flashplayer8.
and i also checked the file->publishsettings->flash in dreamviewer it is also set to flashplayer8. then why .gif images are not displaying?
cann’t we display .gif or .png formats in flash using loadMovie?
if possible plz give me the modified code its urgent. plzzzzz