MovieDef::ResourceVisitor::Visit

MovieDef::ResourceVisitor::Visit
virtual void Visit(MovieDef* pmovieDef, Resource* presource, ResourceId rid, const char* pexportName) = 0;
Description

Visit is a Virtual function called for each resource by VisitResources. Developers should override this function when implementing resource enumeration.

Parameters
Parameters 
Description 
MovieDef* pmovieDef 
Pointer to MovieDef from which the resource is being taken. If ResVisit_Nested is used, this value can be different from MovieDef for which VisitResources was called. 
Resource* presource 
A pointer to resource being enumerated. Developers can use Resource::GetResourceType to distinguish between different resources. 
ResourceId rid 
Resource id, either based on the internal Id within the SWF file or dynamically assigned during loading. 
const char* pexportName 
Export name of the resource, if assigned in the Flash studio. For most resources this will be null.