3 Replies Latest reply on Oct 11, 2011 10:47 AM by Harbs.

    Alert.show in ActionScript: Which value to pass as "Parent"

    mlavie Level 1

      For CS5 and ActionScript:


      When debugging my InDesign Extension, I occaionally get random exceptions thrown without an indication of where on the stack it was thrown. I suspect that this is being caused by Alert.show, and I further suspect that it is due to the value I pass for "parent", I have tried "this" and "Sprite(mx.core.Application.application)".




      Alert.show("Place Block succeeded","",Alert.OK, Sprite(mx.core.Application.application));


      What should I be using?