0
Declined

Error with binding image url to UI item\s state "Image" property

Эмиль Боев 7 jaar geleden in iRidium Script / Interface scripts bijgewerkt door Oksana (expert) 6 jaar geleden 8
If one will try to assign 2 images (from internet by url) to 2 different states of one UI item, there will be an error!

For example:

IR.GetPage("Page 1").GetItem("Test").GetState(1).Image = "http://some.site/second.jpg";
IR.GetPage("Page 1").GetItem("Test").GetState(0).Image = "http://some.site/first.jpg";


than both states (0 and 1) will be with "first.jpg" image.

If that one will try:

IR.GetPage("Page 1").GetItem("Test").GetState(0).Image = "http://some.site/first.jpg";
IR.GetPage("Page 1").GetItem("Test").GetState(1).Image = "http://some.site/second.jpg";


than both states (0 and 1) will be with "second.jpg" image.

Antwoord

Antwoord
Hello,

We researched your task, and it's not a bug. In current conception working of Dynamic Image, we didn't plan this functional.
Dynamic Images work with only one state of item now.
Yes, the problem occures with the Dynamic Images.
The problem added into a bug-tracking system and will be solved in the next versions
Waiting for user's reply
hi!

Thanks for information, the bug was reproduced. We will test and the bug will be fixed.

Best regrads, 
Smirnov Sergey
Antwoord
Hello,

We researched your task, and it's not a bug. In current conception working of Dynamic Image, we didn't plan this functional.
Dynamic Images work with only one state of item now.
So, please write in wiki about that in all details.
So, please write in wiki about that in all details.