Skip navigation
Currently Being Moderated

Cannot embed image in flash builder 4.7

Jan 1, 2014 1:23 PM

Tags: #flash #builder #framework #starling #4.7 #actionscript3.0

I am building a game in flash 4.7, each time i try to embed an image an error occurs, it says that it cannot locate the source of the image, please what can i do to fix that problem?

  • Currently Being Moderated
    Jan 6, 2014 7:48 AM   in reply to 250891

    There is a disconnect between a pure actionscript project and a flex project.


    You need to supply an absolute path in pure actionscript.


    If you have an Assets class in say src/core and your assets folder is on the same level as src


    you need:




    Is real pain in the rectum, because in Flex [Embed(source="assets/sky.png")] will work

    Mark as:

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