dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: The following error occured: ... nothing..?

  1. #1
    Señor Member Mavrisa's Avatar
    Join Date
    Oct 2005
    Location
    Canada
    Posts
    506

    The following error occured: ... nothing..?

    I'm trying to figure out a problem jsfl seems to be having (in actionscript), but it won't say what the problem is. I've narrowed the problematic code down to the following:

    Code:
    var fillObj:String = "fl.getDocumentDOM().getCustomStroke(\"toolbar\").shapeFill"
    
    //error occurs past this point:
    var nullOrNot:String = MMExecute(fillObj + " == null")
    if (nullOrNot == "true")
    {
    	return
    }
    When this runs and nullOrNot evaluates to "false", the if statement is skipped (the function continues as it should instead of hitting the return), but I get the following output:

    The following JavaScript error(s) occurred:

    And that's it. Any ideas?
    Thanks,
    Mavrisa
    Haikus are easy
    But sometimes they don't make sense
    Refrigerator

  2. #2

Tags for this Thread

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