A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Access of undefined property

Threaded View

  1. #7
    I just noticed u posted another AS3 Example fla.

    I edited the one in your first post.
    Commented things out that were causing errors.

    And basically got the dragging of the two components working.

    There were a lot of errors with _parent and _root still being used. In AS3 it's parent and root, without the _. And many times you have to cast these as MovieClips, or cast them as what they are on their highest level.

    Don't worry about that enterframe thing I mentioned earlier. I see that you are using the startDrag, and StopDrag methods.

    Anyways look over the commented code and see why it was causing errors and then look at the correct version.

    -Tariq
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center