Ergebnis 1 bis 2 von 2

Thema: [Tipp] Altes und Neues in ActionScript

  1. #1
    TP-Insider Avatar von Madokan
    Registriert seit
    Oct 2002
    Ort
    Berlin/Germany
    Beiträge
    855

    [Tipp] Altes und Neues in ActionScript

    Hi Folks,

    Wer von Euch genauer wissen will, was für Neuerungen sich in ActionScript breit gemacht haben, sollte es mal mit folgenden Codezeilen versuchen:

    PHP-Code:
    ASSetPropFlags(_globalnull81);
    for (
    i in _global) {
        
    trace(i);
        for (
    j in eval(i).prototype) {
            
    trace("\t\t" j);
        }


    Ausgabe:
    PHP-Code:
    XMLUI
    CustomActions
    MMSave
    Cookie
    TextSnapshot
            setSelectColor
            findText
            hitTestTextNearPos
            getSelectedText
            getText
            getSelected
            setSelected
            getCount
    PrintJob
    MovieClipLoader
    URIError
            toString
            message
            name
    TypeError
            toString
            message
            name
    SyntaxError
            toString
            message
            name
    ReferenceError
            toString
            message
            name
    EvalError
            toString
            message
            name
    System
    Accessibility
    Video
    Stage
    TextFormat
    TextField
    Button
            getDepth
            enabled
            useHandCursor
    Key
    Mouse
    Selection
    LoadVars
    XML
            namespaceURI
            localName
            prefix
            previousSibling
            parentNode
            nodeValue
            nodeType
            nodeName
            nextSibling
            lastChild
            firstChild
            childNodes
            attributes
            getPrefixForNamespace
            getNamespaceForPrefix
            toString
            hasChildNodes
            appendChild
            insertBefore
            removeNode
            cloneNode
            addRequestHeader
            getBytesTotal
            getBytesLoaded
            onData
            onLoad
            sendAndLoad
            send
            load
            parseXML
            createTextNode
            createElement
    XMLNode
            namespaceURI
            localName
            prefix
            previousSibling
            parentNode
            nodeValue
            nodeType
            nodeName
            nextSibling
            lastChild
            firstChild
            childNodes
            attributes
            getPrefixForNamespace
            getNamespaceForPrefix
            toString
            hasChildNodes
            appendChild
            insertBefore
            removeNode
            cloneNode
    Sound
    Math
    Array
    String
    Date
    Boolean
    Number
    o
    profile
    clearInterval
    setInterval
    isFinite
    isNaN
    updateAfterEvent
    trace
    parseFloat
    parseInt
    unescape
    escape
    ASSetNative
    ASSetPropFlags
    AsSetupError
    Error
            toString
            name
            message
    ContextMenu
    ContextMenuItem
    LocalConnection
    SharedObject
    Microphone 
    oder

    PHP-Code:
    function allInfo(name) {
        var 
    ziel = eval(name);
        var 
    CR "\n";
        var 
    sep "--------------------";
        
    ASSetPropFlags(zielnull81);
        
    trace("info: " name CR sep);
        for (
    p in ziel) {
            
    trace(p);
        }
        
    trace(sep CR);
    }

    // Einzelne Objekte (Begutachten)
    allInfo("_global");
    allInfo("system");
    allInfo("video.prototype");
    allInfo("microphone.prototype");
    allInfo("localConnection.prototype");
    allInfo("netConnection.prototype");
    allInfo("netStream.prototype"); 
    Ausgabe:
    PHP-Code:
    info_global
    --------------------
    XMLUI
    CustomActions
    MMSave
    Cookie
    TextSnapshot
    PrintJob
    MovieClipLoader
    URIError
    TypeError
    SyntaxError
    ReferenceError
    EvalError
    System
    Accessibility
    Video
    Stage
    TextFormat
    TextField
    Button
    Key
    Mouse
    Selection
    LoadVars
    XML
    XMLNode
    Sound
    Math
    Array
    String
    Date
    Boolean
    Number
    o
    profile
    clearInterval
    setInterval
    isFinite
    isNaN
    updateAfterEvent
    trace
    parseFloat
    parseInt
    unescape
    escape
    ASSetNative
    ASSetPropFlags
    AsSetupError
    Error
    ContextMenu
    ContextMenuItem
    LocalConnection
    SharedObject
    Microphone
    Camera
    NetStream
    NetConnection
    Color
    AsBroadcaster
    XMLSocket
    MovieClip
    Infinity
    NaN
    Function
    Object
    FWEndCommand
    MMEndCommand
    FWJavascript
    MMExecute
    ASconstructor
    ASnative
    --------------------

    infosystem
    --------------------
    setClipboard
    security
    exactSettings
    showSettings
    Product
    capabilities
    __proto__
    constructor
    --------------------

    infovideo.prototype
    --------------------
    clear
    attachVideo
    __proto__
    constructor
    --------------------

    infomicrophone.prototype
    --------------------
    setUseEchoSuppression
    setGain
    setRate
    setSilenceLevel
    __proto__
    constructor
    --------------------

    infolocalConnection.prototype
    --------------------
    domain
    close
    send
    connect
    __proto__
    constructor
    --------------------

    infonetConnection.prototype
    --------------------
    addHeader
    call
    close
    connect
    __proto__
    constructor
    --------------------

    infonetStream.prototype
    --------------------
    setBufferTime
    send
    attachVideo
    attachAudio
    close
    seek
    pause
    receiveVideo
    receiveAudio
    play
    publish
    __proto__
    constructor
    -------------------- 
    Hinweis:
    Diese stammen noch aush Flash MX Zeiten und laufen noch einwandfrei.

    Liebe Grüsse
    Matze K.

  2. #2
    TP-Insider Avatar von Madokan
    Registriert seit
    Oct 2002
    Ort
    Berlin/Germany
    Beiträge
    855
    Neues unter der Lupe:

    PHP-Code:
    infoPrintJob.prototype
    --------------------
    send
    addPage
    start
    __proto__
    constructor
    --------------------

    infoXMLUI
    --------------------
    cancel
    accept
    set
    get
    __proto__
    constructor
    --------------------

    infoTextSnapshot.prototype
    --------------------
    setSelectColor
    findText
    hitTestTextNearPos
    getSelectedText
    getText
    getSelected
    setSelected
    getCount
    __proto__
    constructor
    --------------------

    infoMovieClipLoader.prototype
    --------------------
    _listeners
    removeListener
    addListener
    broadcastMessage
    unloadClip
    getProgress
    loadClip
    __proto__
    constructor
    --------------------

    infoURIError.prototype
    --------------------
    toString
    message
    name
    __constructor__
    __proto__
    --------------------

    infoTypeError.prototype
    --------------------
    toString
    message
    name
    __constructor__
    __proto__
    --------------------

    infoSyntaxError.prototype
    --------------------
    toString
    message
    name
    __constructor__
    __proto__
    --------------------

    infoReferenceError.prototype
    --------------------
    toString
    message
    name
    __constructor__
    __proto__
    --------------------

    infoEvalError.prototype
    --------------------
    toString
    message
    name
    __constructor__
    __proto__
    --------------------

    infoSystem
    --------------------
    setClipboard
    security
    exactSettings
    showSettings
    Product
    capabilities
    __proto__
    constructor
    --------------------

    infoSystem.capabilities
    --------------------
    language
    os
    manufacturer
    windowlessDisable
    localFileReadDisable
    avHardwareDisable
    playerType
    isDebugger
    hasScreenBroadcast
    hasScreenPlayback
    hasPrinting
    hasEmbeddedVideo
    hasStreamingVideo
    hasStreamingAudio
    version
    serverString
    hasAudio
    hasMP3
    hasAudioEncoder
    hasVideoEncoder
    screenResolutionX
    screenResolutionY
    screenDPI
    screenColor
    pixelAspectRatio
    hasAccessibility
    __proto__
    constructor
    --------------------

    infoAccessibility
    --------------------
    updateProperties
    sendEvent
    isActive
    __proto__
    constructor
    --------------------

    infoVideo.prototype
    --------------------
    clear
    attachVideo
    __proto__
    constructor
    --------------------

    infoStage
    --------------------
    _listeners
    removeListener
    addListener
    broadcastMessage
    showMenu
    width
    height
    scaleMode
    align
    __proto__
    constructor
    --------------------

    infoTextField
    --------------------
    StyleSheet
    getFontList
    __proto__
    constructor
    prototype
    --------------------

    infoTextField.prototype
    --------------------
    _listeners
    removeListener
    addListener
    broadcastMessage
    replaceText
    getDepth
    setNewTextFormat
    getNewTextFormat
    removeTextField
    setTextFormat
    getTextFormat
    replaceSel
    __proto__
    constructor
    --------------------

    infoSound.prototype
    --------------------
    getBytesTotal
    getBytesLoaded
    loadSound
    setPosition
    getPosition
    setDuration
    getDuration
    start
    attachSound
    stop
    setVolume
    setTransform
    setPan
    getVolume
    getTransform
    getPan
    __proto__
    constructor
    --------------------

    info: Array
    --------------------
    NUMERIC
    RETURNINDEXEDARRAY
    UNIQUESORT
    DESCENDING
    CASEINSENSITIVE
    __proto__
    constructor
    prototype
    --------------------

    infoString
    --------------------
    fromCharCode
    __proto__
    constructor
    prototype
    --------------------

    infoString.prototype
    --------------------
    substr
    split
    substring
    slice
    lastIndexOf
    indexOf
    concat
    charCodeAt
    charAt
    toLowerCase
    toUpperCase
    toString
    valueOf
    __proto__
    constructor
    --------------------

    infoError.prototype
    --------------------
    toString
    name
    message
    __proto__
    constructor
    --------------------

    infoContextMenu.prototype
    --------------------
    hideBuiltInItems
    copy
    __proto__
    constructor
    --------------------

    infoContextMenuItem.prototype
    --------------------
    copy
    __proto__
    constructor
    --------------------

    infoLocalConnection.prototype
    --------------------
    domain
    close
    send
    connect
    __proto__
    constructor
    --------------------

    infoSharedObject.prototype
    --------------------
    clear
    setFps
    getSize
    close
    flush
    send
    connect
    __proto__
    constructor
    --------------------

    infoMicrophone
    --------------------
    names
    get
    prototype
    __proto__
    constructor
    --------------------

    infoMicrophone.prototype
    --------------------
    setUseEchoSuppression
    setGain
    setRate
    setSilenceLevel
    __proto__
    constructor
    --------------------

    infoCamera
    --------------------
    names
    get
    prototype
    __proto__
    constructor
    --------------------

    infoCamera.prototype
    --------------------
    setCursor
    setLoopback
    setMotionLevel
    setKeyFrameInterval
    setQuality
    setMode
    __proto__
    constructor
    --------------------

    infoNetStream.prototype
    --------------------
    setBufferTime
    send
    attachVideo
    attachAudio
    close
    seek
    pause
    receiveVideo
    receiveAudio
    play
    publish
    __proto__
    constructor
    --------------------

    infoNetConnection.prototype
    --------------------
    addHeader
    call
    close
    connect
    __proto__
    constructor
    --------------------

    infoAsBroadcaster
    --------------------
    initialize
    removeListener
    addListener
    broadcastMessage
    prototype
    __proto__
    constructor
    --------------------

    infoMovieClip.prototype
    --------------------
    getTextSnapshot
    createTextField
    clear
    endFill
    lineStyle
    curveTo
    lineTo
    moveTo
    beginGradientFill
    beginFill
    createEmptyMovieClip
    getSWFVersion
    getInstanceAtDepth
    getNextHighestDepth
    stopDrag
    startDrag
    removeMovieClip
    duplicateMovieClip
    gotoAndStop
    gotoAndPlay
    prevFrame
    nextFrame
    stop
    play
    setMask
    getDepth
    attachVideo
    attachAudio
    getBytesLoaded
    getBytesTotal
    getBounds
    hitTest
    globalToLocal
    localToGlobal
    swapDepths
    attachMovie
    loadMovie
    loadVariables
    unloadMovie
    getURL
    meth
    _lockroot
    tabIndex
    enabled
    useHandCursor
    __proto__
    constructor
    --------------------

    info: Function.prototype
    --------------------
    apply
    call
    __proto__
    constructor
    --------------------

    infoObject
    --------------------
    registerClass
    __proto__
    constructor
    prototype
    --------------------

    infoObject.prototype
    --------------------
    toLocaleString
    isPropertyEnumerable
    isPrototypeOf
    hasOwnProperty
    toString
    valueOf
    addProperty
    unwatch
    watch
    constructor
    -------------------- 
    Hinweis
    Dies sind einige weitere interessante Objekte unter die Lupe genommen.

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

     

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51