Use AS class in my MXML file (with full access)


hi,

i have mxml file has controls (for example 1 button). want create class many methods , want use class in mxml file. don't know how can specify scope of button accessable in class?

of course can have methods in class setbutton ... if have many controls. maybe exists other possibility user in file controls mxml file?

these fb 2.0.1 topics (and fb3 equivalents or livedocs) can help:

using mx.core.application.application property
using parentdocument property
using parentapplication property

they allow access overall app classes.


More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support