This is a very geeky technical post. If you are not a very geeky technical person, feel free to skip it. If you are a very geeky technical person, but you're too l33+ for Flash, also feel free to skip it.
Macromedia sez here:
To embed a JPEG or SWF file in a text field, specify the absolute or relative path to the JPEG or SWF file in the <img> tag's src attribute. For example, the following code inserts a JPEG file that's located in the same directory as the SWF file:
textField_txt.htmlText = "<p>Here's a picture from my last vacation:<img src='beach.jpg'>";
This thing I am doing exactly as written. However, a trace performed on textField_txt.htmlText immediately afterward reveals that it has the value:
<P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000">Here's a picture from my last vacation:</FONT></P>
And that the img tag has vanished completely.
Does anyone know what's happening here? My forehead will soon be bruised from being beaten against the desk.
Macromedia sez here:
To embed a JPEG or SWF file in a text field, specify the absolute or relative path to the JPEG or SWF file in the <img> tag's src attribute. For example, the following code inserts a JPEG file that's located in the same directory as the SWF file:
textField_txt.htmlText = "<p>Here's a picture from my last vacation:<img src='beach.jpg'>";
This thing I am doing exactly as written. However, a trace performed on textField_txt.htmlText immediately afterward reveals that it has the value:
<P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000">Here's a picture from my last vacation:</FONT></P>
And that the img tag has vanished completely.
Does anyone know what's happening here? My forehead will soon be bruised from being beaten against the desk.
From:
no subject
From:
no subject
From:
no subject
From:
no subject
From:
no subject
From:
no subject
Sorry, I'm only a half-and-half webdev these days, and my codemonkey skills are getting mighty rusty from years of disuse... but it's a theory.
From:
no subject
From:
no subject
From:
no subject
From:
no subject
Of course, now, at this point, I can be of absolutely zero further help, cuz I don't know nothing 'bout no Flash in no textfields... Good luck.
From:
no subject
This does not help you in any way, but I still want you to know it. :o)
*Nyom* *nyom* *nyom*!
From:
no subject
From:
no subject
As it was, we chomped away and complained about bugs in different MM products instead. :o) But I do think they're a fantastically customer-focused company, and hope this don't change once they've become "Macrobe"...
From:
no subject
So to quote them: "It's a bug"...
From:
no subject
their <img> disappearing as well
aka "LJ ate my tags"...
From:
no subject
From:
no subject