I am trying to place the text content on an image loaded from assets:
<s:Image id="mainB" depth="1" height="100%" width="100%" source="assets/img/board.png"/>
simageid.width
simageid.height
When I try to get the width and height on mobile devices, it returns the image's rendered height on screen. On tablets, it doesn't return the rendered height. When placing the element dynamically based on height and width, it gets misplaced on tablets.
How can I consistently get the rendered height for the image across all mobile platforms?
I'm using Flex 4.6.0.
simageid
? It doesn't make any sense compared to the rest of your question. – Brian