Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-22-2005, 11:45 AM   #1
hangalot
lala
 
hangalot's Avatar
 
Join Date: Feb 2002
Location: on the road
Posts: 2,858
Default embed text tool

I have put together a set of commands to make the embedding of character ranges much easier and more reliable. Install the mxp file.

In your menu under the commands there will be two new options: getRangesFromSelection and embedRangesOfText.



Now when you have a movie and you wish to embed specific ranges of text in specific textfields you do the following.



Create a new dynamic textfield. Embed the ranges you wish in it. Select the new textfield and run the getRangesFromSelection command.

Something of the like “1|2|3” will print in your ouput panel. This is the ranges you selected to embed.

Then you run the embedRangesOfText command

There are two inputs here: ranges and filter. In the ranges field just paste the string that got output from before.



The filter field has 4 options. If you want to embed this range in all the fields in your movie leave it blank.

The other 3 options look like this

headline*

*headline

*headline*

(excuse the bold office weirdness)



headline* embeds the ranges in all the textfields where the instance name or variable name starts with the word headline

*headline embeds the ranges in all the textfields where the instance name or variable name ends with the word headline

*headline* embeds the ranges in all the textfields where the instance name or variable name contains the word headline



I hope that is a decent explanation
Attached Files
File Type: zip Embed text ranges.zip (3.3 KB, 322 views)
__________________
oi poloi
http://www.memorphic.com/news/
hangalot 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


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