erich.wanker Posted June 29, 2015 Share Posted June 29, 2015 i use TweenLite to animate the forms of my project .. in Form.ClientEvents.ExtEvebts -> Ext.form.Panel[form] -> form.show i have function form.show(sender, eOpts) { TweenLite.set(sender.getId(), {scale:0.5, rotationX:70, autoAlpha:0, y:-300, z:-500, transformPerspective:600, display:"block"}); TweenLite.to(sender.getId(), 0.25, {autoAlpha:1, scale:1, ease:Back.easeOut.config(1.5), delay:0.1}); TweenLite.to(sender.getId(), 0.4, {rotationX:0, y:0, z:0, ease:Back.easeOut.config(1), delay:0.15, clearProps:"transform"}); } but the script doe not work anymore ... i get no errors .. the <script src="files/js/TweenMax.min.js"></script> is loaded .. the TweenLite-function should be work .. but nothing happens ... Does anybody know what i must change to run the animated effect again? ThanX Quote Link to comment Share on other sites More sharing options...
bugra Posted June 29, 2015 Share Posted June 29, 2015 change sender.getId() to '#'+sender.getId()+'' and write your scripts in Ext.window.Window[window]->window.show You're welcome 1 Quote Link to comment Share on other sites More sharing options...
erich.wanker Posted June 29, 2015 Author Share Posted June 29, 2015 Works perfect :-) thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.