XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently May 10th, 2025, 6:45 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: July 29th, 2014, 2:45 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Guys I have a pnganimate object. It starts on mouse enter, but I need the script so with mouse leave will make the inverse movement.
Like a box that opens and closes..
I can't remember if I already use it in one of my widgets..
Thanks in advance!

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: July 30th, 2014, 1:22 pm 
Offline

Joined: October 26th, 2013, 8:17 am
Posts: 362
do you mean this way?
Code:
function pnganimate1OnMouseEnter(Sender)
{
  Sender.Inverse=0
  Sender.Play=1
}


function pnganimate1OnMouseLeave(Sender)
{
  Sender.Inverse=1
  Sender.Play=1
}


Top
 Profile  
 
PostPosted: July 30th, 2014, 3:31 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
I'll test it tomorrow but from what I see, should work ok!
Thanks :)

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group