Be a Supporter!

x & y doesn't change on keyframes?

  • 290 Views
  • 3 Replies
New Topic Respond to this Topic
tcc85811
tcc85811
  • Member since: Oct. 12, 2008
  • Offline.
Forum Stats
Member
Level 03
Blank Slate
x & y doesn't change on keyframes? 2010-06-08 13:07:56 Reply

I have a MovieClip with multiple keyframes. On each of those keyframes are a set of 4 MovieClips whose x and y properites are different depending on the frame. Oddly enough though, when that MovieClip changes frames in game, those 4 MCs retain the x and y properties they had on whichever frame the MovieClip was sent to when the swf compiled.

If anyone understands the situation and has any Idea why this is happeneing, please help.

Rapelsin
Rapelsin
  • Member since: May. 31, 2010
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Response to x & y doesn't change on keyframes? 2010-06-08 13:17:43 Reply

Can you post the .fla, I'm not so sure I get the problem.


Rape l Sin or I R Apelsin, which ever suits me best...

Now I'll Trololo your face with an Apelsin!

Xyresic
Xyresic
  • Member since: Dec. 15, 2006
  • Offline.
Forum Stats
Member
Level 19
Musician
Response to x & y doesn't change on keyframes? 2010-06-09 07:18:32 Reply

At 6/8/10 01:17 PM, Rapelsin wrote: Can you post the .fla, I'm not so sure I get the problem.

I agree, can you link to your file in your NG dump? i don't know what your problem is


bork bork bork

Kevin
Kevin
  • Member since: Jan. 5, 2008
  • Offline.
Forum Stats
Member
Level 36
Melancholy
Response to x & y doesn't change on keyframes? 2010-06-09 10:18:52 Reply

Make a code that changes the x,y positions on every frame.

Something like
function moveMC1(){
	_root.MC1._x = 0;
	_root.MC1._y = 0;
};

moveMC1();

Something like that.


BBS Signature