715 posts
  • Author had a File in an Envato Bundle
  • Most Wanted Bounty Winner
  • Sold between 50 000 and 100 000 dollars
  • Author had a Free File of the Month
  • Exclusive Author
  • Has been a member for 5-6 years
  • Beta Tester
+3 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
  • Bought between 1 and 9 items
  • Brazil
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
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
  • Author had a File in an Envato Bundle
  • Most Wanted Bounty Winner
  • Sold between 50 000 and 100 000 dollars
  • Author had a Free File of the Month
  • Exclusive Author
  • Has been a member for 5-6 years
  • Beta Tester
+3 more
majd_abdul says

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

563 posts
  • Bought between 1 and 9 items
  • Brazil
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
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