MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Reference page 183

Server-side actionscript language reference
Table of Contents

Advertisement

Returns
An integer.
Description
Method; returns the size of the XML document in bytes.
Example
See the example for
on page
182.
XML.getBytesLoaded()
See also
XML.getBytesLoaded()
XML.getNamespaceForPrefix()
Availability
Flash Media Server 2.
Usage
my_xml.getNamespaceForPrefix(prefix)
Parameters
A string; the prefix for which the method returns the associated namespace.
prefix
Returns
A String; the namespace that is associated with the specified prefix.
Description
Method; returns the namespace URI that is associated with the specified prefix for the node.
To determine the URI,
searches up the XML hierarchy from the
getPrefixForNamespace()
node, as necessary, and returns the namespace URI of the first xmlns declaration for the given
prefix.
If no namespace is defined for the specified prefix, the method returns null.
If you specify an empty string (
) as the prefix and there is a default namespace defined for
""
the node (as in xmlns="http://www.example.com/"), the method returns that default
namespace URI.
XML class
183

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

This manual is also suitable for:

Flash media server 2

Table of Contents