The Ultrashock Ultra Bundle
  • Home
  • Community
  • Forum
  • Flash
  • Flash Newbie
  • Thread
  •  
  • Previous topic
  • Next topic
Sign up to post

Flash
 Flash Newbie

  • greebzilla Author 
    • 530 
    • 0 
    • 0 
    trying to strip formatting from input text field
    greebzilla

    No comments yet

    Be the first to comment

    Posted: Jun 28 2009, 05:49 PM

    by greebzilla

     

hello,

I am not sure if I can word this correctly:
I am using Flash CS3 (but using actionscript 2.0 due to some constraints).

I have a text input box called ‘chart_history’ which is a multiline input text field.
When I send it to either a url or use mailto to send an email message, I get a lot of extra information about the text such as:
<TEXTFORMAT LEADING=“2”><FONT FACE=“Arial” SIZE=“14” COLOR=”#000000” LETTERSPACING=“0” KERNING=“0”>asdf</FONT></TEXTFORMAT>

how do I strip this out?
for the properties for the input box, I made sure that the option for ‘Render text as HTML’ is unchecked (and I tested with this both checked and unchecked and both times I get this).

my line to send via email:
getURL(“mailto:”+to+”?subject=”+subject+”&body;=”+body);

(where body is chart_history + <other boxes>).

thank you for looking at this.

  0 REPLIES
 
  •   Log in or join for free to make a comment.
 
Topic actions
  •  Share on Facebook
  •  Share on Twitter
Topic Categories
  •  Show All Topics
  •  Development
    •  Server Side
    •  Client Side
  •  Creative Software
    •  Web
    •  Video
    •  3D
    •  Illustrator
    •  Photoshop Battles
    •  Photoshop
  •  Design
    •  Typography
    •  Resources & Insight
    •  Checkpoint
  •  Career
    •  Copyright Matters
    •  Advice & issues
    •  Job Seekers
    •  Job Offers
  •  Flash
    •  UltraMath
    •  OOP
    •  Third Party Tools
    •  Open Source alternatives
    •  Data Communication
    •  Components
    •  Flex
    •  AIR
    •  Flash Lite
    •  Flash Professional
    •  Flash Newbie
    •  ActionScript
    •  XML
  •  Lounge
    •  Polls
    •  Random Chat
    •  Showcase And Critique
    •  BombShock Award Nominations
  •  Community Essentials
    •  BombShock Award Winners
    •  Tutorials
    •  Interviews
    •  News
    •  Bitmap tutorials
Popular Topics
  • Sort by: 
  • Activity
  • Views
  • Comments
  • Likes
Advertise with us
  • Your advertisement here!
  • loading
Ultrashock
  • Creative Assets
  • Community
  • Blog
  1. Home
  2. Forum
+/-
Creative Assets
  • Categories
  • Contributors
  • How to buy
Make Money
  • Commission Rates
  • Referral Program
  • Contributor Program
Community
  • Activity Feed
  • Forum
  • Profiles
About
  • Quick Tour
  • Our History
  • Banners & Logos
Support
  • Contact Ultrashock
  • Advertise with us
  • Legal Information
  •  Keep up to date
  • Flash 775  Flash
  • Audio 6,481  Audio
  • Vector 2,130  Vectors
  • Image 12,338  Images
  • Creative Assets 21,724  Assets
  • Profiles 282,659  Members
  • Topics 93,762  Topics
  • Blog 4  Blog
  • Facebook 1,680  Facebook
  • Twitter 1,165  Twitter
  • Join our FREE monthly newsletter!
  • Archive
  • Invalid email address. Please try again.
Subscribe
  • ©2012 Ultrashock LLC - All rights reserved
  • Terms of Use
  • Privacy Policy
  • Switch to dark theme
  • RSS Feeds
  • Top

©2012 Ultrashock LLC - All rights reserved

Printed on Sat, February 04, 2012 - 20:17:25