Search Results - Flash Kit Community Forums
A Flash Developer Resource Site

Search:

Type: Posts; User: dawsonk

Page 1 of 20 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    12
    Views
    1,200

    PROJECT Sent you a PM

    Sent you a PM
  2. Replies
    39
    Views
    13,607

    Thanks for sharing. You are AWESOME.

    Thanks for sharing. You are AWESOME.
  3. Replies
    12
    Views
    1,200

    PROJECT AS2 or AS3 ? Do clips have center registration...

    AS2 or AS3 ?
    Do clips have center registration or upper left?
  4. var className:String =...

    var className:String = flash.utils.getQualifiedClassName(LibraryItem);
    var myClass:Class = flash.utils.getDefinitionByName(className) as Class;
    var BLOK = new myClass();
  5. Replies
    3
    Views
    676

    import com.greensock.*; import...

    import com.greensock.*;
    import flash.events.MouseEvent;
    import flash.display.MovieClip;
    import flash.geom.Rectangle;

    var item_mc:MovieClip;

    red_mc.addEventListener(MouseEvent.MOUSE_DOWN,...
  6. Replies
    1
    Views
    394

    import flash.events.KeyboardEvent; import...

    import flash.events.KeyboardEvent;
    import flash.events.Event;

    var ballXSpeed:Number = 8;
    var ballYSpeed:Number = 8;
    var moveLeft:Boolean = false;
    var moveRight:Boolean = false;
    var...
  7. Replies
    1
    Views
    596

    function doQuit($e:Event):void { if...

    function doQuit($e:Event):void {
    if (this.root.parent is Loader) {
    var loader:Loader = this.root.parent as Loader;
    loader.unloadAndStop();
    ...
  8. Replies
    4
    Views
    961

    CS3 // place on main timeline, delete existing...

    // place on main timeline, delete existing onClipEvent codes
    var tID;
    var numStars = 50;
    var stars = [];

    star1.onEnterFrame = function() {
    if (random(50) == 0) {
    mc =...
  9. Replies
    4
    Views
    961

    CS3 onClipEvent (load) { _x = _x =...

    onClipEvent (load) {
    _x = _x = random(180);
    _y = _y = random(400);
    _alpha = 80 + random(20);
    _xscale = _yscale = 80 + random(80);
    ct = random(100);
    }...
  10. Replies
    1
    Views
    414

    function handleCollision( e:Event ):void { ...

    function handleCollision( e:Event ):void {
    if (this.hitTestObject(wall)) {
    trace("HIT");
    } else {
    trace("MISS");
    }
    }
  11. Replies
    2
    Views
    729

    Flash5 The easiest way is to store the location of the...

    The easiest way is to store the location of the player, move the player and do the hit test, then move the player back to the stored location.
  12. Thread: transparency

    by dawsonk
    Replies
    2
    Views
    635

    package { import...

    package {
    import flash.display.MovieClip;
    import fl.motion.Color;
    import flash.geom.ColorTransform;

    public class RectangleClass extends MovieClip {
    ...
  13. Change the 2nd function name and the call in the...

    Change the 2nd function name and the call in the event listener...


    btn_1.addEventListener(MouseEvent.CLICK, onClick, false, 0, true);
    function onClick(e:MouseEvent):void{
    navigateToURL(new...
  14. Replies
    4
    Views
    4,733

    var myPointer:Sprite; var btns:Array =...

    var myPointer:Sprite;
    var btns:Array = ["staff099","staff098"];

    stage.addEventListener(MouseEvent.CLICK, onClick);

    function onClick(e:MouseEvent):void {
    if...
  15. Replies
    4
    Views
    878

    Flash8 Maybe you can adapt this to what you are trying...

    Maybe you can adapt this to what you are trying to do...



    package {
    import flash.display.*;
    import flash.ui.*;
    import flash.events.*;
    import...
  16. You are not calling the photoGallery function......

    You are not calling the photoGallery function...


    photoGallery();
    function photoGallery(){
    photos1.addEventListener(MouseEvent.MOUSE_DOWN, startGallery);
    ...
  17. Replies
    1
    Views
    731

    function dist(a, b, c, d) { xd = a - c;...

    function dist(a, b, c, d) {
    xd = a - c;
    yd = b - d;
    return (Math.sqrt(xd * xd + yd * yd));
    }
    function dragobj() {
    a = drag;
    xd = _xmouse - a.x;
    ...
  18. Replies
    1
    Views
    502

    package { import flash.display.*; ...

    package {
    import flash.display.*;

    public class Game extends MovieClip {
    // note - changed background to Background
    private var bg:Background;
    ...
  19. var isOver:Boolean = false;...

    var isOver:Boolean = false;
    myObject.addEventListener(MouseEvent.MOUSE_OVER, doOver);
    myObject.addEventListener(MouseEvent.MOUSE_OUT, doOut);

    addEventListener(Event.ENTER_FRAME,...
  20. Replies
    12
    Views
    2,263

    var myXML:XML; var stX:Number =...

    var myXML:XML;
    var stX:Number = stage.stageWidth;
    var speedX:int = 2;
    var gap:int = 20;
    var index:int = 0;
    var len:int;

    var myLoader:URLLoader = new URLLoader();
    myLoader.load(new...
  21. var my_date:Date = new Date(); var...

    var my_date:Date = new Date();
    var currentHour:Number = my_date.getHours() + (my_date.getMinutes() / 60);
    trace(currentHour)
  22. Replies
    2
    Views
    2,463

    For Escape the room tutorial, take a look at...

    For Escape the room tutorial, take a look at
    http://www.flashclassroom.com/cms/flashclassroom/index.php?vsite=1&Area=327&SubSectionOf=265
  23. Replies
    1
    Views
    905

    Your code works, so how are you creating your...

    Your code works, so how are you creating your object?



    var obj:Object = new Object();
    obj.Model = 'SomeModelNumber';
    obj.EID = 1234;
    obj.ItemID = 5;
    obj.Size = null;
    obj.iLength = 34;
  24. Replies
    3
    Views
    877

    my_mc is the instance name of the movie clip you...

    my_mc is the instance name of the movie clip you want to play


    keyListener = new Object();
    keyListener.onKeyDown = function() {
    if (Key.getCode() == Key.SPACE) {
    if...
  25. Replies
    3
    Views
    810

    Maybe this is something you can adapt... ...

    Maybe this is something you can adapt...


    package {
    import flash.display.*;
    import flash.events.*;
    import flash.utils.*;
    import flash.geom.*;

    public...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com