PDA

View Full Version : Quotes within quotes problem


gerbil killer
09-22-2006, 12:06 AM
This is a question on quotes.
This is my problem.....I have quotes within quotes, but Flash is giving me errors....How do I correct this problem.

var riyadhOneText:String = "The "Tigers of the Gulf," "People Movement for Change," and "Fighting Advocates for pets" claim responsibility. Petco authorities arrested and executed perpetrators.";

-r:confused:

oldnewbie
09-22-2006, 04:50 AM
Use single quote marks or escape the double quotes within.

http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=00000770.html