Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 02-23-2006, 06:10 PM   #1
Registered User
Join Date: Sep 2004
Posts: 27
Default Triggering events from position in text area?

So I've got a text area. At design time I don't know how big it is and I don't know what text it contains, but I want to be able to trigger events when the user releases the mouse over certain words or parts of the text (these parts are declared when the text is loaded in so I don't know where they are initially)

What I initially thought might work would be creating links in the text and using those to trigger events in the text. Can I create Actionscript links or any other kind of event-triggering objects based purely on text or do I need a way to find the words when the text is rendered and put a button or movieclip there somehow. If it is the latter, any suggestions as to how I migght go about it?
Breakfast is offline   Reply With Quote
Old 02-23-2006, 08:19 PM   #2
Peak Studios Boulder, CO
Join Date: Mar 2002
Location: Boulder, CO
Posts: 214

i remeber trying to do this a few years ago and found a post where to do it at macromedia look for sending actions thru htmlText or something like that .

you might also do it with links that hold query strings. Or query strings and eventlisteners.
quincewyss is offline   Reply With Quote

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
calling a PDF file in Flash AudryLucy Projectors and CDs 20 12-30-2006 01:43 PM
Load text file into text area component Brandon Rohde ActionScript 2.0 3 12-01-2005 04:13 PM
search text area coolioman ActionScript 2.0 3 11-02-2005 03:03 AM
Text Area & Dynamic Text Tutorial-It Really Works!!!!! silver charm Components 0 08-24-2004 03:28 PM
How to mark a text field necessary area (for a button)(+) stas35 Simple Stuff (Newbies) 1 11-21-2002 11:55 AM

All times are GMT. The time now is 03:34 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.