Is there some near eqivalent to the field lingo 'the mouseLine' for
text members?
Only yesterday I discovered there's something better. You can say
spriteref.pointToLine(point), as well as char, item, word, and
paragraph. It's awesome.
[To remove yourself from this list, or
Is there some near eqivalent to the field lingo 'the mouseLine' for text
members?
roymeo
---
Roy Crisman
Macromedia Director Programmer, Lingo Guru, Multimedia Producer
Greater Rochester Macromedia User Group (GRMMUG.org) Coordinator
277 N. Goodman St.
Rochester, NY 14607-116
#x27;d write it off as a DirectOS anomaly, except it shows up that way in
the debugger, too, before I ever pass it to dosMessageBox, when I hover
the mouse over the string to get the rollover text.
It displays correctly in an alert box, and of course the alert box
doesn't have the icon the dos
12:17 PM
To: [EMAIL PROTECTED]
Subject: Text question
In a editable text member, can you edit the format on a word or words
while the movie is playing? So, in the statement (Hello, World) changing
the word Hello to a different color and font size.
[To remove yourself from this list, or to
You have to do this "manually," through lingo. E.g., if you put a button on the stage
that says "Italics," this would be the button's script:
on mouseUp me
locFocusMember = sprite(the keyboardFocusSprite).member
if locFocusMember.type <> #text then
Yes, but it usually results in quite a performance hit.
-Jeremy Aker
On Jun 28, 2004, at 1:16 PM, Matt Wells wrote:
In a editable text member, can you edit the format on a word or words
while the movie is playing? So, in the statement (Hello, World)
changing
the word Hello to a different color
In a editable text member, can you edit the format on a word or words
while the movie is playing? So, in the statement (Hello, World) changing
the word Hello to a different color and font size.
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo
This link may help out a bit...
<http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary635.html>
"Selection class
Availability
Flash Player 5.
Description
The Selection class lets you set and control the text field in which the
inserti
Ok so if replaceSel(text) will replace the selection that is selected
then is there a way to get what is selected?
So I select Matt form the sentence below:
Hello my name is Matt?
I need to get Matt and add the tags to get Matt
-Original Message-
From: [EMAIL PROTECTED]
[mailto
On 16/6/04 8:00 pm, "Matt Wells" <[EMAIL PROTECTED]> wrote:
> I want to read a couple of paragraphs from a database. (So this project
> would be a shockwave project.) Into a editable text field. What I need
> to do is highlight a specified word(s) in the text field and in
Not to say you shouldn't use Director, but is shockwave -may- not be the
best tool for the job...if all you are looking for is text handling of
input selection, flash can definitely do that.
First Question:
Have you tried using the custom text formatterstuff and the Selection
class in flas
Hello,
Tried this in flash and it doesn't have the capabilities. :(
Can anyone tell me if this posibal in shockwave/director?
I want to read a couple of paragraphs from a database. (So this project
would be a shockwave project.) Into a editable text field. What I need
to do is highli
There is for a field member, check out the "Field" tab in the property
inspector when you have a field member open or selected. You can not do
this for a text member, you'll have to use a shape or bitmap to
simulate a border.
-Jeremy Aker
On Apr 1, 2004, at 3:22 PM, Kerry Thom
At 3:22 PM -0500 4/1/04, you wrote:
Is there a property of a text field that I can set to have a 1-pixel
frame drawn around it?
nope
Or should I just do it with a shape?
that's the workaround
Cordially,
Kerry Thompson
[To remove yourself from this list, or to change to digest mode, g
Hi Kerry,
Field members have a border property, but text members don't.
Regards,
Daniel
On Apr 1, 2004, at 2:22 PM, Kerry Thompson wrote:
Is there a property of a text field that I can set to have a 1-pixel
frame drawn around it? Or should I just do it with a shape?
[To remove yourself
Is there a property of a text field that I can set to have a 1-pixel
frame drawn around it? Or should I just do it with a shape?
Cordially,
Kerry Thompson
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list
On Wednesday, Mar 24, 2004, at 20:06 Europe/Stockholm, roymeo wrote:
I have some text moving horizontally.
It appears above an image that has a variable blend value.
I want to mask the text, so it only appears over the 'background' area
of the image, and not the 'foreground
I have some text moving horizontally.
It appears above an image that has a variable blend value.
I want to mask the text, so it only appears over the 'background' area of
the image, and not the 'foreground' part of the image.
How do I set up some sort of mask that can bl
On 22/3/04 at 15:39, Rik Green <[EMAIL PROTECTED]>
wrote:
> Does anyone have any ideas why a rtsp streamed QuickTime no
> longer displays it's enabled text track? When the same
> QuickTime is played via a http progressive download, it
> displays OK!? When I view movie pro
Hi,
Does anyone have any ideas why a rtsp streamed QuickTime no longer displays
it's enabled text track? When the same QuickTime is played via a http
progressive download, it displays OK!? When I view movie properties and look
at the format of the streaming track, it displays the media ty
I've found this handler in my "code repository", mabe it helps.
valentin
---
-- returns hardwrapped text of given field or text member
---
on hardWrap m
s=&qu
At 11:43 Uhr -0500 16.03.2004, roymeo wrote:
>Is there a way to detect via Lingo whether a line of text has wrapped?
you mean something like:
if theLine > 1 then first = textmember.line[1 .. (theLine - 1)].char.count + 2
else first = 1
last = textmember.line[theLine].char.count + first -
Yes! Thank you.
I'm importing .rtf text, so I don't have to deal with the text
formatting. But there are of course some weird things that don't translate
directly from the .rtf file to Directorand separating that header line
by adding a return after the wrap means that th
probably a couple of ways.
1). look at the position of the last character of the line and compare that
to the position of the first character using charPosToLoc or something like
that. If the last character has a different locV then its wrapped down at
least one line.
2). put the text in the
Is there a way to detect via Lingo whether a line of text has wrapped?
Charpostoloc will tell you. If the Y coordinate of the first
character of the line is not the same as the Y coordinate of the last
character, then it wrapped.
[To remove yourself from this list, or to change to digest mode
On Mar 16, 2004, at 10:43 AM, roymeo wrote:
Is there a way to detect via Lingo whether a line of text has wrapped?
In a #field I believe you can do a count of the number of lines vs. the
number of returns. It might be more kinky with #text.
Warren Ockrassa | President, nightwares LLC [EMAIL
Is there a way to detect via Lingo whether a line of text has wrapped?
roymeo
-
roymeo(AT)brokenoffcarantenna.com
-
Flash MX Professional 2004 - Now Without Manuals!
[To remove yourself from this list, or to change to digest mode
> I'm working on a Mac and I have a movie that contains text
> castmember,
> these texts are using accents (French), and I use to copy and paste
> these texts from a document word into Director, after that I
> change the
> parameter of the text in "Other ink&q
Hello!
I'm working on a Mac and I have a movie that contains text castmember,
these texts are using accents (French), and I use to copy and paste
these texts from a document word into Director, after that I change the
parameter of the text in "Other ink" and a check the box &quo
> You know nothing about cards, do you?
Not much, actually. I know more about skiing.
Cordially,
Kerry Thompson
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL
PROTECTED] (Problems, email
I spent Tuesday and Thursday beating myself into the ground on the black
diamonds.
You know nothing about cards, do you? Diamonds are red. Perhaps you
meant digging yourself into the ground, with black spades.
[To remove yourself from this list, or to change to digest mode, go to http://www.pen
> Long week Kerry?
Hey, be nice ;-)
I spent Tuesday and Thursday beating myself into the ground on the black
diamonds.
Cordially,
Kerry Thompson
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EM
On Feb 27, 2004, at 3:13 PM, Kerry Thompson wrote:
Have you:
tried different channels?
re-created the member?
re-booted?
Ok, got it. It was a DPE (Dumb Programmer Error).
I was looking at the wrong sprite. That cast member is used someplace
else, and the locZ was being set to the lastChannel.
Lon
> Have you:
> tried different channels?
> re-created the member?
> re-booted?
Ok, got it. It was a DPE (Dumb Programmer Error).
I was looking at the wrong sprite. That cast member is used someplace
else, and the locZ was being set to the lastChannel.
Cordially,
Kerry Thompson
[To remove yours
> What are the anti-aliasing settings on the ones that don't bleed?
Aha! The one that isn't bleeding through has an anti-aliasing threshold
of 0, and the one that is bleeding through is 14. Antialiasing is set to
true on both. Hold on...
Nope. Changed them both to 0, then both to 14. No joy.
Cor
> What's the "ink" of the sprite in channel 150?
It's copy (0). The text sprite's ink is background transparent (36).
The ink on the text sprite that's _not_ bleeding through is also
background transparent.
Strange.
Cordially,
Kerry Thompson
[To remove your
I have a text sprite that is bleeding through some sprites in higher
channels, and I can't figure out how to stop it.
Band Aid?
What are the anti-aliasing settings on the ones that don't bleed?
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks
What's the "ink" of the sprite in channel 150?
Irv
At 12:28 PM -0500 2/27/04, Kerry Thompson wrote:
I have a text sprite that is bleeding through some sprites in higher
channels, and I can't figure out how to stop it.
The text sprite is being set up dynamically at run ti
I have a text sprite that is bleeding through some sprites in higher
channels, and I can't figure out how to stop it.
The text sprite is being set up dynamically at run time. The member's
dts property is set to false.
When I bring up a sprite over it, though, the text still shows th
> Why not take that background existing image and make it a backdrop in your
3D world?
good idea, very good idea indeed !!!
Thanks a lot, this really helped!
Michael
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to
> However: I expected my animation to render significantly
> faster with the renderstyle set to #wire. This seems not
> to be the case. I would like the wireframe superimposed
> over an existing image, that's why I can't use
> directToStage with the 3D text member.
>
> Just set the shader's renderStyle property to #wire:
> member("text").shader[1].renderStyle = #wire
Thanks Tom! Works great.
However: I expected my animation to render significantly faster with the
renderstyle set to #wire. This seems not to be the case. I would like the
w
Michael,
> Here's a simple question for the 3D experts of you:
>
> Is there a way to display a text member in 3D mode as a wireframe?
>
> I didn't find anything on this in the docs ...
Just set the shader's renderStyle property to #wire:
member("text&q
Hi List!
Here's a simple question for the 3D experts of you:
Is there a way to display a text member in 3D mode as a wireframe?
I didn't find anything on this in the docs ...
Thanks in advance
Michael
[To remove yourself from this list, or to change to digest mode, g
Hi Mathew,
Your suggestions are most welcome. I had figure out
one solution for it using v12 dbe and its quite
satisfactory.
Thanks for Help.
Biju.
__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
[To remove yourself fr
in
> the form of a full text search like the one in google
> etc. Such that the use can key in any word and see the
> pages containg that word in a scroll box. Once a
> highlighted word is clicked, it should fetch to the
> frame in flash containing that word.
>
> Should I use V
biju george wrote:
Hi,
I have an swf file with 11,758 frames. Its actually an
e-book. I want to add a search facility in director in
the form of a full text search like the one in google
etc. Such that the use can key in any word and see the
pages containg that word in a scroll box. Once a
Hi,
I have an swf file with 11,758 frames. Its actually an
e-book. I want to add a search facility in director in
the form of a full text search like the one in google
etc. Such that the use can key in any word and see the
pages containg that word in a scroll box. Once a
highlighted word is
itor itself
is providing you with the extra graf and bullet widgets.
That is, if you want to make a bulleted list in something like BBEdit,
you have to enter the HTML items yourself to make it happen.
I was only talking about editing text in authoring--I'm writing a long
Help text where I need
In Mac OS it is Option + 8
On Dec 9, 2003, at 12:16 PM, Slava Paperno wrote:
I know this line of lingo will create a bulleted list in the text
member:
member(1).html = "" & "onetwo" &
""
But does someone know how to *type* a bulleted list in Dir MX'
know this line of lingo will create a bulleted list in the text
member:
member(1).html = "" & "onetwo" &
""
But does someone know how to *type* a bulleted list in Dir MX's text
editor?
On Mac you can do option-8 to get a bull char: •
There's an
ne is
automatically bulletted and indented. You can even do this for multilevel
lists. This proves that the Dir text editor can do it--but it's very
awkward to have to start each of your bulletted lists by monkeying with
html, and it seems odd that with the Dir text editor being capable of this
On Dec 9, 2003, at 11:16 AM, Slava Paperno wrote:
I know this line of lingo will create a bulleted list in the text
member:
member(1).html = "" & "onetwo" &
""
But does someone know how to *type* a bulleted list in Dir MX's text
editor?
On
I know this line of lingo will create a bulleted list in the text member:
member(1).html = "" & "onetwo" & ""
But does someone know how to *type* a bulleted list in Dir MX's text editor?
Thanks,
Slava
[To remove yourself from this li
Thank you for your suggestions...
As I work with MX on Panther, I thought it was the reason !
News, in projector mode:
If I save the bad text, using FileIO, and re-import it, I retrieve the
whole text, intact.
If I copy it and paste it in Word or TextEdit, no problem: No more
white area, the
Charlie Fiskeaux II wrote:
I've experienced similar things in the script window with DirMX/WinXP.
With long movie scripts, sometimes lines will white out and come back
later. It's usually not too big of a deal, but one time it kept doing
the same thing over and over again; it would crash Direc
than
Director's...at least in terms of communicating between them.
Also, you can let the flash text field reference a variable name -
rather than trying to target myTextField.text, try setting myTextVar
that is associated with the dynamic text field...
Functions are also a great way to go. I
d
try the same thing again and it would crash again. I eventually had to
edit the script differently (write parts of the script in a different
order) to get it to not crash.
jean-louis valero wrote:
hello list
In a rich text editable cast member, after about 3000 typed words, a
great amount o
if i am not mistaken i once expwerienced that with long text. i don´t
remember the amount of word but it was LONG. What happened was similar to
what you describe. the only way i had to fix it was start with another
director movie from scratch and work it from there. Anyway in authoring the
problem
hello list
In a rich text editable cast member, after about 3000 typed words, a
great amount of the text suddenly
disappears in the middle of the whole text.
In place of the vanished text the user can see only a white area.
If you type return at the beginning of that white sector, the text is
Just wanted to point out
_global.fModule = new Object();
fModule.movieTime = mov_timer;
fModule.movieTitle = mov_title;
fModule.movieDuration = mov_duration;
fModule.setMovieTime = function(theText){fModule.movieTime.text = theText;}
Pmod = sprite(1).getVariable("fModule", false)
pMod.se
On 12/2/03 3:42 PM, "Mendelsohn, Michael" <[EMAIL PROTECTED]>
spewed forth:
>
> Sounds fairly similar to what I'm doing right now. Can you see the text
> prop in the object inspector?
>
> - MM
I've been able to set text from director to flash, but I
On 12/2/03 3:37 PM, "Charlie Fiskeaux II" <[EMAIL PROTECTED]> spewed
forth:
> Try just referencing the texBox itself:
> _root.textBox.text
The problem is director sees named objects as movieclips, so it ceases to be
a textbox with a 'text' property, and instead be
Try just referencing the texBox itself:
_root.textBox.text
grimmwerks wrote:
So I'm trying to do a sort of flash/director interface module.
In flash, I'm creating a global object (_global.fModule) that I'm going to
use as a direct hook to the flash bits.
I've got a text bo
Hmmm...
Sounds fairly similar to what I'm doing right now. Can you see the text
prop in the object inspector?
- MM
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL
PROTECTED] (Pro
So I'm trying to do a sort of flash/director interface module.
In flash, I'm creating a global object (_global.fModule) that I'm going to
use as a direct hook to the flash bits.
I've got a text box on the flash stage I've named as textBox.
I then did fModule.title = t
> My question still remains: what's a good way to highlight a
> chunk of text in a text member
Just a quick idea but have you considered using a QuickDraw shape (drawn
from the tool palette) behind your text display as a highlight mechanism?
You could hide the QD sprite (or sprites)
If you had to, you can work out the coordinates of the text you want
to highlight, and set the rect of a shape sprite to sit on top of
that text, with it set to Darkest ink.
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post
My question still remains: what's a good way to highlight a chunk of text
in a text member, other than by color or font size? I can't use color
because hyperlinks don't allow a color change and I want to keep
useHyperText as true. I don't want to use font size because
Thanks, Jeff--I don't know why it didn't occur to me that selection is a
great highlighting device in a text member. I'll take your cue and write it
off as a Friday night slowdown. S.
At 06:36 PM 11/21/03 -0800, you wrote:
>The following statement sets the selection
>
Please remember to check the manual or online help, before inquiring here. However, I
will take pity on you, since the documentation does seem less than ideal in the areas
of #text and #field members (and what the hell, it's Friday night and I apparently
have no life). ;)
Here is a
Many thanks to those who responded to my question about scrolling a certain
word into view in a text member. Member.charPosToLoc() and of course
Member.scrollTop is what I needed.
Now a related question: what's the best way to highlight a chunk of text in
a text member? Color doesn'
Dear Director Folk,
On Monday I finally got around to looking into PDF export.
I am now posting a PDF export parent script that exports
vectorShapes and text to PDF.
Features:
-outputs a PDF 1.1 file if transparency is not used, a PDF
1.4 file transparency is used
-horizontal justification of
> Hi all,
>
> Here's my question. Currently I am working on a project, where the client
> wants to have external text files loaded into flash together with
pictures,
> and then put into director 8. I've tried, but it
> doesn't seem to work. Does anyone had experi
Hi,
I've been doing something similar except I load the variables from a text
file in Director and then send those to flash, and then back again for
saving.
I found the most convenient way to work with push / pulling of text from
a flash sprite was using flash's variable conta
Hi all,
Here's my question. Currently I am working on a project, where the client
wants to have external text files loaded into flash together with pictures,
and then put into director 8. I've tried, but it
doesn't seem to work. Does anyone had experience with a similar task?
Thank you, Thomas. That kind of acknowledgement is greatly appreciated.
- Michael M.
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL
PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L
> If MACR is listening, that would be a nice bug fix for Director MX 2016.
We've been trying to get Macromedia to standardize dot-syntax usage for at
least three versions. Buzz and I even went to the effort of preparing a list
of missing/inconsistent dot syntax for them. I feel like I was saying
While I'm doing my to actually respond to every bug submitted via
the form I can't guarantee a reply
I'm hoping it was the word 'best' that you missed out.
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, ema
All,
> > You still have to use "old" lingo for #field member chunk operations.
> > Try this: put the foreColor of line 1 of member("theContent")
> >
> > Why?
> > Good question...
>
> Aah. Thank you, Bertil.
>
> If MACR is listening, that would be a nice bug fix for
> Director M
Aah. Thank you, Bertil.
If MACR is listening, that would be a nice bug fix for Director MX 2016.
You still have to use "old" lingo for #field member chunk operations.
Try this: put the foreColor of line 1 of member("theContent")
Why?
Good question...
[To remove yourself fro
to two lines is damn diffic
--
- Original Message -
From: "Mendelsohn, Michael" <[EMAIL PROTECTED]>
> Hi all...
>
> Is it possible to format individual lines of text in a field via lingo?
>
> Right now, these are my results:
Hi all...
Is it possible to format individual lines of text in a field via lingo?
Right now, these are my results:
put member("theContent").forecolor
-- 255
put member("theContent").line[4].forecolor
-- alerts script error: property not found.
It seems to me that if you can
This *should* work, but it doesn't quite.
It captures one character before the visible selection.
If you select the first word, the selStart is 0, and all the text of the field is
returned.
So you have to add 1 to the selStart:
member(x).char[(the selStart +1)..(the selEnd)]
I can'
ember 11, 2003 7:37 PM
Subject: return hilited text in a field
>
> Hello,
>
> I have a question that I can't seem to find any answers to maybe you all
> can me help out.
>
> When a user hilites any set of char in field how can I return which set
> of chars are hilit
Hello,
I have a question that I can't seem to find any answers to maybe you all
can me help out.
When a user hilites any set of char in field how can I return which set
of chars are hilited.
Thanks for the help.
Matt,
[To remove yourself from this list, or to change to digest mode, go to
http
At 1:02 PM -0700 9/6/03, you wrote:
Glad I could help. :)
IIRC, those application event handlers arrived with Dir 8.
actually they came in d702
At 1909 +0200 09/06/2003, jean-louis valero wrote:
...
thank you very much, Jeff Gomes , it is the solution on the Mac too
and with miaw !
( I never saw
Glad I could help. :)
IIRC, those application event handlers arrived with Dir 8.
At 1909 +0200 09/06/2003, jean-louis valero wrote:
>>...
>thank you very much, Jeff Gomes , it is the solution on the Mac too and with miaw !
>( I never saw before these functions, activateApplication & deactivateAp
How to avoid the unexpected selection of a text member after we click
on the stage previously in the background ?
thank you very much, Jeff Gomes , it is the solution on the Mac too and
with miaw !
( I never saw before these functions, activateApplication &
deactivateApplication are they
In a Windows-only project with only one editable text member on stage, I had excellent
results with the following technique... (I have NOT tested this on Mac or with
multiple editable text members.)
on deactivateApplication
STORE my_text_mem.selection in a variable
end
on
On Friday, Sep 5, 2003, at 11:22 America/Chicago, jean-louis valero
wrote:
Please list
How to avoid the unexpected selection of a text member after we click
on the stage previously in the background ?
I've seen this discussed before but don't recall that there is any kind
of cert
I recently ran into what is probably the same problem in a large
project. You have some text hilighted in a text member, you click on
the another application, click back in your Director program, the
entire contents of the text member are highlighted.
We spent a lot of time and tried
You could try automatically setting the selStart and the selEnd to sprite(the
keyboardFocusSprite).member.text.length every time the window in question becomes the
activeWindow.
I'm not sure if this will work since I stopped using editable text members after
discovering that they seem to
Please list
How to avoid the unexpected selection of a text member after we click
on the stage previously in the background ?
thanks again
jean-louis valero
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list
> I can't even get it to install here, may be it needs a
> japanese localized
> windows which unfortunately I don't have available.
It should install on Chinese Windows. That's how I've always done
Chinese programs--Japanese Director on Chinese Windows. I haven't used
MX, though.
> After workin
ese Windows probably uses Big-5 encoding. Are your fonts Big-5, or
perhaps GB encoded? Or maybe Unicode--that probably won't work. Director
doesn't support Unicode, as you undoubtedly know, nor do Flash sprites
in Director.
Is your text or field sprite set to use the Chinese font? Have y
Chinese
characters into director (and Flash) editable fields / texts.
The setup is: w2k_tw (Taiwan localization) with both traditional and
simplified Chinese installed.
MS Global IME with hanyuPinyin as input method.
2 barebone projectors in a window with just four inputs, both field and
text and
> characters into director (and Flash) editable fields / texts.
> (snip)
> So my question is: is it me? is it something about my choice
> of tools? is there some lucky combination which I failed to find yet?
or
> is there no hope to do a Chinese text input with macromedia products
/ texts.
The setup is: w2k_tw (Taiwan localization) with both traditional and
simplified Chinese installed.
MS Global IME with hanyuPinyin as input method.
2 barebone projectors in a window with just four inputs, both field and
text and with MS Sans Serif and SimHei as fonts.
One projector has been
er he got it or not. Here goes:
In the hyperlink field of the flash property inspector, get rid of all the
asfunction, getUrl stuff and simply replace it with your
http://www.boston.com link as if you were working in Flash and not going to
be running it in Director. ie. In your textfield, select the
1 - 100 of 572 matches
Mail list logo