|
|
|||
Flash Player 7
myfTemplate.getQuery()
Query object .
Method. Returns the default template Query object. This method will return the same object as fMaster.getQuery but with an added filter for $DOCTYPE to correspond to the documentType value of the fTemplate component instance.
The following code shows a common use of the getQuery method:
eventObj = new Object();
eventObj.type = "onNewsButton";
eventObj.query = myfTemplate.getQuery();
myNewsButton.onRelease = function()
{
myfMaster.invoke( eventObj );
}