3 Replies Latest reply on May 12, 2010 11:41 PM by BhaskerChari

    Converting asset image to Object

    samslo Level 1

      I have an image in my assets folder

       

      "./assets/image1.png"

      I need to convert it to type Object.

       

      I tried converting it to a class and using the class instead, but it's not working. Looks like it has to be an Object.  Can someone suggest a way to get that done?

      [Embed(source="./assets/image1.png")]
      private var imageOne:Class;