Schlagwort: adobe

  • Frame Based Auto Increment (Flash 5)

    Clip | Source ActionScript for Flash MX // Replace with your frame numbers var intFirstFrame = 5; var intLastFrame = 170; // For calculation and display only var intCounter = 0; var strCounter = „0000“; _root.onEnterFrame = function() { intCounter = Math.round(1000*(_currentframe-intFirstFrame)/ (intLastFrame-intFirstFrame)); if (intCounter < 0) { intCounter = 0; } else if (intCounter…

  • Clip „Follow Mouse“

    Clip | Source

  • onUnload getURL

    Experimental! An Example of the onUnload Eventhandler Source files

  • Flash UI Components Set 2 – Draggable Pane

    Clip | Source ActionScript to Open and Close the Draggable Pane function closeMyDraggablePane() { // close pane (instantce is deleted) myDraggablePane.closePane(); } function openMyDraggablePane() { // close first (if already open) closeMyDraggablePane(); // create a new instance of the pane _root.attachMovie(„FDraggablePaneSymbol“,“myDraggablePane“,1000); // set properties myDraggablePane._x = 20; myDraggablePane._y = 60; myDraggablePane.setPaneSize(260, 140) ; myDraggablePane.setPaneTitle(„My Draggable…

  • Brownian Motion / Brownsche Bewegung

    Clip | Source

  • Random Button Functions

    Clip | Source

  • GetRandomFileName

    Clip | Source

  • ScrollButtonsListBox

    Scroll Buttons for a FListBox Clip | Source Original Question What I would like to do is to have an app which has a remote in the flash movie – and if you click on the arrow on the remote with the mouse, then it has the intended effect as using the arrows on the…

  • Load Variables

    Clip | Text | Source Dynamic Textfield

  • Frame Dependant Button Action

    Clip | Source ActionScript for the Button on (release) { var intFrame = _currentframe; switch (intFrame) { case 1 : strDisplay = „Went to frame 2!“; intFrame++; break; case 2 : strDisplay = „Went to frame 3!“; intFrame++; break; case 3 : strDisplay = „Went to frame 4!“; intFrame++; break; case 4 : strDisplay =…