ActionScript 3.0 Cookbook: Solutions for Flash Platform and Flex Application Developers

[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y]

main routine

    image viewer/slideshow application 

    scheduler application 

main.asc, video chat/message center application 

makeDependent( ) method 

makeTitleBar( ) method 

makeViewPane( ) method  2nd 

masks, Drawing API and 

matching patterns  [See pattern matching]

math  [See calculations]

Math object 

Math.cos( ) method 

Math.currencyFormat( ) method 

Math.degToRad( ) method 

    DrawingMethods.as file 

Math.floor( ) method 

Math.formatNumber( ) method 

Math.FV( ) function 

Math.getDistance( ) method 

Math.PMT( ) function 

Math.PV( ) function 

Math.random( ) method 

Math.round( ) method 

Math.sin( ) method 

Math.zeroFill( ) method 

mathematical operators 

    > 

    >= 

    < 

    <= 

    assignment operators

        compound 

        equality operators and 

    assignment statements 

    equality 

    postfix operators 

    prefix operators 

    trigonometric 

maxchars property 

maxhscroll property 

maximum length of text input field 

maxscroll property 

Menu (image viewer/slideshow application) 

menus

    Flash Player items, hiding 

    forms 

        adding 

        dependent 

        selected items 

        setDataProvider( ) method 

        sizing 

    image viewer/slideshow application 

    pop-up 

    populating, recordsets and 

message boxes, forms 

messageNum property 

methods 

    addItem( ) 

    addItemAt( ) 

    addListener( ) 

    addProperty( ) 

    adjustWidth( ) 

    allowDomain( )  2nd 

    appendChild( )  2nd 

    application.onAppStart( ) 

    application.onConnect( ) 

    application.onDisconnect( ) 

    Array class 

    Array.push( ) 

    attachSound( )  2nd 

    attachVideo( ) 

    beginFill( ) 

    beginGradientFill( ) 

    bindFormatFunction( ) 

    bindFormatStrings( ) 

    call( ) 

    callback methods, Flash Paint components 

    Camera.get( ) 

    CF.http( ) 

    CF.query( ) 

    Color.getTransform( ) 

    Color.setRGB( ) 

    Color.setTransform( )  2nd  3rd 

    concat( )  2nd 

    connect( ) 

    createElement( ) 

    createEmptyMovieClip( )  2nd 

    createNewSound( )  2nd 

    createTextNode( ) 

    curveTo( )  2nd  3rd 

    Date( ), number generation 

    Date.doMath( ) 

    Date.elapsedTime( ) 

    Date.toString( ) 

    deal( ), playing card simulation 

    degToRad( ) 

    drawCircle( )  2nd 

    drawEllipse( ) 

    drawRegularPolygon( ) 

    drawSimpleRectangle( ) 

    drawTriangle( ) 

    duplicateMovieClip( ) 

    elapsedDays( ) 

    elapsedYears( ) 

    endFill( ) 

    fadeIn( ) 

    fadeOut( ) 

    getBounds( ) 

    getBytesLoaded( )  2nd 

    getBytesTotal( )  2nd 

    getDay( ) 

    getFullYear( ) 

    getMonth( )  2nd 

    getPan( ) 

    getSelectedItem( ) 

    getService( ) 

    getTime( ) 

        number generation 

    getTransform( ) 

    getValue( )  2nd 

    getVolume( ) 

    globalToLocal( ) 

    hitTest( )  2nd 

    hitTestOutline( ) 

    image component (image viewer/slideshow application) 

    Image View Component (image viewer/slideshow application) 

    indexOf( ) 

    insertBefore( ) 

    join( ) 

    lastIndexOf( ) 

    lineStyle( )  2nd 

        curves 

    lineTo( )  2nd  3rd 

    loadMovie( )  2nd 

    loadSound( )  2nd 

    loadVariables( ) 

    LoadVars.getBytesLoaded( ) 

    LoadVars.getBytesTotal( ) 

    LoadVars.load( )  2nd 

    LoadVars.send( ) 

    LoadVars.sendAndLoad( ) 

    LocalConnection.connect( ) 

    localToGlobal( ) 

    makeDependent( ) 

    Math.cos( ) 

    Math.currencyFormat( ) 

    Math.degToRad( ) 

    Math.floor( ) 

    Math.formatNumber( ) 

    Math.getDistance( ) 

    Math.random( ) 

    Math.round( ) 

    Math.sin( ) 

    Math.zeroFill( ) 

    Microphone.get( ) 

    Mouse.hide( ) 

    moveTo( )  2nd 

    movie clip playback 

    movie timelines 

    MovieClip class 

    MovieClip.attachMovie( ) 

    MovieClip.createInputTextField( ) 

    MovieClip.createTextField( ) 

    MovieClip.duplicateMovieClip( ) 

    MovieClip.fade( ) 

    MovieClip.getNewDepth( ) 

    MovieClip.gotoAndPlay( ) 

    MovieClip.gotoAndStop( ) 

    MovieClip.loadMovie( ) 

    MovieClip.onEnterFrame( ) 

    MovieClip.play( ) 

    MovieClip.prevFrame( ) 

    MovieClip.setInterval( ) 

    MovieClip.stop( ) 

    MP3 player application 

    NetServices.createGatewayConnection( ) 

    NetStream.play( )  2nd 

    NetStream.publish( ) 

    nextFrame( ) 

    Object.registerClass( ) 

    objects and 

        custom 

    onChanged( )  2nd 

    onEnterFrame( ) 

    onKillFocus( ) 

    onLoad( ) 

    onSetFocus( )  2nd 

    onSoundComplete( ) 

    onSync( ) 

    parseDate( ) 

    play( ) 

    playToPoint( ) 

    prevFrame( ) 

    query( ) 

    radToDeg( ) 

    randRange( ) 

        playing card simulation 

        random-number generation 

        rolling dice 

    RecordSet.addItem( ) 

    RecordSet.addItemAt( ) 

    RecordSet.filter( ) 

    RecordSet.getColumnNames( ) 

    RecordSet.getItemAt( ) 

    RecordSet.sortItemsBy( ) 

    RegExp.exec( ) 

    reverse( ) 

    seek( ) 

    Selection.setFocus( ) 

    Selection.setSelection( )  2nd 

    send( ) 

    setButtons( ) 

    setDataProvider( ) 

    setFullYear( ) 

    setGroupName( ) 

    setMask( ) 

    setMonth( ) 

    setNewTextFormat( ) 

    setPan( )  2nd 

    setPositions( ) 

    setSelectedIndices( ) 

    setStyleProperty( ) 

    setTime( ) 

    setTransform( )  2nd  3rd 

    setValidator( ) 

    setVolume( ) 

    SharedObject.flush( ) 

    SharedObject.getProperty( ) 

    SharedObject.onSync( ) 

    slice( )  2nd 

    sort( )  2nd 

    sortOn( ) 

    splice( ) 

    split( )  2nd 

    start( ) 

    startDrag( ) 

    static 

    stop( ) 

    String.charCodeAt( ) 

    String.fromCharCode( ) 

    String.match( ) 

    String.replace( ) 

    String.simpleReplace( ) 

    String.split( )  2nd 

    subclasses 

    submitToURL( )  2nd 

    substr( ) 

    substring( ) 

    superclasses, subclass versions 

    swapDepths 

    System.security.allowDomain( ) 

    System.showSettings( ) 

    TextField.setTextFormat( ) 

    toLowerCase( ) 

    toUpperCase( ) 

    trim( ) 

    validate( )  2nd 

    video chat/message center application 

    XML class 

    XML.load( ) 

    XML.send( ) 

    XML.sendAndLoad( )  2nd 

    XMLNode class 

