4948 posts Community Mod Building awesome stuff for your mobile devices!
  • Trendsetter
  • Weekly Top Seller
  • Elite Author
  • Author Level 8
+17 more
Enabled
Moderator
says

Hey guys, I hit a brick wall with something.

How in God’s name do I a button to run these 2 functions ,

This one calls the box up
sbox_tween.onRelease = function() {
    box.tween("_y",Math.round(-40),2,"easeInOutExpo");

}
This one should put the box back in after doing the getURL request.
// Should put the box back where it was after finishing usage
<strong> SECOND FUNCTION CALL </strong>
sbox_btn.onRelease=function(){
         getURL(irelevant); 
         box.tween("_y",Math.round(+40),2,"easeInOutExpo");
}

Any help from someone who has encountered this ?

14 posts
  • 5 Years of Membership
  • Exclusive Author
indusporus
says

i don’t if you’ve found an answer for this question, but you can use the “onMOtionFinished” Event of Tween class to achieve what you’re trying to do: http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00003605.html

http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00003605.html

by
by
by
by
by
by