StringEvent
| Kind of class: | class |
|---|---|
| Inherits from: | BasicEvent |
| Version: | 1.0 |
| Author: | Francis Bourre |
| Classpath: | com.bourre.events.StringEvent |
| File last modified: | Wednesday, 31 October 2007, 07:35:29 |
StringEvent defines specific event structure to work withString value.Based on BasicEvent class, StringEvent add access
to his specific String property with getString and
setString methods.
Summary
Constructor
Instance properties
Instance properties inherited from BasicEvent
Constructor
Instance methods
getString
function getString (
) : String
Returns instance
String value.Example
var e : StringEvent = new StringEvent(MyClass.onSomething, "pixlib"); trace( e.getString() );
Returns:
a
String valuesetString
function setString (
s:String) : Void
Defines instance
String value.Example
var e : StringEvent = new StringEvent(MyClass.onSomething); e.setString("pixlib");
Parameters:
n:
Number valuetoString
function toString (
) : String
Returns the string representation of this instance.
Returns:
String representation of this instanceOverrides: