A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: move camera

  1. #1
    Junior Member
    Join Date
    Nov 2008
    Posts
    18

    move camera

    Having a little bit of trouble moving from as2 to as3.

    In as2 when I wanted to move the screen I would say something like this:

    _root._x +=2;

    that would move everything 2px. How do I do that in as3?

  2. #2
    Junior Member
    Join Date
    Feb 2009
    Posts
    12
    maybe

    stage.x += 2;

    ?

  3. #3
    Junior Member
    Join Date
    Feb 2009
    Posts
    12
    or also better yet, i would say move everything you have on the stage as Children into a movieClip container "Parent" and then move the parent

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