Content deleted Content added
GreenC bot (talk | contribs) Rescued 1 archive link; Move 1 url. Wayback Medic 2.5 per WP:URLREQ#zdnet.com |
Fixed vandalism from user 71.46.56.83 dating back to 11 September 2020, in the Syntax and Data structures sections. See the comparison between revisions 977825244 and 976801600 (https://en.wikipedia.org/w/index.php?title=ActionScript&diff=977825244&oldid=976801600) for why these changes were obvious vandalism. |
||
Line 147:
{{See also|Sprite (computer graphics)}}
ActionScript
<syntaxhighlight lang="mxml">
<?xml version="
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
Line 177:
'''ActionScript 2 top level data types'''
* '''
* '''Number'''
* '''Boolean'''
* '''Object'''
'''ActionScript 2 complex data types'''
Line 186:
There are additional "complex" data types. These are more processor and memory intensive and consist of many "simple" data types. For AS2, some of these data types are:
* '''MovieClip'''
* '''TextField'''
* '''Button'''
* '''Date'''
* '''Array'''
* '''XML'''
* '''XMLNode'''
* '''LoadVars'''
* '''Sound'''
* '''NetStream'''
Line 202:
'''ActionScript 3 primitive (prime) data types'''<ref name="adobe1">{{cite web |url=http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000047.html |title=Data type descriptions + Flash CS3 Documentation |access-date=2007-07-13 |archive-url=https://web.archive.org/web/20071102191956/http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000047.html |archive-date=November 2, 2007 |df=mdy-all }}</ref>
* '''Boolean'''
* '''int'''
* '''Null'''
* '''Number'''
* '''String'''
* '''uint'''
* '''void'''
'''ActionScript 3 some complex data types'''<ref name="adobe1"/>
* '''Array'''
* '''Date'''
* '''Error'''
* '''flash.display:Bitmap'''
* '''flash.display:MovieClip'''
* '''flash.display:Shape'''
* '''flash.display:SimpleButton'''
* '''flash.display:Sprite'''
* '''flash.media:Video'''
* '''flash.text:TextField'''
* '''flash.utils:ByteArray'''
* '''flash.utils:Dictionary'''
* '''Function'''
* '''Object'''
* '''RegExp'''
* '''Vector'''
* '''XML'''
* '''XMLList'''
===Using data types===
Line 295:
==References==
{{Reflist|
==External links==
|