PDA

View Full Version : Having a problem


Pkedpker
11-07-2009, 04:21 AM
I seem to get this error

Element type "mx:Text" must be followed by either attribute specifications, ">" or "/>".

for the following code

<mx:Text id="AccountUser" text="{getStringData(16) + ":"}"/>

I have no idea whats wrong

if i just do {getStringData(16)}

it's all good.. but when I do

text="{getStringData(16) + ":"}"

to add the semicolons it gives that error? how else can i do this

wvxvw
11-07-2009, 01:13 PM
If inside doble quotes you have to use single quotes.