The StudioClassAccessor provides a utility to get a reference to the class at runtime.
To ensure that there aren't compile-time dependencies (to save file size), use this utility if you need to access the class at runtime. Also, use this when a child SWF needs to access a class that it was not compiled with.
var expandingClass:Class = StudioClassAccessor.getClass( StudioClassAccessor.CLASS_EXPANDING);
Constants
Name | Value | Description |
---|---|---|
CLASS_CONFIGURABLE | com.google.ads.studio.configurable.Configurable | The Configurable fully qualified class name. |
CLASS_CONFIGURABLE_PREVIEW | com.google.ads.studio.configurable.ConfigurablePreview | The LayoutsPreview fully qualified class name. |
CLASS_ENABLER | com.google.ads.studio.HtmlEnabler | An alias for the HTML Enabler's fully qualified class name for backwards compatibility. |
CLASS_ENABLER_PROXY | com.google.ads.studio.ProxyEnabler | The Proxy Enabler fully qualified class name. |
CLASS_EXPANDING | com.google.ads.studio.expanding.Expanding | The Expanding component fully qualified class name. |
CLASS_F2F_ENABLER | com.google.ads.studio.F2fEnabler | The Flash in Flash Enabler fully qualified class name. |
CLASS_HTML_ENABLER | com.google.ads.studio.HtmlEnabler | The HTML Enabler fully qualified class name. |
CLASS_LAYOUTS | com.google.ads.studio.layouts.Layouts | The Layouts fully qualified class name. |
CLASS_LAYOUTS_PREVIEW | com.google.ads.studio.layouts.LayoutsPreview | The LayoutsPreview fully qualified class name. |
CLASS_LIGHTBOX | com.google.ads.studio.innovation.lightbox.Lightbox | The Lightbox fully qualified class name. |
CLASS_LIGHTBOX_PROXY | com.google.ads.studio.innovation.lightbox.proxy.Lightbox | The proxy Lightbox fully qualified class name. |
CLASS_PLAYLIST | com.google.ads.studio.video.Playlist | The Playlist fully qualified class name. |
CLASS_RMDA | com.google.ads.studio.rmda.RmdaEnabler | The RMDA Enabler fully qualified class name. |
CLASS_VIDEO_CONTROLLER | com.google.ads.studio.video.VideoController | The Video Controller fully qualified class name. |
CLASS_VIDEO_PLAYER | com.google.ads.studio.video.VideoPlayer | The Video player fully qualified class name. |
CLASS_VIDEO_PLAYER_ADVANCED | com.google.ads.studio.video.VideoPlayerAdvanced | The Video player advanced fully qualified class name. |
CLASS_VIDEO_STREAMING_CONNECTION | com.google.ads.studio.video.SmartStreamingConnection | The Video streaming library fully qualified class name. |
CLASS_VPAID_ENABLER | com.google.ads.studio.VpaidEnabler | The VPAID Enabler fully qualified class name. |
Constructors
StudioClassAccessor()
StudioClassAccessor is a util and should never been instantiated.
Static Methods
StudioClassAccessor.getClass(fullyQualifiedClassName:String, returnProxyClassWhenRunningLocally:Boolean=true)
:
Class
Gets the class as defined in the current application domain.
StudioClassAccessor.getInstance(className:String)
:
Object
Gets an instance of the specified component if it exists. Otherwise returns null.