A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Error interpretation

  1. #1
    Member
    Join Date
    Nov 2008
    Posts
    52

    Error interpretation

    Hi guys!

    Can someone explain to me how to read a flash error? The bolded letters would be what I'm looking for.
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at text_fla::main_field_3/frame1()[text_fla.main_field_3::frame1:4
    Last edited by ThunderSoul97; 02-08-2010 at 03:02 AM.

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    The second line after the TypeError: Error # message will tell you the more precise location of the error. If it is a function it can be anywhere within this function. Using trace at different positions will tell you.
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Senior Member
    Join Date
    May 2004
    Posts
    226
    The error means the stage has an instance of the class "main_field" and its timeline is throwing an error in frame 1 at line 4.

    The "_3" is probably flash auto-naming the instance and probably just signifies that it is the third time a "main_field" has been created. If you have something in the library named main_field open it and look at frame 1 line 4.

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