PDA

View Full Version : Make element react with mouseover?



neuhaus3000
17 Jun 2013, 10:53 AM
Hello All,

I am new to Sencha. I am pretty familiar with Flash AS2...

I want to know if it's possible to make a banner element react with a mouseover.
If so, is it possible to tell me how?

Also, is there someone available for a small job this week(paid)?

Kind Regards,

neuhaus3000 :D

miro.bojic
17 Jun 2013, 11:09 AM
Hi neuhaus3000,

Yes, this is easy to do with Animator. Take a look at the Banner demo (http://animator.sencha.com/demo/Banner/) where the animation of the banner changes on mouseover. You can take a look in the project files to see how its done, but in general all you need to do is to set Action -> mousever.

neuhaus3000
17 Jun 2013, 11:10 AM
Thank you for your quick response!

neuhaus3000 :D

neuhaus3000
17 Jun 2013, 12:40 PM
Can you tell me how to loop the banner at the end of the timeline? ;)

Thanks again!

neuhaus3000 :D

miro.bojic
17 Jun 2013, 1:25 PM
Select the object base (double click or click on the purple diamond in the object tree. In the object properties -> General -> Iterations you can tick the option for iterating animation infinitely.

See also here:

http://docs.sencha.com/animator/1.5/#!/guide/properties_all-section-general-base-

neuhaus3000
17 Jun 2013, 1:33 PM
Thanks again!

neuhaus3000 :D