• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

USING ANCESTORS

Parent scripts can use a special property, called an ancestor, which is a reference to another parent script.

When you define and use the ancestor property, you give the object access to all the handlers and properties in that ancestor parent script. In this way, you can have objects created with different parent scripts, but that use the same ancestor script. In other words, they can share some handlers, but not others.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint