Hi Raf,
item.modelns::name.text(); is a way of accessing the variable
name.text() in another namespace (item.modelns). This is far more
complicated than it needs to be.
An example:
___
components/Example.mxml
---
?xml version=1.0 encoding=utf-8?
mx:Canvas
Like if i create a mx:TextInput id=foo / to work with it on the
actionscript just use foo.text = 'bla' for example.
The reason you can access foo in your AS here is because when you
define an mxml-tag, it basically becomes a public, bindable property
of that class. So if you want the same in AS
Johan,
Thanks for your useful reply.
I will try to work with the dictionary as well but i was hopping you
could explain me what does
item.modelns::name.text();
mentioned on the article means.
Sorry, i didnt work with this object before and i try to google it but
i didnt get nothing.
The other thing is that i create all the elements on a formitem and a
form before add to the stage so basically when i create the element i
get the formitem name and the name of the element
FormItem287.source_code_bt
so i dont get the whole object at all at the point of creation.
=/
--- In
4 matches
Mail list logo