tonelm54
asked on
Loader tween in flash
Im trying to make a flash document which allows me to dynamically load an image and then tween it across the screen, if I just load the loader on the screen then load the image it works fine, but as soon as I add the motion tween it doesnt work :-(
To load the image up dynamically I can use the code:-
ldrLoader.contentPath = "http://www.google.co.uk/intl/en_uk/images/logo.gif";
Ive upload the flash document to http://www.tonycross.me.uk/Loader.fla to kinda describe it better.
Any ideas?
To load the image up dynamically I can use the code:-
ldrLoader.contentPath = "http://www.google.co.uk/intl/en_uk/images/logo.gif";
Ive upload the flash document to http://www.tonycross.me.uk/Loader.fla to kinda describe it better.
Any ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
mc_tween also works nicely for this and give you lots of options.
You can get it here. I use it all the time.
http://hosted.zeh.com.br/mctween/
You can get it here. I use it all the time.
http://hosted.zeh.com.br/mctween/
don't forget to import the easing package so you are able to use Strong, Elastic, Bounce, Regular or whatever interpolation function classes you want.