A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: scrolling images too big

  1. #1
    Member
    Join Date
    Apr 2002
    Posts
    52

    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

  2. #2
    Member
    Join Date
    Apr 2002
    Posts
    52
    ..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;

  3. #3
    Flashkit Veteran joejoe2288's Avatar
    Join Date
    Apr 2004
    Location
    Hickville, Oregon
    Posts
    2,554
    _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
    So tired of all the fighting....

    http://joejoe2288.kawanda.net

  4. #4
    Flashkit Veteran joejoe2288's Avatar
    Join Date
    Apr 2004
    Location
    Hickville, Oregon
    Posts
    2,554
    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
    So tired of all the fighting....

    http://joejoe2288.kawanda.net

  5. #5
    Member
    Join Date
    Apr 2002
    Posts
    52
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center