0
Отклонен
Error with binding image url to UI item\s state "Image" property
Эмиль Боев 10 лет назад
в iRidium Script / Interface scripts
•
обновлен Oksana (expert) 10 лет назад •
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.
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.
Ответ
Yes, the problem occures with the Dynamic Images.
The problem added into a bug-tracking system and will be solved in the next versions
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
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.
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.
Remark added in the end of article:
http://wiki2.iridiummobile.net/Creating_the_Graphic_Part_of_iRidium_Projects#Receiving_Video_from_IP_Cameras
http://wiki2.iridiummobile.net/Creating_the_Graphic_Part_of_iRidium_Projects#Receiving_Video_from_IP_Cameras
Сервис поддержки клиентов работает на платформе UserEcho
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.