A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: swftools problems

  1. #1
    Junior Member
    Join Date
    Jul 2009
    Posts
    3

    swftools problems

    I am just trying to load a graphic and move it. here is my code.

    .flash bbox=200x200 version=6 fps=50 name="test.swf" compress

    .jpeg sprite "test.jpg"

    .sprite ball
    .frame 1 .put sprite
    .end

    .put that= ball

    .frame 1
    .action:
    stop();
    that.onLoad = function(){;
    that._x = 200;
    that._Y = 50;
    };
    that.onEnterFrame = function(){;
    that._x += 5;
    };
    .end
    .end

    I ran it through SWFC. it produced no errors. when I opened the SWF, i saw the graphic, but it did not move. this is getting frustrating! any help?

  2. #2
    Junior Member
    Join Date
    Jul 2009
    Posts
    3
    Hello!! Can anybody give me an answer!!???!??

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center