• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

What does "Initializer for 'source': unrecognized compile-time directive" mean

Explorer ,
Jan 14, 2014 Jan 14, 2014

Copy link to clipboard

Copied

Hello I am currently making a splash page for an app I am making and when i put all the code to gether it says "Initializer for 'source': unrecognized compile-time directive" I am not sure what I am doing wrong.

Below is the code:

<fx:Declarations>

                    <s:SplashScreenImageSource

                                    source="@embed('assets/TheSolarSystemSplashPage.jpg')"/>

</fx:Declarations>

I am having trouble on the 3rd line.

Thanks for the help.

Views

470

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Jan 16, 2014 Jan 16, 2014

Copy link to clipboard

Copied

LATEST

as3 is case sensitive.

try

@embed -> @Embed

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines