aharui commented on issue #755: Binding function is called after the static 
function in component
URL: https://github.com/apache/royale-asjs/issues/755#issuecomment-598008829
 
 
   I altered resolveStatus to :
   ```
   public static function resolveStatus(data:Object):String {
                        
                        var statu:int = XML(data).visualParams.statu;
                        
                        // Alert.show("Vparams : " + data.visualParams);
                        // Alert.show("statu:" + statu + " image:" + 
imageList.getItemAt(statu));
                        
                        return getStatuImage(statu) as String;
                }
   ```
   
   And the IMG tag properly got its URL
   
   ```
   <img class="Image" src="images/disableds.png" style="position: absolute;">
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to