Need help finding a script Please
Thursday, September 14, 2006 by Murex | Discussion: DesktopX
Reply #2 Thursday, September 14, 2006 3:07 PM
Here is a copy of the script ... Looks to me like i entered it right
Thank you for your help...
'Called when the script is executed
Sub Object_OnMouseEnter
Object.KillTimer 2
Object.SetTimer 1, 1
End Sub
Sub Object_OnTimer1
'Stops the timer once the object has reached full opacity
If DesktopX.Object("icon Ie").Opacity => 100 Then
Object.KillTimer 1
Else
'Fades in the object
DesktopX.Object("icon Ie").Opacity = DesktopX.Object("icon Ie").Opacity +1
End If
End Sub
Sub Object_OnMouseLeave
Object.KillTimer 1
Object.SetTimer 2,1
End Sub
Sub Object_OnTimer2
'Stops the timer once the Object has disappeared
If DesktopX.Object("icon Ie").Opacity <= 0 Then
DesktopX.Object("icon Ie").Visible = False
Object.KillTimer 1
Else
'Fades out the Object
DesktopX.Object("icon Ie").Opacity = DesktopX.Object("icon Ie").Opacity - 1
End If
End Sub
Reply #3 Thursday, September 14, 2006 3:31 PM
Try this for Timer1
Sub Object_OnTimer1
'Stops the timer once the object has reached full opacity
If DesktopX.Object("icon Ie").Opacity => 1 Then
DesktopX.Object("icon Ie").Visible = True
ElseIf DesktopX.Object("icon Ie").Opacity => 100 Then
Object.KillTimer 1
Else
'Fades in the object
DesktopX.Object("icon Ie").Opacity = DesktopX.Object("icon Ie").Opacity +1
End If
End Sub
Try that
Reply #4 Thursday, September 14, 2006 3:34 PM
Reply #5 Thursday, September 14, 2006 4:13 PM
copy of script did i do someting wrong that i cant see?
'Called when the script is executed
Sub Object_OnMouseEnter
Object.KillTimer 2
Object.SetTimer 1, 1
End Sub
Sub Object_OnTimer1
'Stops the timer once the object has reached full opacity
If DesktopX.Object("icon Ie").Opacity => 1 Then
DesktopX.Object("icon Ie").Visible = True
ElseIf DesktopX.Object("icon Ie").Opacity => 100 Then
Object.KillTimer 1
Else
'Fades in the object
DesktopX.Object("icon Ie").Opacity = DesktopX.Object("icon Ie").Opacity +1
End If
End Sub
Sub Object_OnMouseLeave
Object.KillTimer 1
Object.SetTimer 2,1
End Sub
Sub Object_OnTimer2
'Stops the timer once the Object has disappeared
If DesktopX.Object("icon Ie").Opacity <= 0 Then
DesktopX.Object("icon Ie").Visible = False
Object.KillTimer 1
Else
'Fades out the Object
DesktopX.Object("icon Ie").Opacity = DesktopX.Object("icon Ie").Opacity - 1
End If
End Sub
Reply #6 Friday, September 15, 2006 4:14 AM
Sub Object_OnTimer1
'Stops the timer once the object has reached full opacity
DesktopX.Object("icon Ie").Visible = True
If DesktopX.Object("icon Ie").Opacity => 100 Then
Object.KillTimer 1
Else
'Fades in the object
DesktopX.Object("icon Ie").Opacity = DesktopX.Object("icon Ie").Opacity +1
End If
End Sub
Reply #8 Friday, September 15, 2006 6:21 AM
The script works great. Thank you so much for taking the time and effort to help me out. I will give you full credit for your script when i release my theme..
Thanks again Murex
Reply #9 Friday, September 15, 2006 6:25 AM
Can't wait to see the finished product 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!







Reply #1 Thursday, September 14, 2006 1:28 PM
'This script is in the object you mouse over...
Sub Object_OnMouseEnter
Object.KillTimer 2
Object.SetTimer 1, 1
End Sub
Sub Object_OnTimer1
'Stops the timer once the Object has reached full opacity
If DesktopX.Object("YourHiddenObject").Opacity => 100 Then
Object.KillTimer 1
Else
'Fades in the Object
DesktopX.Object("YourHiddenObject").Opacity = DesktopX.Object("YourHiddenObject").Opacity + 1
End If
End Sub
Sub Object_OnMouseLeave
Object.KillTimer 1
Object.SetTimer 2,1
End Sub
Sub Object_OnTimer2
'Stops the timer once the Object has disappeared
If DesktopX.Object("YourHiddenObject").Opacity <= 0 Then
DesktopX.Object("YourHiddenObject").Visible = False
Object.KillTimer 1
Else
'Fades out the Object
DesktopX.Object("YourHiddenObject").Opacity = DesktopX.Object("YourHiddenObject").Opacity - 1
End If
End Sub
Don't forget to remove the Sub Object_OnScriptEnter routine and the Sub Object_OnScriptExit routines