A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Library Symbol class

  1. #1
    Developer
    Join Date
    Apr 2007
    Location
    UK
    Posts
    324

    Library Symbol class

    I know this may seem a silly question but, you know how, to use a library symbol you have to initiate its class, and how if you dont have a class for it, Flash will do one for you, what would that class actually look like? What would its functions do. Does anyone have an idea?

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    In the new CS3 the base class is flash.display.MovieClip if you have selected Movieclip and the class is autogenerated. May be that was also the case in F9 alpha. You can change it to Sprite but then no frames are allowed. It would be an empty class, which extends one of the base classes.
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    half as fun, double the price senocular's Avatar
    Join Date
    Feb 2002
    Location
    San Francisco, CA (USA)
    Posts
    4,358
    When you give the symbol an automatic class name in the linkage properties (providing a name for its class that does not reference an existing class) that becomes the automatic class. This class will subclass MovieClip but not add any other additional methods or properties. It is essentially MovieClip under a new name that references that symbol for its timeline/graphics.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center