You probably have what you think is a parent script, but the type of script is movie script. In this script you have a "new" handler. When you call new passing #text or #bitmap, it is going to this handler and returning the thing that is passed in, #bitmap or #new.

Look through your scripts for an "on new me" handler, and you'll find the one that is a movie script. Change it to be a parent script and things will probably work just fine.

Irv

At 2:36 PM +0000 1/9/06, Alan Skinner wrote:
Hi guys I used to use the following line

TextOb = new(#text) -- local text obj

And it would return a nice #member for me to place text into (least I
think it was a #member)

But now it returns the type #symbol and code like

TextOb.font = "Times new roman"  doesn't work anymore.

Any ideas what I have done to change the way this works?

I swear I didn't change anything ;o)

Also on a similar note I looked up the help file where it says...

set newMember = new(#bitmap)
After the line has been executed, newMember will contain the member
reference to the cast member just created:

put newMember
-- (member 1 of castLib 1)

Well if I paste in the code above the message window shows '#bitmap' not
the member 1 of etc!!

Cheers alan

--
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.

If you have received this email in error please notify the
originator of the message. This footer also confirms that this
email message has been scanned for the presence of computer viruses.

Any views expressed in this message are those of the individual
sender, except where the sender specifies and with authority,
states them to be the views of DA Group.


[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 is for learning and helping with programming Lingo. Thanks!]


--

Multimedia Wrangler.
[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 is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to