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 7860451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:17:31+00:00 2026-06-02T22:17:31+00:00

I have a weird problem with Flex and Flash Builder 4.6 captive build. I’m

  • 0

I have a weird problem with Flex and Flash Builder 4.6 captive build.

I’m doing an Windows AIR App, and it all works fine, both as an AIR app and form the IDE. However when I make it into a Captive build, its like anything that references Capabilities, just doesn’t get compiled in.

No errors or anything. Thus all my window centre, docking functionality just doesn’t exist.

Even this line, in an attempt to debug, doesn’t fire

mx.controls.Alert.show(Capabilities.screenResolutionX.toString());

If I do an Alert.show(‘here’) on the same line, which is in the init function called from creationComplete it shows.

  • 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-06-02T22:17:33+00:00Added an answer on June 2, 2026 at 10:17 pm

    I worked out what is going on, however I don’t understand it. I’ll post this as the answer because it is the answer, but if someone wants to post the answer as why, I’ll gladly accept their answer.

    This is the first bit of code in the init method

    // Force Start Program on login.
    if (!Capabilities.isDebugger)
    {
        NativeApplication.nativeApplication.startAtLogin = true;
    }
    

    Nothing else after this code executes, which makes me think that its getting an error and dropping out of the method. If I remove this code, all is well again. But why?

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

Sidebar

Related Questions

I have a weird problem. On my development server all stuff works but on
I published my first app to the Android Market an have the weird problem,
I have really weird problem with colors in interface builder. I set a color
I have a weird problem on a website. Everything works OK when someone visits
I have a weird problem where, the first time you start the app, it
I have a weird problem with verticalScrollPosition in Flex. I have a content Canvas
I have this very strange problem on a big flex app where it would
I have a weird problem and I don't know where I am doing wrong.
I have a weird problem where after setting nocheck on a foreign constraint and
I have this weird problem with setting up cookies with PHP. Everything worked fine

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.