dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: reflection?

  1. #1
    Member
    Join Date
    Dec 2003
    Location
    In front of my computer at the moment.
    Posts
    86

    reflection?

    Is there any way that I can "reflect" the contents of a movie clip? I'm having something move around, but do not want to build a left AND right set up for animation. Is there any way to use only the left, and somehow flip horizontally all of the frames for right, with actionscript?
    I have a Retarded Leg.
    http://www.emptydoor.com

  2. #2
    ActionScript Insomniac
    Join Date
    Jan 2003
    Location
    43d03.21'N, 89d23.65'W
    Posts
    1,173
    Make a left-hand side in the library, called halfClip. Then do something like:
    code:

    var ls = _root.attachMovie("halfClip", "leftSide", 1);
    var rs = _root.attachMovie("halfClip", "rightSide", 2);
    rs._xscale = -100;


  3. #3
    Member
    Join Date
    Dec 2003
    Location
    In front of my computer at the moment.
    Posts
    86
    Alright, thanks.
    I have a Retarded Leg.
    http://www.emptydoor.com

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