PDA

View Full Version : Grrrr - so close... what am I doing?



samba_7
January 17th, 2004, 10:08 PM
I am so close...

I figured out that:

myText.html = true;
myText.htmlText = "<A HREF='javascript:window.open(&quot;fee_1.htm&quot;, &quot;fee&quot;, &quot;HEIGHT=200, WIDTH=200&quot;)'>PLease click here for Fees</A>"

This is the coding you need within the actionscript... in order to open up the new window. However (you can look at the attached file) When the new window opens correctly... the old window goes to a page that says 'OBJECT'...

This is driving me nuts...
Someone tell me the easy fix here...

Sam.

samba_7
January 17th, 2004, 10:10 PM
For some reason, the coding you see in the example above does not appear as I typed it... I used the ampersand and the QUOT... when you check out the Flash file you will understand.

Sam.

upuaut
January 18th, 2004, 04:22 AM
I fixed the smiley problem. I don't have an answer to your question however, sorry.

ScriptFlipper
January 18th, 2004, 09:24 AM
I think you're messing it up with the "

because...

//This will be wrong
myText.htmlText = "<FONT FACE="Arial">Text</FONT>";


and...

//This will be right
myText.htmlText = "<FONT FACE=\"Arial\">Text</FONT>";
// Notice the difference: \" instead of " inside two quotationmarks.