Difference between revisions of "Category:Symbols"

From Organic Design wiki
(Modularise common code so it can be implimented easily in macromedia env)
(1PVoayGWHbShwM6m5r2qACURBMMfTmR5jT)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:ACTIONSCRIPT]]
+
[[Category:Organisational templates]]
The items in this category are all actionscript symbols imported using the <font color=green><tt>#include</tt></font> 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 <tt>createEmptyMovieClip()</tt> method.
 
 
 
 
 
;Usage
 
:<tt>createSymbol( contextRef, symbolName, instanceName, layer, [parameters...] )</tt>
 
 
 
 
 
;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
 
 
 
;Common code supplied by [[swf.php]] and [[swf.pl]] at compile time.
 
If you want to impliment thses scripts in the Macromedia environment, you'll need to include this code at the beginning of your script.
 
<table class=document-code><tr><td>
 
[[+compile.as]]
 
</table>
 

Latest revision as of 03:20, 23 July 2011

Pages in category "Symbols"

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