Posted on 2009-04-29
Last Modified: 2012-05-06
I would like some help from anyone who is using Actions Script 3.0 with Flash (we are using CS3 at present)
The file "hidden object.fla" shows several "1120:Access of undefined property...." error, yet all instances have been named. If I make all six objects (bears) in question buttons instead of movie clips it all works.  What is the problem?
Question by:Dier02
    LVL 6

    Expert Comment

    Hi. We can't help without reading the codes. I guess you tried to attach the file. EE doesn't allow the upload FLA. You can rename it to .fla.jpg and try to attach again.
    LVL 8

    Accepted Solution

    undefined property indicates you have a variable that isn't initialised. Open up your bear object and remove any actionscript you find inside. Turn the instances back into movieclips and publish. From what you're saying this should now work.

    Now look at your actionscript and add it back in a bit at a time, publishing as you do. This will show up the problem code.

    As the previous comment suggests, a FLA would be more useful in terms of debugging it.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
    I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
    The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
    The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now