A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: output window

  1. #1
    Some dude, says hi Ultra Pulse's Avatar
    Join Date
    Jun 2005
    Posts
    262

    output window

    Does Koolmoves have an output window like Flash does? From what I know, no, but I never actually used one before. Also am I right or wrong;
    the "trace" comands give text to the output window.

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    Wilbert did this some time ago --


    Place this on the first frame of your movie along with a dynamic textfield called "debug". Make sure the textfield is set to multi-line.

    _global.trace = function(stuff){
    _root.debug += stuff + "\n";
    };

    Then if you wanted to see the value of a variable called "myVar", do this:

    trace("myVar = " + myVar);


    If you export as flash 6 or higher, this will need to be modified because the object name is not the name of the variable.

  3. #3
    Some dude, says hi Ultra Pulse's Avatar
    Join Date
    Jun 2005
    Posts
    262
    I see, thanks, I'll try it out.

  4. #4
    Always needs help marinebro0306's Avatar
    Join Date
    Jul 2005
    Location
    Philadelphia
    Posts
    166
    So if you do that, when you want to trace something, whats the Actionscript?

  5. #5
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    It's not a true trace you are just sending stuff to a text box on the stage that you will later remove.... THis is sort of what I do.

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