Microphone.get( ) method 

minutes, milliseconds formatting 

modules, My Page application 

    configuration 

    service modules 

month name, retrieving 

Moock Flash Player Inspector 

mortgage calculation 

mouse pointer

    coordinating with scroll pane 

    custom 

Mouse.hide( ) method 

mouseovers, movie clips 

moveSongDown( ) function 

moveSongUp( ) function 

moveTo( ) method  2nd 

movie clips

    adding from library 

    animation, circle instances 

    as buttons 

    attachMovie( ) method 

    attributes 

    boundaries 

    buttons, hit area 

    ColorSelector component 

    controlling 

    coordinate spaces, converting to/from Stage 

    copying 

    depths

        swapping 

        unique depths 

    dragging 

    duplicating 

    empty 

    fading 

    frame rate, repeating actions and 

    hit tests 

    mouse pointers 

    mouseovers 

    nested

        accessing 

        for...in statement 

        parents 

    overlapping 

    playback

        reversing 

        timeline 

    playback methods 

    properties, timeline variables 

    referencing 

    repeating actions 

    stacking order, changing 

    targeting 

        Sound objects 

    targets, dynamic names 

    text display 

    timelines

        methods affecting 

        sound and 

    transparency 

MovieClip class

    Drawing API methods 

    subclassing 

MovieClip.attachMovie( ) method  2nd 

MovieClip.createEmptyMovieClip( ) method 

MovieClip.createInputTextField( ) method 

MovieClip.createTextField( ) method 

MovieClip.drawCircle( ) method 

MovieClip.drawEllipse( ) method 

MovieClip.drawRegularPolygon( ) method 

MovieClip.drawSimpleRectangle( ) method 

MovieClip.drawTriangle( ) method 

MovieClip.duplicateMovieClip( ) method 

    depths 

MovieClip.fade( ) method  2nd 

MovieClip.getNewDepth( ) method 

MovieClip.gotoAndPlay( ) method 

MovieClip.gotoAndStop( ) method 

MovieClip.loadMovie( ) method 

MovieClip.onEnterFrame( )

    _alpha property 

    event handler  2nd 

MovieClip.play( ) method 

MovieClip.prevFrame( ) method 

MovieClip.setInterval( ) method 

MovieClip.setMask( ) method 

MovieClip.stop( ) method 

    stop( ) function and 

movies

    communication 

    communication between

        accepting from other domains 

        broadcasting to remote shared object clients 

        different computers 

        local connections and 

        receipt validation 

        same computer 

    external MP3 sound 

    initializing, XML data and 

    sharing information 

    subscribing to audio/video content (FlashCom server) 

    .swf files, loading  2nd 

MP3 player application

    features 

    JukeboxController 

    local selector 

        Flash movie connection 

        form page 

        submit page 

    main jukebox movie 

    server selector 

        ColdFusion Component (CFC) 

        Flash movie creation 

        HTML page creation 

        implementation notes 

    testing 

MP3 sounds, loading external to Flash movies 

multidimensional arrays 

multipage forms 

    submitting to URLs 

    validation 

MultiPageForm class 

My Page application 

    address book module 

    components, adding 

    file operations 

    framework 

        extending 

        form 

        modifications 

    function sharing 

    LSO, limiting 

    modules 

        configuration 

        service modules 

    notes module 

    openUnit( ) function 

    planning 

    scalability and 

    search module 

    server-side shared objects 

    UnitComponent 

    UnitComponentBar 

myPage.fla file 

Категории