Skip to main content
Participating Frequently
May 24, 2014
Question

Results of Input text box trace as HTML - please NOOOOOOOOO

  • May 24, 2014
  • 2 replies
  • 278 views

AT school we're using Flash CS5 to do some basic ActionScript 2.

Some students are finding when they insert an Input text box, that the results of that input  box trace as "rendered HTML". Pretty annoying when you're expecting a string or integer.


We've checked that the button to choose "render text as HTML" is not checked.

Is there a fix - we're now in Assignment mode, and I need to find a work-a-round for them. It doesn't have on every work station.

Paul

This topic has been closed for replies.

2 replies

basil01Author
Participating Frequently
May 25, 2014

We've selected "use device fonts" and ensured "auto kerning" is un-ticked.

kglad
Community Expert
Community Expert
May 25, 2014

i know of no way they could be seeing a html trace unless they're using trace(your_tf.htmlText) instead of trace(your_tf.text).

basil01Author
Participating Frequently
May 25, 2014

I've uploaded the file to my dropbox - Dropbox - Flash - hopefully permissions are correct.

On Scene 1, when one enters their name, it should be captures as a variable - myName = Paul.

Hopefully the problem will replicate for you.

kglad
Community Expert
Community Expert
May 25, 2014

make sure kerning is not enabled, too.