Event.COMPLETE: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 3: Line 3:
'''Value:''' complete<br/>
'''Value:''' complete<br/>
=== Description ===
=== Description ===
This event is dispatched when user presses any button on AlertDialog or the dialog is dismissed by any other reason.
<translate>This event is dispatched when user presses any button on AlertDialog or the dialog is dismissed by any other reason.</translate>
=== Parameters ===
=== Parameters ===
'''buttonIndex''': (number) the index of the button pressed. It is nil when cancel button is pressed, 1 when 1st button is pressed and 2 when 2nd button is pressed.<br/>
'''buttonIndex''': (number) <translate>the index of the button pressed. It is nil when cancel button is pressed, 1 when 1st button is pressed and 2 when 2nd button is pressed.</translate><br/>
'''buttonText''': (string) the text of the button pressed<br/>
'''buttonText''': (string) <translate>the text of the button pressed</translate><br/>
__NOTOC__
__NOTOC__
'''Available since:''' Gideros 2012.2.1<br/>
'''Available since:''' Gideros 2012.2.1<br/>
'''Value:''' complete<br/>
'''Value:''' complete<br/>
=== Description ===
=== Description ===
This event is dispatched when a `MovieClip` object finishes playing (by reaching its final frame or a frame with stop action).
<translate>This event is dispatched when a [[[MovieClip]]] object finishes playing (by reaching its final frame or a frame with stop action).</translate>
__NOTOC__
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
'''Value:''' complete<br/>
'''Value:''' complete<br/>
=== Description ===
=== Description ===
This event is dispatched when the sound channel has finished playing.
<translate>This event is dispatched when the sound channel has finished playing.</translate>
__NOTOC__
__NOTOC__
'''Available since:''' Gideros 2012.8<br/>
'''Available since:''' Gideros 2012.8<br/>
'''Value:''' complete<br/>
'''Value:''' complete<br/>
=== Description ===
=== Description ===
This event is dispatched when user presses any button on TextInputDialog or the dialog is dismissed by any other reason.
<translate>This event is dispatched when user presses any button on TextInputDialog or the dialog is dismissed by any other reason.</translate>
=== Parameters ===
=== Parameters ===
'''text''': (string) the text entered into text input field<br/>
'''text''': (string) <translate>the text entered into text input field</translate><br/>
'''buttonIndex''': (number) the index of the button pressed. It is nil when cancel button is pressed, 1 when 1st button is pressed and 2 when 2nd button is pressed.<br/>
'''buttonIndex''': (number) <translate>the index of the button pressed. It is nil when cancel button is pressed, 1 when 1st button is pressed and 2 when 2nd button is pressed.</translate><br/>
'''buttonText''': (string) the text of the button pressed<br/>
'''buttonText''': (string) <translate>the text of the button pressed</translate><br/>
__NOTOC__
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
'''Value:''' complete<br/>
'''Value:''' complete<br/>
=== Description ===
=== Description ===
This event is dispatched when `UrlLoader` has reached the host and loading is complete.
<translate>This event is dispatched when [[[UrlLoader]]] has reached the host and loading is complete.</translate>
=== Parameters ===
=== Parameters ===
'''data''': (string) The downloaded data.<br/>
'''data''': (string) <translate>The downloaded data.</translate><br/>
'''httpStatusCode''': (number) HTTP Response Code from server<br/>
'''httpStatusCode''': (number) <translate>HTTP Response Code from server</translate><br/>
'''headers''': (table) HTTP response headers<br/>
'''headers''': (table) <translate>HTTP response headers</translate><br/>

Revision as of 12:34, 23 August 2018

Available since: Gideros 2012.8
Value: complete

Description

This event is dispatched when user presses any button on AlertDialog or the dialog is dismissed by any other reason.

Parameters

buttonIndex: (number) the index of the button pressed. It is nil when cancel button is pressed, 1 when 1st button is pressed and 2 when 2nd button is pressed.
buttonText: (string) the text of the button pressed

Available since: Gideros 2012.2.1
Value: complete

Description

This event is dispatched when a [[[MovieClip]]] object finishes playing (by reaching its final frame or a frame with stop action).

Available since: Gideros 2011.6
Value: complete

Description

This event is dispatched when the sound channel has finished playing.

Available since: Gideros 2012.8
Value: complete

Description

This event is dispatched when user presses any button on TextInputDialog or the dialog is dismissed by any other reason.

Parameters

text: (string) the text entered into text input field
buttonIndex: (number) the index of the button pressed. It is nil when cancel button is pressed, 1 when 1st button is pressed and 2 when 2nd button is pressed.
buttonText: (string) the text of the button pressed

Available since: Gideros 2011.6
Value: complete

Description

This event is dispatched when [[[UrlLoader]]] has reached the host and loading is complete.

Parameters

data: (string) The downloaded data.
httpStatusCode: (number) HTTP Response Code from server
headers: (table) HTTP response headers