Hello,
I’ve just learned how to dynamically load jpgs into flash but now i’d like to animate them. move them left to right, change the alpha, etc.
does anyone know how to do this?
thank you!
Hello,
I’ve just learned how to dynamically load jpgs into flash but now i’d like to animate them. move them left to right, change the alpha, etc.
does anyone know how to do this?
thank you!
you would just load the JPGs into a blank MC and then tell the MC what to do… right?
Hi julia, you should take a look at the basic tutorials on this site. Here are some that might help.
hi!
thanks for your responses. sorry, i’m very (VERY) new to actionscripting. i know how to tween and basic animation…just not sure how to do it to dynamically loaded jpgs…
i copied this script somewhere:
_root.createEmptyMovieClip(“container”, 1);
container.loadMovie(“images/image1.jpg”);
container._x = container._y=0;
when i put this on my main timeline, i see my image loaded. when i try to put it into a separate mc (and then drag that mc onto the time line to tween it), nothing shows up…
thanks again!
When you place that code into a MC, you need to change _root to _parent or this. So you script would look something like this now.
_parent.createEmptyMovieClip("container", 1);
container.loadMovie("images/image1.jpg");
container._x = container._y=0;
hmm…for some reason, it’s still not working. i wonder what i’m doing wrong :-\
it’s usually helpful to post your .FLA so that we can all take a look at it and try to make helpful suggestions… could you attach it to your next post? i’d like to make sure you’re getting all the basics right before we make it overcomplicated
Hi there,
Thanks for your help. I actually found another way to do it:
http://www.flashkit.com/board/showthread.php?threadid=345121&highlight=dynamic+load+jpg
Not sure if this is the best or most efficient way to do this, but it will work for now! thanks for your help.
Julia
hey, glad you found a way. good luck
:: Copyright KIRUPA 2024 //--