Skip navigation
pinkno1fan
Currently Being Moderated

Flex Mobile Images

Nov 23, 2012 1:29 PM

Tags: #image #flex-mobile

Hi, I am unable to see my Images in the adobe flex mobile project. I am able to see the picture before load but once the program is run the image disappears? I have tried changing the picture. The source path and the source path in source code. I really do not see what the problem is the path must be correct because the picture would not appear. I also have tried embedding the picture which still does not work. Can anyone suggest any options for me please?

 

The image is Source I have tried: -

<s:Image id="pic" x="48" y="53" smooth="true" source="@Embed('Assets\cat.jpg')"/>

 

Also attempted: -

<s:Image id="pic" x="48" y="53" smooth="true" source="('Assets\cat.jpg')"/>

 

 

 

In design the source: -

Assets/cat.jpg

 

Also: -

@Embed('Assets\cat.jpg')

 

Can anyone please help me as I am really struggling to find a soloution.

 

The images are saved in the Assets folder

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points