Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6597653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:14:11+00:00 2026-05-25T18:14:11+00:00

Hi I have this error : Implicit coercion of a value of type X

  • 0

Hi
I have this error :

Implicit coercion of a value of type X to an unrelated type X

where X is the type of the object and yes it’s type X to an unrelated type X.
It appears 6 times in my project, in 3 differents .mxml file, in the script element. It’s in 3 files that I’m not editing and the file I has changing has no link with the 3 files with the errors.

Here a line of code with the problem.

var loadApplicationEvent:LoadApplicationEvent = new LoadApplicationEvent(application);

It was working perfect an when it was compiling and other file that I changed, it put me and error.

Bug from Flash Builder or Flex? Or not?
How can I get ride of it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T18:14:11+00:00Added an answer on May 25, 2026 at 6:14 pm

    I have recently started having this problem with FlashBuilder and here’s what I did.

    Starting with:

        protected var _foo:FooType;
    (X) public function get foo():FooType { return this._foo; }
    

    (where (X) is the error in the form Snote described it, with X = FooType)

    change to:

        protected var _foo:FooType;
        public function get foo():* { return this._foo; }
    

    and rebuild. The * type always passes type checking no matter what, so the error disappears.

    Then change it back:

        protected var _foo:FooType;
        public function get foo():FooType { return this._foo; }
    

    The error message then disappears, at least for a while.

    So far this technique seems to be reliable, if annoying.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I Have this error message : Possible unitended reference comparison; to get a value
I have this error when trying to generate the meta model with JOOQ: org.jooq.exception.DataAccessException:
I have this error message: Msg 8134, Level 16, State 1, Line 1 Divide
I have this error that is keeping me from moving forward. I basically have
I have this error message could not load assembly 'system.data.entity, version 4.2.0.0, culture=neutral,publickeytoken=b77a5c561934e089' or
I have this error when I am trying to read the file: Exception in
I have this error appearing in my web service and even though I'v had
I have this error NOTICE: UNDEFINED VARIABLE: LOGO IN C:\WAMP\WWW\SITE\TOOLS\SMARTY\SYSPLUGINS\SMARTY_INTERNAL_DATA.PHP ON LINE 291 CALL
I have this code and I couldn't run it because i get this error:
I install plugin open_id_authentication and have this error: /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta/lib/active_support/dependencies.rb:167:in `require': no such file to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.