Groups | Blog | Home
all groups > flash actionscript > july 2005 >

flash actionscript : an '&' in access database field stops info display in flash


John Doe
7/4/2005 12:00:00 AM
probably your ASP page is using VBScript in wich the & symbol is used as
concatenation operator.
if you can't change your DB content, then you'll need to replace the &
dinamically in the ASP page before proccesing the info and sending to
flash; take a look at Replace function

[quoted text, click to view]
absurd29
7/4/2005 12:00:00 AM
That's great - I'll check out the 'Replace' function as it's not going to be practical to change the db (an external admin person will be adding content eventually.)
absurd29
7/4/2005 1:21:03 PM
my flash application reads content from an access database, through an asp page
- if there are any '&'s in the database content, any content after that will
not display in flash. I changed them to 'and' to test and it works fine then.
How do I get it to read the '&' - any ideas? Thanks in advance.
(Excuse me if this isn't posted in right place - first time!)
Ole Frederiksen
7/4/2005 2:07:11 PM
It depends on how you import the content.

The following might work: Let your asp page convert any '&' to '&' This
means that you url-encode your text. For a try you can start by changing your &
to & in the database.

/Ole
AddThis Social Bookmark Button