HBCMS更多的中文手册参考:

getAttributeName Method

DHTML文档教程

Returns the name of the attribute whose index has been specified.

dhtml语法

sItemName = object.getAttributeName(lIndex)

Parameters

lIndex Required. Integer that specifies the attribute index.

Return Value

String that receives the attribute name.

Remarks

You can use this method to return the available categories of information about loaded or upcoming media items. For example, you might use this method to determine whether an attribute index specifies abstract, author, copyright, or duration information, depending on the media item.

If no media is currently playing in the Media Bar, any attempt to access media attribute information with getiteminfo, getattributename, or attributecount returns a script error.

applies to

PlaylistInfo, MediaItem

更多语法参考

currentitem, nextItem