GiderosMobile.com
Gideros Documentation
Main API
Physics API
Lua API
Lua enhancements
Plugins
Facebook Instant Games
Labs
What's new ?
In development
Table of Contents
Accelerometer
Accelerometer.isAvailable
Accelerometer.new
Accelerometer:getAcceleration
Accelerometer:start
Accelerometer:stop
AlertDialog
AlertDialog.new
AlertDialog:hide
AlertDialog:show
Event.COMPLETE
Application
Application:canOpenUrl
Application:configureFrustum
Application:exit
Application:getApiVersion
Application:getAppId
Application:getBackgroundColor
Application:getContentHeight
Application:getContentWidth
Application:getDeviceHeight
Application:getDeviceInfo
Application:getDeviceOrientation
Application:getDeviceSafeArea
Application:getDeviceWidth
Application:getFps
Application:getLanguage
Application:getLocale
Application:getLogicalBounds
Application:getLogicalHeight
Application:getLogicalScaleX
Application:getLogicalScaleY
Application:getLogicalTranslateX
Application:getLogicalTranslateY
Application:getLogicalWidth
Application:getOrientation
Application:getScaleMode
Application:getScreenDensity
Application:getTextureMemoryUsage
Application:isPlayerMode
Application:openUrl
Application:setBackgroundColor
Application:setFps
Application:setFullScreen
Application:setKeepAwake
Application:setKeyboardVisibility
Application:setLogicalDimensions
Application:setOrientation
Application:setScaleMode
Application:setWindowSize
Application:vibrate
Application.LANDSCAPE_LEFT
Application.LANDSCAPE_RIGHT
Application.PORTRAIT
Application.PORTRAIT_UPSIDE_DOWN
Bitmap
Bitmap.new
Bitmap:getAnchorPoint
Bitmap:setAnchorPoint
Bitmap:setTexture
Bitmap:setTextureRegion
Core
Core.asyncCall
Core.class
Core.frameStatistics
Core.profilerReport
Core.profilerReset
Core.profilerStart
Core.profilerStop
Core.random
Core.randomSeed
Core.yield
Cryptography
Cryptography.aesDecrypt
Cryptography.aesEncrypt
Cryptography.md5
Event
Event.new
Event:getTarget
Event:getType
Event:stopPropagation
EventDispatcher
EventDispatcher.new
EventDispatcher:addEventListener
EventDispatcher:dispatchEvent
EventDispatcher:hasEventListener
EventDispatcher:removeAllListeners
EventDispatcher:removeEventListener
Event.APPLICATION_BACKGROUND
Event.APPLICATION_EXIT
Event.APPLICATION_FOREGROUND
Event.APPLICATION_RESIZE
Event.APPLICATION_RESUME
Event.APPLICATION_START
Event.APPLICATION_SUSPEND
Event.MEMORY_WARNING
Event.OPEN_URL
Font
Font.getDefault
Font.new
FontBase
FontBase:getAdvanceX
FontBase:getAscender
FontBase:getBounds
FontBase:getCharIndexAtOffset
FontBase:getLineHeight
FontBase:layoutText
FontBase.TLF_BOTTOM
FontBase.TLF_BREAKWORDS
FontBase.TLF_CENTER
FontBase.TLF_JUSTIFIED
FontBase.TLF_LEFT
FontBase.TLF_NOWRAP
FontBase.TLF_REF_BASELINE
FontBase.TLF_REF_BOTTOM
FontBase.TLF_REF_MIDDLE
FontBase.TLF_REF_TOP
FontBase.TLF_RIGHT
FontBase.TLF_TOP
FontBase.TLF_VCENTER
Geolocation
Geolocation.getAccuracy
Geolocation.getThreshold
Geolocation.isAvailable
Geolocation.isHeadingAvailable
Geolocation.new
Geolocation.setAccuracy
Geolocation.setThreshold
Geolocation:start
Geolocation:startUpdatingHeading
Geolocation:startUpdatingLocation
Geolocation:stop
Geolocation:stopUpdatingHeading
Geolocation:stopUpdatingLocation
Event.ERROR
Event.HEADING_UPDATE
Event.LOCATION_UPDATE
Gyroscope
Gyroscope.isAvailable
Gyroscope.new
Gyroscope:getRotationRate
Gyroscope:start
Gyroscope:stop
JS
JS.eval
KeyCode
KeyCode.A
KeyCode.ALT
KeyCode.B
KeyCode.BACK
KeyCode.BACKSPACE
KeyCode.C
KeyCode.CENTER
KeyCode.CTRL
KeyCode.D
KeyCode.DELETE
KeyCode.DOWN
KeyCode.E
KeyCode.END
KeyCode.ENTER
KeyCode.ESC
KeyCode.F
KeyCode.G
KeyCode.H
KeyCode.HOME
KeyCode.I
KeyCode.INSERT
KeyCode.J
KeyCode.K
KeyCode.L
KeyCode.L1
KeyCode.LEFT
KeyCode.M
KeyCode.MENU
KeyCode.MODIFIER_ALT
KeyCode.MODIFIER_CTRL
KeyCode.MODIFIER_META
KeyCode.MODIFIER_NONE
KeyCode.MODIFIER_SHIFT
KeyCode.MOUSE_LEFT
KeyCode.MOUSE_MIDDLE
KeyCode.MOUSE_NONE
KeyCode.MOUSE_RIGHT
KeyCode.N
KeyCode.NUM_0
KeyCode.NUM_1
KeyCode.NUM_2
KeyCode.NUM_3
KeyCode.NUM_4
KeyCode.NUM_5
KeyCode.NUM_6
KeyCode.NUM_7
KeyCode.NUM_8
KeyCode.NUM_9
KeyCode.O
KeyCode.P
KeyCode.PAGEDOWN
KeyCode.PAGEUP
KeyCode.Q
KeyCode.R
KeyCode.R1
KeyCode.RIGHT
KeyCode.S
KeyCode.SEARCH
KeyCode.SELECT
KeyCode.SHIFT
KeyCode.SPACE
KeyCode.START
KeyCode.T
KeyCode.TAB
KeyCode.U
KeyCode.UP
KeyCode.V
KeyCode.W
KeyCode.X
KeyCode.Y
KeyCode.Z
Matrix
Matrix.new
Matrix:getAnchorPosition
Matrix:getElements
Matrix:getM11
Matrix:getM12
Matrix:getM21
Matrix:getM22
Matrix:getMatrix
Matrix:getPosition
Matrix:getRotationX
Matrix:getRotationY
Matrix:getRotationZ
Matrix:getScale
Matrix:getScaleX
Matrix:getScaleY
Matrix:getScaleZ
Matrix:getTx
Matrix:getTy
Matrix:getTz
Matrix:getX
Matrix:getY
Matrix:getZ
Matrix:invert
Matrix:multiply
Matrix:orthographicProjection
Matrix:perspectiveProjection
Matrix:perspectiveProjection
Matrix:rotate
Matrix:scale
Matrix:setAnchorPosition
Matrix:setElements
Matrix:setM11
Matrix:setM12
Matrix:setM21
Matrix:setM22
Matrix:setMatrix
Matrix:setPosition
Matrix:setRotationX
Matrix:setRotationY
Matrix:setRotationZ
Matrix:setScale
Matrix:setScaleX
Matrix:setScaleY
Matrix:setScaleZ
Matrix:setTx
Matrix:setTy
Matrix:setTz
Matrix:setX
Matrix:setY
Matrix:setZ
Matrix:transformPoint
Matrix:translate
Mesh
Mesh.new
Mesh:clearColorArray
Mesh:clearIndexArray
Mesh:clearTexture
Mesh:clearTextureCoordinateArray
Mesh:clearVertexArray
Mesh:getColor
Mesh:getColorArraySize
Mesh:getIndex
Mesh:getIndexArraySize
Mesh:getTextureCoordinate
Mesh:getTextureCoordinateArraySize
Mesh:getVertex
Mesh:getVertexArraySize
Mesh:resizeColorArray
Mesh:resizeIndexArray
Mesh:resizeTextureCoordinateArray
Mesh:resizeVertexArray
Mesh:setColor
Mesh:setColorArray
Mesh:setColors
Mesh:setGenericArray
Mesh:setIndex
Mesh:setIndexArray
Mesh:setIndices
Mesh:setTexture
Mesh:setTextureCoordinate
Mesh:setTextureCoordinateArray
Mesh:setTextureCoordinates
Mesh:setVertex
Mesh:setVertexArray
Mesh:setVertices
MovieClip
MovieClip.new
MovieClip:clearAction
MovieClip:getFrame
MovieClip:gotoAndPlay
MovieClip:gotoAndStop
MovieClip:play
MovieClip:setGotoAction
MovieClip:setReverseAction
MovieClip:setStopAction
MovieClip:stop
Event.COMPLETE
Object
Object:getBaseClass
Object:getClass
Object:isInstanceOf
Particles
Particles.new
Particles:addParticles
Particles:clearTexture
Particles:getParticleAngle
Particles:getParticleColor
Particles:getParticleDecay
Particles:getParticlePosition
Particles:getParticles
Particles:getParticleSize
Particles:getParticleSpeed
Particles:getParticleTag
Particles:getParticleTtl
Particles:isPaused
Particles:removeParticles
Particles:setParticleAngle
Particles:setParticleColor
Particles:setParticleDecay
Particles:setParticlePosition
Particles:setParticleSize
Particles:setParticleSpeed
Particles:setParticlesTag
Particles:setParticleTag
Particles:setParticleTtl
Particles:setPaused
Particles:setTexture
Path2D
Path2D.new
Path2D:setConvex
Path2D:setFillColor
Path2D:setFontPath
Path2D:setLineColor
Path2D:setLineThickness
Path2D:setPath
Path2D:setSvgPath
Path2D:setTexture
Pixel
Pixel.new
Pixel.new
Pixel:getColor
Pixel:getDimensions
Pixel:getTexturePosition
Pixel:getTextureScale
Pixel:setColor
Pixel:setColor
Pixel:setColor
Pixel:setDimensions
Pixel:setHeight
Pixel:setTexture
Pixel:setTextureMatrix
Pixel:setTexturePosition
Pixel:setTextureScale
Pixel:setWidth
RenderTarget
RenderTarget.new
RenderTarget:clear
RenderTarget:draw
RenderTarget:getPixel
RenderTarget:getPixels
RenderTarget:save
Screen
Screen.new
Screen:clear
Screen:getId
Screen:getMaxSize
Screen:getPosition
Screen:getSize
Screen:getState
Screen:setContent
Screen:setPosition
Screen:setSize
Screen:setState
Shader
Shader.new
Shader:getEngineVersion
Shader:getProperties
Shader:getShaderLanguage
Shader:setConstant
Shader.CFLOAT
Shader.CFLOAT4
Shader.CINT
Shader.CMATRIX
Shader.CTEXTURE
Shader.DBYTE
Shader.DFLOAT
Shader.DINT
Shader.DSHORT
Shader.DUBYTE
Shader.DUSHORT
Shader.FLAG_FROM_CODE
Shader.FLAG_NONE
Shader.FLAG_NO_DEFAULT_HEADER
Shader.SYS_COLOR
Shader.SYS_NONE
Shader.SYS_PARTICLESIZE
Shader.SYS_TEXTUREINFO
Shader.SYS_WIT
Shader.SYS_WORLD
Shader.SYS_WVP
Shape
Shape.new
Shape:beginPath
Shape:clear
Shape:closePath
Shape:endPath
Shape:lineTo
Shape:moveTo
Shape:setFillStyle
Shape:setLineStyle
Shape.EVEN_ODD
Shape.NONE
Shape.NON_ZERO
Shape.SOLID
Shape.TEXTURE
Sound
Sound.new
Sound.setListenerPosition
Sound:getLength
Sound:play
SoundChannel
SoundChannel:getPitch
SoundChannel:getPosition
SoundChannel:getVolume
SoundChannel:isLooping
SoundChannel:isPaused
SoundChannel:isPlaying
SoundChannel:setLooping
SoundChannel:setPaused
SoundChannel:setPitch
SoundChannel:setPosition
SoundChannel:setVolume
SoundChannel:setWorldPosition
SoundChannel:stop
Event.COMPLETE
Sprite
Sprite.new
Sprite:addChild
Sprite:addChildAt
Sprite:clearBlendMode
Sprite:contains
Sprite:get
Sprite:getAlpha
Sprite:getAnchorPosition
Sprite:getBounds
Sprite:getChildAt
Sprite:getChildIndex
Sprite:getClip
Sprite:getColorTransform
Sprite:getHeight
Sprite:getLayoutConstraints
Sprite:getLayoutInfo
Sprite:getLayoutParameters
Sprite:getMatrix
Sprite:getNumChildren
Sprite:getParent
Sprite:getPosition
Sprite:getRotation
Sprite:getRotationX
Sprite:getRotationY
Sprite:getScale
Sprite:getScaleX
Sprite:getScaleY
Sprite:getScaleZ
Sprite:getSkew
Sprite:getSkewX
Sprite:getSkewY
Sprite:getWidth
Sprite:getX
Sprite:getY
Sprite:getZ
Sprite:globalToLocal
Sprite:hitTestPoint
Sprite:isVisible
Sprite:localToGlobal
Sprite:removeChild
Sprite:removeChildAt
Sprite:removeFromParent
Sprite:set
Sprite:setAlpha
Sprite:setAnchorPosition
Sprite:setBlendMode
Sprite:setClip
Sprite:setColorTransform
Sprite:setLayoutConstraints
Sprite:setLayoutParameters
Sprite:setMatrix
Sprite:setPosition
Sprite:setRotation
Sprite:setRotationX
Sprite:setRotationY
Sprite:setScale
Sprite:setScaleX
Sprite:setScaleY
Sprite:setScaleZ
Sprite:setShader
Sprite:setShaderConstant
Sprite:setSkew
Sprite:setSkewX
Sprite:setSkewY
Sprite:setStencilOperation
Sprite:setVisible
Sprite:setX
Sprite:setY
Sprite:setZ
Sprite:swapChildren
Sprite:swapChildrenAt
Event.ADDED_TO_STAGE
Event.ENTER_FRAME
Event.KEY_DOWN
Event.KEY_UP
Event.LAYOUT_RESIZED
Event.MOUSE_DOWN
Event.MOUSE_HOVER
Event.MOUSE_MOVE
Event.MOUSE_UP
Event.MOUSE_WHEEL
Event.REMOVED_FROM_STAGE
Event.TOUCHES_BEGIN
Event.TOUCHES_CANCEL
Event.TOUCHES_END
Event.TOUCHES_MOVE
Sprite.ADD
Sprite.ALPHA
Sprite.LAYOUT_ANCHOR_CENTER
Sprite.LAYOUT_ANCHOR_EAST
Sprite.LAYOUT_ANCHOR_NORTH
Sprite.LAYOUT_ANCHOR_NORTHEAST
Sprite.LAYOUT_ANCHOR_NORTHWEST
Sprite.LAYOUT_ANCHOR_SOUTH
Sprite.LAYOUT_ANCHOR_SOUTHEAST
Sprite.LAYOUT_ANCHOR_SOUTHWEST
Sprite.LAYOUT_ANCHOR_WEST
Sprite.LAYOUT_FILL_BOTH
Sprite.LAYOUT_FILL_HORIZONTAL
Sprite.LAYOUT_FILL_NONE
Sprite.LAYOUT_FILL_VERTICAL
Sprite.MULTIPLY
Sprite.NO_ALPHA
Sprite.SCREEN
Stage
Stage:setClearColorBuffer
TextField
TextField.new
TextField:getLayout
TextField:getLetterSpacing
TextField:getLineHeight
TextField:getSample
TextField:getText
TextField:getTextColor
TextField:setFont
TextField:setLayout
TextField:setLetterSpacing
TextField:setSample
TextField:setText
TextField:setTextColor
TextInputDialog
TextInputDialog.new
TextInputDialog:getInputType
TextInputDialog:getText
TextInputDialog:isSecureInput
TextInputDialog:setInputType
TextInputDialog:setSecureInput
TextInputDialog:setText
Event.COMPLETE
TextInputDialog.EMAIL
TextInputDialog.NUMBER
TextInputDialog.PHONE
TextInputDialog.TEXT
TextInputDialog.URL
Texture
Texture.new
Texture.new
TextureBase
TextureBase:getHeight
TextureBase:getWidth
TextureBase.CLAMP
TextureBase.REPEAT
TextureBase.RGB565
TextureBase.RGB888
TextureBase.RGBA4444
TextureBase.RGBA5551
TextureBase.RGBA8888
TexturePack
TexturePack.new
TexturePack.new
TexturePack:getTextureRegion
TextureRegion
TextureRegion.new
TextureRegion.new
TextureRegion:getRegion
TextureRegion:getScale
TextureRegion:setRegion
TileMap
TileMap.new
TileMap:clearTile
TileMap:getTile
TileMap:setRepeat
TileMap:setTexture
TileMap:setTile
TileMap:shift
TileMap.FLIP_DIAGONAL
TileMap.FLIP_HORIZONTAL
TileMap.FLIP_VERTICAL
Timer
Timer.delayedCall
Timer.new
Timer.pauseAll
Timer.resumeAll
Timer.stopAll
Timer:getCurrentCount
Timer:getDelay
Timer:getRepeatCount
Timer:isRunning
Timer:reset
Timer:setDelay
Timer:setRepeatCount
Timer:start
Timer:stop
Event.TIMER
Event.TIMER_COMPLETE
TTFont
TTFont.new
UrlLoader
UrlLoader.new
UrlLoader:close
UrlLoader:ignoreSslErrors
UrlLoader:load
Event.COMPLETE
Event.ERROR
Event.PROGRESS
UrlLoader.DELETE
UrlLoader.GET
UrlLoader.POST
UrlLoader.PUT
Viewport
Viewport:lookAngles
Viewport:lookAt
Viewport:setContent
Viewport:setProjection
Viewport:setTransform
Mesh:getIndex
Available since version:
Gideros 2013.06
Description:
Returns the i-th element from index array
Syntax:
(number) = Mesh:getIndex(i)
Parameters:
i:
(number) index
Return value:
number:
index of element