Object: NamedFrameMap

Availability

BlackBerry® Device Software version 4.6 or later

The NamedFrameMap object represents collections of frames that can be accessed by name.

You can access an individual frame within a collection by its index position using NamedFrameMap.item(), by its name or id attribute using NamedFrameMap.getNamedItem(), or you can index the object directly. For example, if you create an instance of a NamedFrameMap object called myNamedFrameMap, then specifying

myNamedFrameMap.item(2)

myNamedFrameMap.getNamedItem(“item”)

is equivalent to specifying

myNamedFrameMap[2]

myNamedFrameMap[“item”]


Was this information helpful? Send us your comments.