0
Отклонен

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

Эмиль Боев 7 лет назад в iRidium Script / Interface scripts обновлен Oksana (expert) 6 лет назад 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.

Ответ

Ответ
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
Ожидает ответа пользователя
hi!

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

Best regrads, 
Smirnov Sergey
Ответ
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.

Сервис поддержки клиентов работает на платформе UserEcho