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

  • Home
  • SEARCH
  • 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 7067713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:14:08+00:00 2026-05-28T05:14:08+00:00

I have a Flex 4.5.1 application which loads another swf file (as a module

  • 0

I have a Flex 4.5.1 application which loads another swf file (as a module which was written and compiled in Flex 3.2 SDK).

I get the illegal override error (see title) the moment the 3.2 swf file is loaded.

Is this even allowed or do modules loaded have to be compiled with the same version?

If so, can you please explain why?

  • 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-28T05:14:09+00:00Added an answer on May 28, 2026 at 5:14 am

    An IllegalOverride error happens when a class overrides a function from its parent incorrectly. An example of this would be if you extended the Sprite class and created this function:

    override public function addChild(value:Number):DisplayObject
    {
        ....
    }
    

    This is an illegal override because the method signature is not the same (it needs to accept a DisplayObject, not a Number).

    It is most likely the case that FlexModuleFactory changed between 3.2 and 4.5. If FlexModuleFactory is used in your parent SWF then its definition exists in the ApplicationDomain. If you load your child SWF into the same ApplicationDomain and that child SWF contains a class that extends FlexModuleFactory, then it will use the version from 4.5 that already exists in the ApplicationDomain rather than the 3.2 version that the child was compiled with.

    You might be able to get around this issue by loading your child SWF into a new ApplicationDomain, meaning that it will not share any of the Class definitions from the parent SWF.

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

Sidebar

Related Questions

I have a Flex application which references a separate MXML file as a template
We have a Flex 3 application of which the main .swf is running in
We have a Flex web application. I want to load the swf file in
We have a Flex application which has several 'pages' worth of content. Each time
I have a flex application which is configured with blazeds sever and i am
I have a Canvas in a Flex application which has items inside it that
I have a Flex application that calls a function which searches a large document
I have a flex application in which I have a TabNavigator with multiple tabs
I have flex application consisting of several modules which is configured using maven. I'm
I have a flex application which use DragManager. When I'm loading this application into

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.