-
1. Re: load external files
kglad Aug 19, 2013 6:52 AM (in response to Ron Colmen)adding a child (loader or otherwise) is going to affect the scale of the child and the position of the child. but you can't assign the exact size unless you do some intelligent scaling of the parent. for example:
after loading is complete:
gHolderF0.scaleX=300*loaderPrototype.width; // resize to 300x250
gHolderF0.scaleY=250*loaderPrototype.height;
but that really makes no sense. you may as well resize the loader directly:
loaderPrototype.width=300
loaderPrototype.height=250;
-
2. Re: load external files
Ned Murphy Aug 19, 2013 6:53 AM (in response to Ron Colmen)You cannot size an empty movieclip, so what do you mean when you say you created 15 300 x 250 sized movieclips? You also say the files they are loading are that same size, so your comment about needing them to be resized doesn't make sense.
You can most probably reduce the code to be more generic using bracket notation... something you should be familiar with from your AS2 adventures.
-
3. Re: load external files
Ron Colmen Aug 19, 2013 10:49 AM (in response to Ned Murphy)Thanks Kglad.
-
-



