DoubleClick Studio AS3 API Reference

class com.google.ads.studio.data.Dto

A Data Transfer Object. The Flash authoring environment's XCH object sometimes turns number strings into numeric values. To prevent this, all data transferred between the component UI and the runtime component is transferred using this Dto. Port from AS2 version.

Constants

NameValueDescription
OBJECTobject

An object data type.

STRINGstring

A string data type.

STRING_PREFIX#componentgui#

String used to prevent number-string-to-numeric-value coercion in the XCH object for strings like "004250".

Static Methods

Expand
Dto.enforceValueType(value:Object, opt_inplace:Boolean=false) : Object

Enforces value type by checking if it is a string and, if so, prefixing it with a known delimiter. Otherwise, returns the value.

Expand
Dto.parseValue(value:Object, opt_inplace:Boolean=false) : Object

Parses a value. If the value is a string, strips delimiter from the string.

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