HOME ➔ SUPPORT ➔ Community ➔ General CourseLab issues ... Variables in methods
Variables in methods
  View type:
Hi! I need to set a specific position in a video using the variables.
On the event Onclick, I create a variable and then I insert a Method. I set the property currentPosition to the value of the variable, but it does not work.
If I use a number instead than a variable, the method works fine.
Is it possibile to set the currentPosition property using a variable?

Thanks
Sandro
 
Hi, Sandro!
Unfortunately variable/property substitution does not work here, because METHOD is quite special action - we do not know the method parameters until it will be selected, therefore we cannot do common substitution code for all methods. Perhaps we will find the solution in future releases, but now it does not work.
Subject:
Message options
No additional options