Skip to main content
screeen
Inspiring
March 14, 2012
Question

how can i use my traced statements (that are outputted to the output panel in Flash) in a swf?

  • March 14, 2012
  • 1 reply
  • 370 views

Lets say i want to have a communication console for my game user, to communicate to them what is happeiong in terms of their game, particularly, anything that i have traced in my code? is it possible to have these traces output as dynamic text that opens up in another window, adjacent and smaller to the swf that has the game?

thanx:)

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
March 14, 2012

You could write a tracing function that accomplishes both tracing and writing the data to some textfield, though I don't think you can route the trace output anywhewre but the output panel.  For such a function you could pass it the information as an argument and have both a trace command and another to write it to a textfield.

As far as the separate window goes, if this is being developed as an AIR application, then it should be possible, but as a Flash file sitting in a browser, I don't think it is possible.