Skip navigation
Vahid Arjmand
Currently Being Moderated

trace not working when create air app in flash cs6

Jun 26, 2012 11:48 AM

Tags: #air #action_script_3 #cs6

hi

when i compile air app in flash cs6 , trace function dont workk and flash cs6 dispatch error with this title: test movie lunch failed, please help me

 
Replies
  • kglad
    72,189 posts
    Jul 21, 2002
    Currently Being Moderated
    Jun 26, 2012 12:14 PM   in reply to Vahid Arjmand

    save your work, close your open programs and restart flash and re-test.

     
    |
    Mark as:
  • kglad
    72,189 posts
    Jul 21, 2002
    Currently Being Moderated
    Jun 26, 2012 5:45 PM   in reply to Vahid Arjmand

    if that fails, re-boot your computer, restart flash and test.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 27, 2012 7:03 AM   in reply to Vahid Arjmand

    AIR uses the ADL (AIR Debug Launcher) to run the apps so it doesn't output anything to the output window until ADL closes and even then it doesn't use trace();

     

    If you want to see feedback as the app runs you need to use an app like Arthropod (http://arthropod.stopp.se) which outputs statements using Debug.log(); instead of trace();

     

    So have the Arthropod window open and change all your trace() statements to Debug.log() as in Debug.log("hello"); and the output will appear when you run the app.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points