Hi, is it possible to display the output window's contents into a textField so it can be seen in the SWF?
Has anyone tried this?
Hi, is it possible to display the output window's contents into a textField so it can be seen in the SWF?
Has anyone tried this?
You'll need to implement a custom solution, basically every time you would call trace(), call a custom method that also put's it into your text field. If the implementation was static, it would be globally accessible.
There will be many implementations on the web that will get you most of the way there, just Google "Logging" "Logger" or something along those lines. I've got one on my site even. http://tyleregeto.com/code/logger/
There are a number of ways to do this. One method would be to use the logger Tyler mentioned. I am a big fan of XRay. It is easy to set up / use and is very, very powerful. Not only to get output, but also for realtime flash manipulation.
Define a singleton class called Logger.