-
scrolling images too big
hia
i'm trying to have bunch of images with animated buttons scrolling.
All the tutorials i've found involve placing the bunch of images next to eachother lined up and ready on stage.
My problem is my bunch of images are too many and too big (which is very necesary).
Is it posible to load them externally.
cheers
-
..ok so i figured i should just scale the bunch of images down in the scrolling.swf, and then load the scrolling.swf in a layout.swf and scale it up.
But when i do this my entire layout.swf stretches too.
Can someone tell me how to just scale the loaded swf.
_root.createEmptyMovieClip("container",10);
_root.container._visible = false;
_root.container.loadMovie("clothing.swf");
_root.container._xscale = _yscale = 200;
_root.container._visible = true;
-
Flashkit Veteran
_root.container._xscale = _yscale = 200;
what is that all about
i dunno what you are trying to do but that alone could mess it up do this instead, why did you make it visible and then flase and why didn't you put it in the clipevent handler
code:
onClipEvent(load) {
_root.createEmptyMovieClip("container",10);
_root.container.loadMovie("clothing.swf");
_root.container._xscale = 200;
_root.container._xscale = _root.container._yscale;
_root.container._visible = true;
}
you also might want put a preloader in the swf you are loading if it is a big file
-
Flashkit Veteran
well i just looked at teh action scripting i changed and it doesn't look liek it would work try this
iaskwhy describes good how to do something liek this i have a different way but it is more complicated, so here
http://www.flashbax.com/loadmovienum.htm
or go here and look at the various other tutorials
http://www.flashbax.com
-
hey thanks loads for your help m8.
i kinda combined your script and mine, and it works
_root.createEmptyMovieClip("container",10);
_root.container.loadMovie("clothing.swf");
_root.container._xscale = _root.container._yscale =200;
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
|