This content has been marked as final. Show 4 replies
you're probably better off using MovieClipLoader and the onLoadInit event handler. That's the way I would do it.
But perhaps you can also do it easily by loading into a child clip of imagenesm if all your images are the same size. Try doing that and just using imagenesm as the positioning clip.
your the child clip is called container then have _root.imagenesm.container.loadMovie(".... etc
problem is our images has not the same size. just at maximun width 360 px and all have the same height (fixed in) 350px...
problem is centering the images considering they have different widths...
this thing you said using MovieClipLoader and the onLoadInit event handler... how would be the action using it? (sorry if seems too much asking for that)
i'm a designer helping programmer who does not speak english (and we are working together at this project), and i dont know how to explain how would it to be changed.. and if using it (the other event handler), would we have the chance so especify positioning? how would it look like?
and thank you a lot
it's ok if your images arent the same size, dont hard code the values, load the movies into an empty movie clip inside the movie clip you want... so if you have movieClip A, then load the images into movieClip B inside of A... then center B, using
A.B._x = -A.B._width/2;
A.B._y = -A.B._height/2;
and i would use the MovieClipLoader class also. It has good documentation. The onLoadInit is an event called from the movieClipLoader when it has been loaded and the first frame of actions has been done
thanks a lot:)
i'll get it in the programmer's hands and see if he can deal with that.. but it seams logic at first sight..
tell you latter and thanks once more..