Source language: Translate to:

Mostrar u ocultar objetos no hace nada/ Show or hide objects

General questions about NeoAppBuilder - our rapid application development tool for building HTML5, web and mobile apps.

Moderator: Neosoft Support

Mostrar u ocultar objetos no hace nada/ Show or hide objects

Postby Palamar » Tue Feb 07, 2017 1:34 pm

Tengo por ejemplo este código y en Chrome, IE,+11, Firefox, etc no hace lo que debería o lo hace de forma errónea:
Code: Select all
ShowObject "Image1" "bounceInLeft" 80
Delay 1000
HideObject "Image1" "bounceOutDown" 50


Si el objeto está visible se llega a ver parte de la primera animación: bounceInLeft, no se respeta el tiempo y se ejecuta la segunda acción inmediatamente.
De tener el objeto invicible directamente aparece y nada sucede.
He probado algunas librerías JS como esta: https://github.com/miniMAC/magic y sucede prácticamente lo mismo, el primer efecto va bien, pero el segundo no lo realiza.
¿ideas?



I have for example this code and in Chrome, IE, + 11, Firefox, etc does not do what it should or does wrong:

Code: Select all
 ShowObject "Image1" "bounceInLeft" 80
Delay 1000
HideObject "Image1" "bounceOutDown" 50


If the object is visible you will see part of the first animation: bounceInLeft, the time is not respected and the second action is executed immediately.
To have the invincible object directly appears and nothing happens.
I have tried some JS libraries like this: https://github.com/miniMAC/magic and it happens pretty much the same, the first effect is fine, but the second does not.
Ideas?
Palamar
 
Posts: 157
Joined: Wed Apr 06, 2005 4:34 pm

Re: Mostrar u ocultar objetos no hace nada/ Show or hide obj

Postby luishp » Wed Feb 08, 2017 12:45 am

Si, utiliza Wait y EndWait que funcionan mucho mejor.
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
User avatar
luishp
 
Posts: 361
Joined: Wed May 23, 2007 10:17 am
Location: Spain

Re: Mostrar u ocultar objetos no hace nada/ Show or hide obj

Postby Palamar » Wed Feb 08, 2017 8:26 am

Gracias Luishp!, estaré probando...
Palamar
 
Posts: 157
Joined: Wed Apr 06, 2005 4:34 pm


Return to General NeoAppBuilder Discussion

Who is online

Users browsing this forum: No registered users and 2 guests