############################################################################ # Define SciTE Properties for Flash ActionScript file # v1.53 | 10/Jul/2003 | ale@bomberstudios.com # v1.53.1 | 20/Oct/2003 | arul@shockwave-india.com | http://www.shockwave-india.com/blog/ ############################################################################ ############################################################################ # Flash Source Files extensions ############################################################################ file.patterns.flash=*.mx;*.as;*.asc ############################################################################ # Filter for Open File dialog ############################################################################ filter.flash=ActionScript (as,mx,asc)|$(file.patterns.flash)| ############################################################################ # Lexer definition ############################################################################ lexer.$(file.patterns.flash)=flash ############################################################################ # Color & Font Styles ############################################################################ # Macromedia default: #~ color.comments=fore:#808080 #~ color.keywords=fore:#000084 #~ color.strings=fore:#0000FF # SciTE|Flash default: color.comments=fore:#808080 color.keywords=fore:#993300 color.properties=fore:#000084 color.strings=fore:#0000FF # Styles use.monospaced=1 font.monospace=font:Courier New,size:10 # Default style.flash.32=fore:#000000 # line numbers style.flash.33=fore:#FFFFFF,back:#000066 caret.line.back=#EEEEEE # Comment Block /* */ style.flash.1=$(color.comments) # ,$(font.code.comment.box) # Line Comment // style.flash.2=$(color.comments) # ,$(font.code.comment.line) # String "foo" style.flash.6=$(color.strings) # Keywords 1 (Core Elements) i.e: MovieClip style.flash.5=$(color.keywords) keywords.$(file.patterns.flash)=$(flash_core) $(flash_objects) # Keywords 2 (Methods) i.e: loadMovie style.flash.16=$(color.properties) keywords2.$(file.patterns.flash)=$(flash_methods) # Keywords 3 (Properties) i.e: _alpha style.flash.19=$(color.properties) keywords3.$(file.patterns.flash)=$(flash_properties) $(flash_constants) # Keywords 4 (Deprecated) i.e: ifFrameLoaded style.flash.20=$(color.properties) keywords4.$(file.patterns.flash)=$(flash_deprecated) # Keywords 5 (Flash Components) i.e: FCheckBox style.flash.21=$(color.properties) keywords5.$(file.patterns.flash)=$(flash_components) $(flash_components_methods) # Keywords 6 (preprocessor) i.e: #include style.flash.22=$(color.keywords) keywords6.$(file.patterns.flash)=$(flash_prep) # Keywords 7 (Unused) style.flash.23=fore:#000000 keywords7.$(file.patterns.flash)= # Keywords 8 (Unused) style.flash.24=fore:#000000 keywords8.$(file.patterns.flash)= # Keywords 9 (Unused) style.flash.25=fore:#000000 keywords9.$(file.patterns.flash)= # Operators style.flash.10=fore:#000000 # End of line where string is not closed style.flash.12=fore:#555555,back:#FF0000,eolfilled ############################################################################ # Comment block definition ############################################################################ comment.block.flash=// comment.block.at.line.start.flash=1 comment.stream.start.flash=/* comment.stream.end.flash=*/ comment.box.start.flash=/* comment.box.middle.flash=// comment.box.end.flash=*/ ############################################################################ # Code Folding ############################################################################ #~ Fold comment blocks /* */ fold.comment=1 #~ Fold #initclip #endinitclip blocks fold.preprocessor=1 #~ Fold line at } else { fold.at.else=1 ############################################################################ # Auto indentation settings ############################################################################ statement.indent.$(file.patterns.flash)=class switch case function with do else for if while statement.end.$(file.patterns.flash)=10 ; statement.lookback.$(file.patterns.flash)=20 block.start.$(file.patterns.flash)=10 { block.end.$(file.patterns.flash)=10 } ############################################################################ # KEYWORDS ############################################################################ # Keywords can be prefix based (regexp) so ^my will treat all words that start with 'my' as keywords ############################################################################ flash_core=\ _global _level _parent _root Accessibility Array Boolean Button Color Date Key Math Mouse MovieClip Number Object Function Selection \ Sound Stage String System XML XMLSocket flash_objects=\ class private public static apply arguments constructor do else false for function if in new newline null return super switch this true \ undefined var void while with flash_methods=\ get set add abs acos asin atan atan2 isNaN ceil addListener addProperty appendChild asfunction attachMovie \ attachSound beginFill beginGradientFill blockIndent break broadcastMessage call case charAt charCodeAt clear clearInterval \ cloneNode close concat continue connect cos createElement createEmptyMovieClip createTextField createTextNode curveTo \ default delete duplicateMovieClip endFill escape eval evaluate exp fromCharCode FSCommand get getAscii getBeginIndex \ getBounds getBytesLoaded getBytesTotal getCaretIndex getCode getDate getDay getDepth getEndIndex getFocus getFontList \ getFullYear getHours getMilliseconds getMinutes getMonth getNewTextFormat getPan getProperty getRGB getSeconds getTextExtent \ getTextFormat getTime getTimer getTimezoneOffset getTransform getURL getUTCDate getUTCDay getUTCFullYear getUTCHours \ getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getVersion getVolume getYear globalToLocal gotoAndPlay \ gotoAndStop hasAccessibility hasAudio hasAudioEncoder hasChildNodes hasMP3 hasVideoEncoder height hide hitArea hitTest \ indexOf insertBefore install join lineStyle lineTo lastIndexOf load loadMovie loadMovieNum loadSound loadVariables loadVariablesNum \ LoadVars log max min mbchr mblength mbord mbsubstring nextFrame nextScene nextSibling on onChanged onClipEvent onClose onConnect \ onData onDragOut onDragOver onEnterFrame onKeyDown onKeyUp onKillFocus onLoad onMouseDown onMouseMove onMouseUp onPress \ onRelease onReleaseOutside onResize onRollOut onRollOver onScroller onSetFocus onSort onSoundComplete onUnload onUpdate onXML \ parseFloat parseInt parseXML play pop pow push prevScene prevFrame previousSibling print printAsBitmap printAsBitmapNum printNum \ registerClass removeMovieClip removeNode removeTextField replaceSel reverse setDate setFocus setFullYear setHours setInterval setMask \ setMilliseconds setMinutes setMonth setNewTextFormat setPan setProperty setRGB setSeconds setSelection setTextFormat setTime \ setTransform setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setVolume \ setYear send sendAndLoad set shift show sin slice sort splice split sqrt start sortOn startDrag stop stopAllSounds stopDrag substr substring \ swapDepths tan toggleHighQuality toLowerCase toString toUpperCase trace unescape uninstall unloadMovie unloadMovieNum unshift \ unwatch updateAfterEvent watch instanceof int round floor moveTo flash_components=\ ^FS FPushButton FRadioButton FScrollBar FScrollPane FStyleFormat FAccordionPane FSlider FTabView FTextField FweekView flash_components_methods=\ addItem addItemAt applyChanges arrow background backgroundDisabled check darkshadow \ face FCheckBox FComboBox FListBox focusRectInner focusRectOuter foregroundDisabled getData getEnabled getGroupName \ getItemAt getLabel getLength getPaneHeight getPaneWidth getRowCount getScrollContent getScrollPosition getSelectedIndex \ getSelectedIndices getSelectedItem getSelectedItems getSelectMultiple getState getValue globalStyleFormat highlight highlight3D \ loadScrollContent radioDot refreshPane registerSkinElement removeAll removeitemAt removeListener replaceItemAt ScrollTrack \ selection selectionDisabled selectionUnfocused setAutoHideScrollBar setChangeHandler setClickHandler setData setDataProvider \ setDragContent setEditable setEnabled setGroupName setHorizontal setHScroll setItemSymbol setLabel setLabelPlacement setLargeScroll \ setRowCount setScrollContent setScrollPosition setScrollProperties setScrollTarget setSelectedIndex setSelectedIndices setSelectionIndex \ setSelectMultiple setSize setSmallScroll setState setStyleProperty setValue setVScroll setWidth shadow sortItemsBy textAlign textBold textColor \ textDisabled textFont textIndent textItalic textLeftMargin textRightMargin textSelected textSize textUnderline flash_properties=\ __proto__ _alpha _currentframe _droptarget _focusrect _framesloaded _height _name _quality _rotation _soundbuftime _target _totalframes _url _visible _width _x _xmouse _xscale _y _ymouse _yscale align attributes autoSize backgroundColor bold border borderColor bottomScroll bullet callee caller capabilities childNodes color contentType docTypeDecl duration embedFonts enabled firstChild focusEnabled hscroll html htmlText indent ignoreWhite isActive isDown isFinite isNaN isToggled italic lastChild leading leftMargin length manufacturer maxChars maxhscroll multiline nodeName nodeType nodeValue parentNode pixelAspectRatio prototype resolutionX resolutionY restrict rightMargin scaleMode screenColor screenDPI screenResolution screenResolutionX screenResolutionY scroll selectable showMenu size status tabChildren tabEnabled tabIndex tabStops target targetPath text textHeight textWidth trackAsMenu type typeof underline url useHandCursor valueOf variable version width wordWrap xmlDecl loaded os password position font italic language list or ASSetPropFlags flash_prep=#endinitclip #include #initclip flash_comm=foo bar baz flash_constants=BACKSPACE CAPSLOCK CONTROL DELETEKEY DOWN END ENTER ESCAPE HOME Infinity INSERT LEFT LN10 LN2 LOG10E LOG2E MAX_VALUE MIN_VALUE NaN NEGATIVE_INFINITY PGDN PGUP PI POSITIVE_INFINITY RIGHT SHIFT SPACE SQRT1_2 SQRT2 TAB UP UTC flash_deprecated=_highquality add and chr eq ge gt ifFrameLoaded int le length lt maxscroll mbchr mblength mbord mbsubstring ne not or ord random substring tellTarget toggleHighQuality chr ord not ############################################################################ # Load the Flash API ############################################################################ api.$(file.patterns.flash)=$(SciteDefaultHome)\flash.api;$(SciteDefaultHome)\API.custom;API.flashcommClient;API.flashcommServer; autocomplete.flash.ignorecase=1 ############################################################################ # Commands (Flush, etc) ############################################################################ command.compile.$(file.patterns.flash)=flush.exe -c command.name.1.$(file.patterns.flash)=Test Movie command.1.$(file.patterns.flash)=flush.exe -f command.name.2.$(file.patterns.flash)=Capture Output command.2.$(file.patterns.flash)=flush.exe -o command.name.3.$(file.patterns.flash)=Test and Capture Output command.3.$(file.patterns.flash)=flush.exe -w ############################################################################ # To be documented ############################################################################ word.characters.*.mx= calltip.flash.end.definition=) autocomplete.flash.start.characters=_$(chars.alpha)# autocomplete.flash.fillups=(