DoubleClick Studio AS3 API Reference

class com.google.ads.studio.display.StudioLoader

Takes care of setting the correct ApplicationDomain within child files via import loading. This is equivalent to serving the child SWF off the same domain as the parent, as long as the cross-domain file on the child SWF server permits it. This class also takes care of wrapping all URLs with the Enabler getUrl API call.

The following example illustrates how to make your standard loading routines compatible with DoubleClick Studio. Your normal loading routine should look similar to this:
   import flash.display.Loader;
   import flash.net.URLRequest;
    
   var myLoader:Loader = new Loader();
   var req:URLRequest = new URLRequest("child.swf");
   myLoader.load(req);
   
Change the code above to:
   import com.google.ads.studio.display.StudioLoader;
   import flash.net.URLRequest;
    
   var myLoader:StudioLoader = new StudioLoader();
   var req:URLRequest = new URLRequest("child.swf");
   myLoader.load(req);
   

Instance Methods

Defined in com.google.ads.studio.display:StudioLoader

Expand
load(request:flash.net:URLRequest, context:flash.system:LoaderContext=null) : void

Loads a SWF, JPEG, progressive JPEG, unanimated GIF, or PNG file into an object that is a child of this Loader object. Note that checkPolicyFile is always false. Please use the flash.display.loader if you wish to take advantage of checkPolicyFile.

Back to top

  1. com.google.ads.studio
    1. AssetLoader
    2. ContextualDiscovery
    3. F2fEnabler
    4. FullScreenButton
    5. HtmlEnabler
    6. ProxyEnabler
    7. VpaidEnabler
  1. com.google.ads.studio.configurable
    1. Configurable
  1. com.google.ads.studio.display
    1. StudioLoader
  1. com.google.ads.studio.events
    1. StudioEvent
    2. StudioVideoEvent
  1. com.google.ads.studio.expanding
    1. Expanding
  1. com.google.ads.studio.localconnect
    1. LocalConnectWrapper
  1. com.google.ads.studio.video
    1. ConfigurableVideoPlayer
    2. EnhancedVideoController
    3. PlayPauseButton
    4. Playlist
    5. Scrubber
    6. SoundToggleButton
    7. VideoController
    8. VideoEntry
    9. VideoPlayer
    10. VideoPlayerAdvanced
  1. com.google.ads.studio.vpaid
    1. VpaidTimer