• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Parent Property And Facespan
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parent Property And Facespan


  • Subject: Parent Property And Facespan
  • From: cris <email@hidden>
  • Date: Tue, 09 Jan 2001 15:42:20 +0100

I try to use a parent property in a FS project script. Parent properties
normally work well when i use them but FS and FS-applications have obvious a
problem to initialise the parent property on runtime. In the FS editor, the
parent property works only after the project has compiled once.

Before i start to make all the parent stuff to put into object variables i
want to ask if anyone has found a solution that allows the use of the parent
property with FS.

I get only errors when i try to change the parent at runtime, like:

on run
set parent to (load script "Mac HD:AS:MSA.Lib")
end



The AS-Language Guide says:

> The syntax for defining a parent script object is
> ( property | prop ) parent : variable where variable is a variable that
> contains the parent script object.
So far so good... but doesn't work in FS.

> A script object must be initialized before it can be assigned as a parent of
> another script object. This means that the definition of the parent script
> object (or a command that calls a function that creates the parent script
> object) must come before the definition of the child in the same script.
I'm not sure if i understand this. Is there no way to set the parent on
runtime?



Greetings to all
cris


  • Prev by Date: Re: Signing off
  • Next by Date: Re: Aplescript for changing case
  • Previous by thread: Re: Disappear Applescript - again
  • Next by thread: Re: Parent Property And Facespan
  • Index(es):
    • Date
    • Thread