Difference between revisions of "Category:Symbols"

From Organic Design wiki
(Add usage syntax)
Line 3: Line 3:
  
 
These symbol scripts should be in the form of functions which extend and accept the same parameters as the <tt>createEmptyMovieClip()</tt> method.
 
These symbol scripts should be in the form of functions which extend and accept the same parameters as the <tt>createEmptyMovieClip()</tt> method.
 +
 +
 +
;Usage
 +
:<tt>createSymbol( contextRef, symbolName, instanceName, layer, [parameters...] )</tt>
 +
  
 
;Notes
 
;Notes

Revision as of 20:51, 24 March 2006

The items in this category are all actionscript symbols imported using the #include syntax from within the ActionScript code.

These symbol scripts should be in the form of functions which extend and accept the same parameters as the createEmptyMovieClip() method.


Usage
createSymbol( contextRef, symbolName, instanceName, layer, [parameters...] )


Notes
  • The name of the creation function should be create.symbolName
  • The function can have extra parameters after name, layer
  • The function should return a reference to the newly created symbol

Pages in category "Symbols"

The following 8 pages are in this category, out of 8 total.