using root keyword in Flex (AS3 migration)

var root_mc:Object = parent.parent.parent.parent.parent.parent.parent.parent
root_mc.functionNAME();

 use the parent as per the level of components used, then u can refer the root_mc to control the objects or to call the functions of the root level elements.

  1. http://sheet.zoho.com/public.do?docurl=VZi7cvGjp30%3D&name=o%2FtWOSjL%2BKUsfC6RgqyE3g%3D%3D

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: