Can you preload images in a dojo animation.
Posted
by asynchronous-challenged
on Stack Overflow
See other posts from Stack Overflow
or by asynchronous-challenged
Published on 2010-02-11T00:21:32Z
Indexed on
2010/03/23
2:01 UTC
Read the original article
Hit count: 314
I have a dojo animation object of about 15 images. I'm also using dojo.fx.chain to link them all together.
Right before I create all my dojo.fadeIn's and dojo.fadeOut's I added in some basic javascript to preload each image.
My question is: Am I doing this the hard way or is there some function/attr I can set in the animation object to do this?
© Stack Overflow or respective owner