-
[F8] moviecliploader prob...
i have and xml that passes these image details to be loaded into flash.
image path, x,y,heigt,width, rotation
i use moviecliploader and attachemovies with a for loop to load the images. but find difficult set images there respected property after onLoadComplete even if the movieclip loader as i can pass the approriate values in to movies.
can anyone suggest me on how to pass the properties into onLoadComplete even of the image
thanks
-
Banned
make use on onLoadInit instead of onLoadComplete to set properties to images.
-
Originally Posted by deepakflash
make use on onLoadInit instead of onLoadComplete to set properties to images.
how to pass values into onLoadInit? since the number of images can varie i cant figure how to pass the correct values to each image...
Thanks
-
Banned
PHP Code:
mclListener.onLoadInit = function(target_mc:MovieClip) {
target_mc._height=ht;
target_mc._width=wd;
target_mc._x=xpos;
target_mc._y=ypos;
};
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|