DoubleClick Studio AS3 API Reference

class com.google.ads.studio.utils.FunctionUtils

Tools for working with functions and DisplayObjectContainers.

Constants

NameValueDescription
QUOTE_STRIP_REGEXP

Static Methods

Expand
FunctionUtils.getTarget(scope:flash.display:DisplayObjectContainer, scopeTraversal:Array) : DisplayObjectContainer

Returns a DisplayObjectContainer instance from a starting DisplayObjectContainer and an array containing strings of scope traversals.

Expand
FunctionUtils.stringToDisplayObjectContainer(initialScope:flash.display:DisplayObjectContainer, traversalLiteral:String) : DisplayObjectContainer

Converts a literal string of DisplayObjectContainer display list traversals to a DisplayObjectContainer.

Expand
FunctionUtils.stringToFunction(stringFunction:String, defaultScope:Object, callerScope:flash.display:DisplayObjectContainer) : Function

Turns a string into a function call. This is useful when a user enters a method name in a text input.

Expand
FunctionUtils.stringToObject(initialScope:flash.display:DisplayObjectContainer, traversalLiteral:String) : Object

Converts a literal string of DisplayObjectContainer display list traversals to an Object. The final element of the dot delimited string does not need to be a DisplayObjectContainer.

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