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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:59:45+00:00 2026-06-05T16:59:45+00:00

I have looked at questions like this , this , this and this ,

  • 0

I have looked at questions like this, this, this and this, but none of these seem to describe my problem?

I am declaring these variables:

<fx:Script>
    <![CDATA[
        import assets.Page;
        public var oneTwo:Page = new Page("...");
        public var oneThree:Page = new Page("...");
        protected var oneFour:Page = new Page("...");
        protected var oneFive:Page = new Page("...");
        protected var oneSix:Page = new Page("...");

… are referencing objects that do exist, and Flex is okay with the constructors of each of these items. Next, I try to set other properties of these objects:

        oneThree.next = oneFour;
        oneThree.prev = oneTwo;
        oneFour.next = oneFive;
        oneFour.prev = oneThree;
        oneFive.next = oneSix;
        oneFive.prev = oneFour;

etc. Now, when I click each of these, Flex highlights the variable in each instance, and recognizes all of them as valid during coding. But compilation gives:

-1120: Access of undefined property oneThree.
-1120: Access of undefined property oneFour.
-1120: Access of undefined property oneFour.
-1120: Access of undefined property oneFive.

and so on, one for each time each variable is used (so twelve times in the case here). You can see I made some public and some protected, this does not seem to make a difference.

  • 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-05T16:59:47+00:00Added an answer on June 5, 2026 at 4:59 pm

    [This][1] question led me to the solution.

    The variables in the second code block need to be edited within their own function, getting:

    <fx:Script>
        <![CDATA[
            import assets.Page;
            public var oneTwo:Page = new Page("...");
            public var oneThree:Page = new Page("...");
            protected var oneFour:Page = new Page("...");
            protected var oneFive:Page = new Page("...");
            protected var oneSix:Page = new Page("...");
    
            oneThree.next = oneFour;
            oneThree.prev = oneTwo;
            oneFour.next = oneFive;
            oneFour.prev = oneThree;
            oneFive.next = oneSix;
            oneFive.prev = oneFour;
        ]]>
    </fx:Script>
    

    instead of this:

    <fx:Script>
        <![CDATA[
            import assets.Page;
            public var oneTwo:Page = new Page("...");
            public var oneThree:Page = new Page("...");
            protected var oneFour:Page = new Page("...");
            protected var oneFive:Page = new Page("...");
            protected var oneSix:Page = new Page("...");
    
            protected function _init():void
            {
                oneThree.next = oneFour;
                oneThree.prev = oneTwo;
                oneFour.next = oneFive;
                oneFour.prev = oneThree;
                oneFive.next = oneSix;
                oneFive.prev = oneFour;
            }
        ]]>
    </fx:Script>
    

    that took care of the errors for me. Hope this helps someone else!!

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

Sidebar

Related Questions

I have looked for similar questions, but could find none other than the difference
I have looked at the different questions regarding this issue, but couldn't find anything
so i have looked at a couple other questions like this and from what
I think this should be simple. I have looked at similar questions here but
I've looked around and found a lot of questions about this, but none of
I have looked around SO for similar questions, but it seems that this has
Have looked quite hard for this answer but having no luck. I have 3
I have looked at a large number of similar questions and none of the
I looked at similar question on SO but none of them answer my problem.
I have looked everywhere and found millions of python proxy servers but none do

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.