Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-07-2009, 04:21 AM   #1
Pkedpker
Registered User
 
Join Date: Nov 2009
Posts: 1
Default Having a problem

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
Pkedpker is offline   Reply With Quote
Old 11-07-2009, 01:13 PM   #2
wvxvw
Holosuit User
 
wvxvw's Avatar
 
Join Date: Oct 2006
Location: Tel Aviv
Posts: 4,301
Send a message via ICQ to wvxvw
Default

If inside doble quotes you have to use single quotes.
__________________
The .NET open source editor for Flash and web developers
*This would be my contribution to the project*
couchsurfing if you need it
wvxvw is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:49 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.