Changing image "source" dynamically in runtime

Posted by ignatius on Stack Overflow See other posts from Stack Overflow or by ignatius
Published on 2010-03-12T20:10:50Z Indexed on 2010/03/12 21:37 UTC
Read the original article Hit count: 242

Filed under:
|
|

Hello,

i am trying to modify during runtime an image in my application, this image is located inside assets folder, so thats why i dissable -use-network=false flag, then i call something like this:

img.source="../assets/pict.png";

but it's not working. i know its a silly question but i am stuck here. any hint i appreciate.

Br

© Stack Overflow or respective owner

Related posts about flex

Related posts about image