Hello,
I learned a lot now about broadcasting events, but still haven't
achieve my initial intention, which was as follows:
I want to have a class (kind of black-box), I call MyUIObject.
Then I want to create instances of MyUIObject:
var uio:MyUIObject = new MyUIObject();
I want to have a
The set/get (former addProperty) methodology seemed to offer the
solution, but now I see, that I can implicit (not writing
uio.setSomething, but uio._something) set a value, but _something is
private and thus code completion etc. will not work.
Matthias
Hello :)
the _ notation is used to do the difference between private and public ...
if you create a virtual property with get/set used in private the _ notation
:
class Test
{
function Test()
{
}
/**
* Internal private value.
*/
private var _value:Number ;
public
You guys are right, I have mixed two questions into one:
1: properties in AS1/AS2
2: watching properties, EventModel
Hello Rákos,
thank you for the link to the documentation of the set/get keywords.
On that page, you can read:
NOTE Implicit getter and setter methods are syntactic shorthand for
Hello :)
To test mx.events.EventDispatcher, GDispatcher, Vegas... the best solution
is to test all model :)
In big project with FrontController, MVC etc.. my framework is very
interesting... if you want just create a little communication between 2
objects AsBroadcaster is very good :)
In Vegas
5 matches
Mail list logo