Package | ch.capi.net |
Interface | public interface IContextPolicy |
Implementors | DefaultContextPolicy |
Loader
and Sound
objects.
See also
Method | Defined By | ||
---|---|---|---|
getLoaderContext(file:ILoadableFile, appDomainPolicy:String = null, secDomainPolicy:String = null):LoaderContext
Retrieves a LoaderContext that will be attached
to the specified ILoadableFile. | IContextPolicy | ||
getSoundContext(file:ILoadableFile):SoundLoaderContext
Retrieves a SoundLoaderContext that will be attached
to the specified ILoadableFile. | IContextPolicy |
getLoaderContext | () | method |
public function getLoaderContext(file:ILoadableFile, appDomainPolicy:String = null, secDomainPolicy:String = null):LoaderContext
Retrieves a LoaderContext
that will be attached
to the specified ILoadableFile
.
Parameters
file:ILoadableFile — The ILoadableFile .
| |
appDomainPolicy:String (default = null ) — The policy to retrieve the ApplicationDomain .
| |
secDomainPolicy:String (default = null ) — The policy to retrieve the SecurityDomain .
|
LoaderContext — The created LoaderContext .
|
See also
getSoundContext | () | method |
public function getSoundContext(file:ILoadableFile):SoundLoaderContext
Retrieves a SoundLoaderContext
that will be attached
to the specified ILoadableFile
.
Parameters
file:ILoadableFile — The ILoadableFile .
|
SoundLoaderContext — The created SoundLoaderContext .
|