This can be done by using the following:

ParentFrameName.ChildFrameName

Example: main.smallframe

Remember that this should be used in the "Tools > Compile Properties" tab and also in the "Target Frame" property of the particular submenu.