[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] gnash/testsuite/misc-ming.all DefineEditTextVar...
From: |
zou lunkai |
Subject: |
Re: [Gnash-commit] gnash/testsuite/misc-ming.all DefineEditTextVar... |
Date: |
Thu, 3 Apr 2008 17:18:44 +0800 |
> ASSetPropFlags(object, "propertyname", flagsToSet, flagsToClear);
>
Maybe you have read this: http://labs.blitzagency.com/?p=41
This article have made it more complex. I am already confused:)
--zou
On 4/3/08, Sandro Santilli <address@hidden> wrote:
> On Thu, Apr 03, 2008 at 04:35:51PM +0800, zou lunkai wrote:
> > > Try some AsSetPropFlags too ?
> > > Example, if I make the associated variable read-only, would it still
> > > be updated when I change the textfield value (by user input or assignment
> > > to the
> >
> > Tested here. The textField variable will not be updated when it is
> > protected.
> >
> > Tests description:
> >
> > Tags:
> > Define and place a static TextField instance "dtext" with a
> > uninitialized variable named as "text_var".
> >
> > AS code:
> >
> > text_var = "inital text";
> > // protect properties of _root
> > ASSetPropFlags(_root, null, 7, 7);
> > for(var i in _root){
> > trace(i); // check that if I have done the protection correctly.
> > }
> > dtext.text = "reset";
> > trace(text_var); // output "inital text", while the screen displays
> > "reset".
> > // without the protection, both the output
> > and the display are "reset"
> >
> > I'll automate the tests if needed later. Not very sure how to use
> > ASSetPropFlags to clear a certain flag at the moment.
>
> Please automate.
> ASSetPropFlags(object, "propertyname", flagsToSet, flagsToClear);
>
> --strk;
>
[Gnash-commit] gnash/testsuite/misc-ming.all DefineEditTextVar..., Zou Lunkai, 2008/04/03
[Gnash-commit] gnash/testsuite/misc-ming.all DefineEditTextVar..., Zou Lunkai, 2008/04/08