Referencia de ActionScript® 3.0 para la plataforma de Adobe® Flash®
Inicio  |  Ocultar lista de paquetes y clases |  Paquetes  |  Clases  |  Novedades  |  Índice  |  Apéndices  |  ¿Por qué hay texto en inglés?
Filtros: Recuperando datos del servidor...
Recuperando datos del servidor...
coldfusion.service 

BasicService  - AS3 CF

Paquetecoldfusion.service
Clasepublic class BasicService
HerenciaBasicService Inheritance InternalConfig Inheritance Object
Implementa IEventDispatcher, IMXMLObject
Subclases Chart, Document, Image, Ldap, Mail, Pdf, Pop

Versión del lenguaje: ActionScript 3.0
Versión de producto: ColdFusion 9
Versiones de motor de ejecución: Flash Player 9, AIR 1.0

The base class for all the proxy classes that interact with the different ColdFusion services, such as, image or pdf.



Propiedades públicas
 PropiedadDefinido por
  action : String
Action string for the service.
BasicService
 InheritedcfContextRoot : String
Context root of the ColdFusion server.
InternalConfig
 InheritedcfPort : int
Port where the ColdFusion server is running.
InternalConfig
 InheritedcfServer : String
Name or IP address of the ColdFusion server.
InternalConfig
 Inheritedconstructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada.
Object
 Inheriteddestination : String
Specifies the destination for the remoting call.
InternalConfig
 InheritedsecureHttp : Boolean
Boolean value that specifies if secure HTTP is used: yes: uses secure HTTP no: does not use secure HTTP
InternalConfig
 InheritedservicePassword : String
Password to access ColdFusion services.
InternalConfig
 InheritedserviceUserName : String
Username to access ColdFusion services.
InternalConfig
Métodos públicos
 MétodoDefinido por
  
The constructor that accepts the source CFC on the ColdFusion-side of the service.
BasicService
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
BasicService
  
Dispatches an event into the event flow.
BasicService
  
Returns the RemoteObject instance used by the proxy classes to make the remote object call.
BasicService
  
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
BasicService
 Inherited
Indica si un objeto tiene definida una propiedad especificada.
Object
 Inherited
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro.
Object
 Inherited
Indica si existe la propiedad especificada y si es enumerable.
Object
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
BasicService
 Inherited
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle.
Object
 Inherited
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional.
Object
 Inherited
Devuelve la representación de cadena del objeto especificado.
Object
 Inherited
Devuelve el valor simple del objeto especificado.
Object
  
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
BasicService
Eventos
 Evento Resumen Definido por
  Dispatched when a ColdFusion service call fails.BasicService
  Dispatched when a ColdFusion service call returns successfully.BasicService
Información sobre propiedades

action

propiedad
public var action:String

Versión del lenguaje: ActionScript 3.0
Versión de producto: ColdFusion 9
Versiones de motor de ejecución: Flash Player 9, AIR 1.0

Action string for the service.

Información sobre constructores

BasicService

()Información sobre
public function BasicService(source:String)

Versión del lenguaje: ActionScript 3.0
Versión de producto: ColdFusion 9
Versiones de motor de ejecución: Flash Player 9, AIR 1.0

The constructor that accepts the source CFC on the ColdFusion-side of the service.

Parámetros
source:String
Información sobre métodos

addEventListener

()método
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void

Versión del lenguaje: ActionScript 3.0
Versión de producto: ColdFusion 9
Versiones de motor de ejecución: Flash Player 9, AIR 1.0

Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.

Parámetros

type:String — The type of event.
 
listener:Function — The listener function that processes the event.
 
useCapture:Boolean (default = false) — Determines whether the listener works in the capture phase or the target and bubbling phases:
  • If useCapture is set to true, the listener processes the event only during the capture phase and not in the target or bubbling phase.
  • If useCapture is false, the listener processes the event only during the target or bubbling phase.
 
priority:int (default = 0) — The priority level of the event listener. The priority is designated by a signed 32-bit integer.
 
useWeakReference:Boolean (default = false) — Determines whether the reference to the listener is strong or weak.

dispatchEvent

()método 
public function dispatchEvent(evt:Event):Boolean

Versión del lenguaje: ActionScript 3.0
Versión de producto: ColdFusion 9
Versiones de motor de ejecución: Flash Player 9, AIR 1.0

Dispatches an event into the event flow.

Parámetros

evt:Event — The Event object that is dispatched into the event flow. If the event is being redispatched, a clone of the event is created automatically.

Valor devuelto
Boolean — A value of true if the event was successfully dispatched. A value of false indicates failure or that preventDefault() was called on the event.

getRemoteObject

()método 
public function getRemoteObject():RemoteObject

Versión del lenguaje: ActionScript 3.0
Versión de producto: ColdFusion 9
Versiones de motor de ejecución: Flash Player 9, AIR 1.0

Returns the RemoteObject instance used by the proxy classes to make the remote object call.

Valor devuelto
RemoteObject

hasEventListener

()método 
public function hasEventListener(type:String):Boolean

Versión del lenguaje: ActionScript 3.0
Versión de producto: ColdFusion 9
Versiones de motor de ejecución: Flash Player 9, AIR 1.0

Checks whether the EventDispatcher object has any listeners registered for a specific type of event. This allows you to determine where an EventDispatcher object has altered handling of an event type in the event flow hierarchy. To determine whether a specific event type actually triggers an event listener, use willTrigger().

Parámetros

type:String — The type of event.

Valor devuelto
Boolean — A value of true if a listener of the specified type is registered; false otherwise.

removeEventListener

()método 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Versión del lenguaje: ActionScript 3.0
Versión de producto: ColdFusion 9
Versiones de motor de ejecución: Flash Player 9, AIR 1.0

Removes a listener from the EventDispatcher object.

Parámetros

type:String — The type of event.
 
listener:Function — The listener object to remove.
 
useCapture:Boolean (default = false) — Specifies whether the listener was registered for the capture phase or the target and bubbling phases.

willTrigger

()método 
public function willTrigger(type:String):Boolean

Versión del lenguaje: ActionScript 3.0
Versión de producto: ColdFusion 9
Versiones de motor de ejecución: Flash Player 9, AIR 1.0

Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.

Parámetros

type:String — The type of event.

Valor devuelto
Boolean — A value of true if a listener of the specified type will be triggered; false otherwise.
Información sobre eventos

fault

Evento
Tipo de objeto de evento: coldfusion.service.events.ColdFusionServiceFaultEvent
propiedad ColdFusionServiceFaultEvent.type = coldfusion.service.events.ColdFusionServiceFaultEvent.FAULT

Dispatched when a ColdFusion service call fails.

Defines the value of the Type property of a ColdFusionServiceFaultEvent object.

result

Evento  
Tipo de objeto de evento: coldfusion.service.events.ColdFusionServiceResultEvent
propiedad ColdFusionServiceResultEvent.type = coldfusion.service.events.ColdFusionServiceResultEvent.RESULT

Dispatched when a ColdFusion service call returns successfully.

The RESULT event type.




[ X ]¿Por qué hay texto en inglés?
Cierto contenido de la Referencia de ActionScript 3.0 se muestra en inglés

No todo el contenido de la Referencia de ActionScript 3.0 se traduce a todos los idiomas. Si un elemento del lenguaje no se traduce, aparecerá en inglés. Por ejemplo, la clase ga.controls.HelpBox no está traducida en ningún idioma. Por lo tanto, en la versión en español de la referencia, la clase ga.controls.HelpBox aparecerá en inglés.