How to hide an object by script for a second?

DesktopX scripts.

Friday, January 31, 2014 by DArnaez | Discussion: DesktopX

Hi guys, this is the situation. I have an icon/object that when is clicked it launch a container with more icons. Now.. for the launching process I added an animation with 8 frames. So, (here it comes the problem) ... when the original icon is clicked you see the icons in the container and then the container running behind. I would like to add in the script of the icons inside the container something like "delay= 8... miliseconds?



Reply #1 Saturday, February 1, 2014 4:31 PM

I see that probably it could be done using the transparency properties... but I was thinking if through the script is more effective... but I'm not a programmer.

Reply #2 Sunday, February 2, 2014 12:10 AM

I was researching and learned that the script should be something like:

desktopx.Object("OBJECT_NAME").visible = True/False


But where or how I establish the time? I mean the animation have  5 frames running at 60 speed (60 miliseconds?)


Reply #3 Monday, February 3, 2014 11:53 AM

I think you would have to set the delay in the script for the group of icons in the container.  I think there are examples of timer scripts available.  RND have you seen this?

Reply #4 Tuesday, February 11, 2014 11:30 AM

RND? No... I've no idea about it. Thanks!

Reply #5 Tuesday, February 11, 2014 11:52 AM

RND = member RedNeckDude

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!