A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: [CS3] Error #1010

Threaded View

  1. #7
    Flash/Flex Developer samac1068's Avatar
    Join Date
    Apr 2007
    Location
    Here, no there
    Posts
    1,813

    Better view

    private var shore_cable:MovieClip();

    But in a global area inside the class function. Basic the global area is any area NOT within a function

    Code:
    package {
    
        ///global area
    
        public class example {
    
           ///global area
    
            private function example2 {
                ///NOT GLOBAL
            }
        }
    }
    Last edited by samac1068; 12-18-2007 at 07:40 PM. Reason: Add Trimming to code package
    Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.

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