715 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Had an item featured in an Envato Bundle
+7 more
majd_abdul says

Hello all,

I’ve created an animation which I intend to use as a preloader. What I tried to do was stop on the timeline when the bird reaches the 1st flower, and wait for 25% of all assets to load. Then the bird moves to the 2nd flower and timeline stops until 50% of assets are loaded, and so on to 100% then the bird flies off screen.

I’ve made the animation so that the wings, head, and tail keep moving at all times even when I stop the timeline. Now I need to make the bird move on to the next flower according to a percent of totalBytes.

How? oh please tell me how? :(

563 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Located in Brazil
+2 more
LuizZak says

Can you please upload it at swfme.com or somewhere else? Rapidshare sucks :P

And you can try by adapting this script:

http://pastie.org/240152

715 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Had an item featured in an Envato Bundle
+7 more
majd_abdul says

Thanks Zak, I’ll try to use your code and see what happens :)

563 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Located in Brazil
+2 more
LuizZak says

oooooook :)

One more thing:

Put it on each one of the keyframes where the bird stops, and change the code for the given percentage :P

by
by
by
by
by
by