![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 6.
my_lv
.onData = function(src
) { // your statements here }
src
The raw (unparsed) data from a LoadVars.load()
or LoadVars.sendAndLoad()
method call.
Nothing.
Event handler; invoked when data has been completely downloaded from the server, or when an error occurs while data is downloading from a server. This handler is invoked before the data is parsed and therefore can be used to call a custom parsing routine instead of the one built in to Flash Player. The value of the src
parameter passed to the function assigned to LoadVars.onData
can either be undefined
, or a string that contains the URL-encoded name-value pairs downloaded from the server. If the returned value is undefined
, an error occurred while downloading the data from the server.
The default implementation of LoadVars.onData
invokes LoadVars.onLoad
. You can override this default implementation by assigning a custom function to LoadVars.onData
, but LoadVars.onLoad
will no longer be called unless you call it in your implementation of LoadVars.onData
.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |