Problem with adding attributes
-
I have one problem.I choose Component attributes and choose onClick event.There i write
IF(X>5,animate(X,X,X-5),animate(X,X,X+5)).What mistake i have????
Thanks,Filip
-
I think you need to add quotes around the variable you want to animate, like this:
IF(X>5,animate("X",X,X-5),animate("X",X,X+5)) -
Thanks man but it doesn't work.I think i can find the problem.Where i have writed the function animate,should be writed a variable,but i dont want to change variable X,i want to call function animate,so X can be changed,but that would be like animation.
Thanks
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement