Check out embedded assets:

http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=04_OO_Programming_161_08.html

Paul
  ----- Original Message ----- 
  From: Anzer 
  To: [email protected] 
  Sent: Wednesday, November 21, 2007 12:40 PM
  Subject: [flexcoders] icon path in ActionScript


  Hi,

  How can I set the icon of a VBox in ActionScript.

   

  myVbox.icon =  'assets/img_details.png'; 

   

  will give an error "Implicit coercion of a value of type String to an 
unrelated type Class."

   

  Please help

  Anz

   

Reply via email to