Scripting Hover and Click

Wednesday, July 26, 2006 by JukEboXAuDiO | Discussion: DesktopX

Ok I am not to new to scripting but still i am learning. how do i script a tga file to do animate while mouse over and do something else on click. or even better animate while untouched and animate while mouseover and then react when clicked. How do i script it or is there an easier way with normal settings.
CerebroJD
Reply #1 Wednesday, July 26, 2006 3:20 PM
DesktopX has a built in 'filmstrip' animation ability. What this means is that if you create all the frames of your animation side-by-side in the same image file, then tell DesktopX how many there are, it can animate it for you.

Create a new object, then go to the 'States' tab in its Properties window. There will be an 'Animation' tab farther down. In that tab, you will see options for how many frames there are in the image, as well as the animation styles. Personally, I dont have alot of experience in using it beyond what I've just told you, but there may be others who know what they're doing.
SirSmiley
Reply #2 Wednesday, July 26, 2006 5:05 PM
Depending on what the animation is doing I'd say use the normal settings. Mouse over, Mouse down, etc.

I started out using normal settings but, at this stage I prefer scripting as it gives a lot more flexibility.

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01