Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 06-18-2001, 05:52 PM   #1
drliebs
Registered User
 
Join Date: Jun 2001
Location: Ohio
Posts: 43
Exclamation

I could really use a helping hand.

I am using a dynamic text field in flash to read from an asp file that is pulling data from an access database. All works well until the introduction of certian special characters such as double quotes or ampersand or greater than sign. I realize that this tells flash there is supposed to be some type of tag here and that certan specail characters will do this.

If I manually replace the special characters with the URL encoded version in the database it works fine. I could always prevent these characters from being entered in the database but this is supposed to be for a guestbook and people like to leave little symbols like <:-) or say things like You guys "rock". I don't want to limit the data going in because the guestbook also displays on an HTML page The URL encoding would confuse the hell out of people. Can you imagine a message like You guys &#34ROCK&#34 &#60&#45&#41

You get my point.

OK fine. All I need is a replace function to run in my asp code to find the instance of a special character and URL encode it. This can be Javascript or VB Script but I can't seem to make one work and I can't find one to use. Certainly everyone else using dynamic text from a database have the potential to run into this problem. If someone could write the solution and post it they would probably get a lot of kudos, they would certainly get a big THANK YOU from me. HELP!!!

Feel free to email me with suggestions
drliebs at sssnet .com
drliebs is offline   Reply With Quote
Old 07-02-2001, 07:38 PM   #2
drliebs
Registered User
 
Join Date: Jun 2001
Location: Ohio
Posts: 43
Angry SO no one knows?!?

I can't believe there hasn't been a single person to run into this problem. Nice
drliebs is offline   Reply With Quote
Old 07-03-2001, 01:54 AM   #3
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

since the function you're looking for is to be run in the asp page you're more likely to find an answer on an ASP forum. sorry but I can't help.
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse 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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
XML/ActionScript help pleeeeeeese....... witchking ActionScript 2.0 3 01-21-2005 06:42 AM
embedded dynamic text/ special characters andehlu ActionScript 1.0 (and below) 5 10-14-2004 10:24 PM
If anyone's bored, a custom class . . . retrotron ActionScript 1.0 (and below) 22 05-24-2003 10:01 PM
inserting special text characters davetowers Other Flash General Questions 1 04-02-2002 01:35 PM


All times are GMT. The time now is 06:51 AM.

///
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.