Ask a Question related to Macromedia Director Lingo, Design and Development.
-
samwilson123 webforumsuser@macromedia.com #1
createTextField() in Lingo????
Is there a way to duplicate or create new text field members in Lingo? In Actionscript I'd do this with the createTextField () method... I'm working on a huge CD-ROM project that would be greatly improved with this simple functionality.
Thank you in advance very much for your help.
-Sam
samwilson123 webforumsuser@macromedia.com Guest
-
createTextField crossdomains
Picture this. You have two flash movies one uses the standard createTextField file1.swf (located at www.mydomain.com): ... -
createTextField issue
I have a serious problem trying to create text fields based on variables that I load from external text files. Have a look below. Inside the... -
createTextField _rotation problem
i have the same problem and was so happy to find that thread! But where is the solution ? ever when i used the embedFont property the text... -
Using shared fonts with createTextField() in 2004
Hi, Are we still unable in Flash MX 2004 to use a shared font with dynamically created textFields? I'm developping an Intranet, wich should make... -
createtextfield command
I am using the createTextField command, and when trying to work out the width it always returns the value 4. Is this something to do with the fact i... -
JB #2
Re: createTextField() in Lingo????
To create a new member:
newMemberNum = new(#field)
Getting it into the score is a bit more trickey, if automating the
authoring process one could use scorerecording.
JB Guest
-
samwilson123 webforumsuser@macromedia.com #3
Re: createTextField() in Lingo????
Thank you, I found a pretty useful method that I've been studying, which has revealed to me how to create dynamic sprites/members in Director:
on createManyTextMembers me
stopwatch_start=the milliseconds
repeat with i= 2 to 101
newmem=new(#text, castLib("bulletCast"))
newmem.text=string(i-1)
newmem.fontSize=9
--create sprites from 11 and upwards
puppetSprite i+10, 1
sprite(i+10).member=member(newmem.member.number)
-- never mind the loc, it looks ugly, I just want Director to draw to the stage.
sprite(i+10).loc=point(10, i*10)
end repeat
--compare forcing Dir to redraw the stage before putting the alert up and
--stopping the timer, and not doing that - by commenting out the updatestage command.
updatestage
stopwatch_stop=the milliseconds
alert "total time:" && stopwatch_stop-stopwatch_start && "milliseconds" & RETURN & "started at" && stopwatch_start & RETURN & "stopped at" && stopwatch_stop
end
Thanks again for your help!
samwilson123 webforumsuser@macromedia.com Guest



Reply With Quote

