# Can anyone explain this bug?

**URL:** https://forum.kirupa.com/t/can-anyone-explain-this-bug/275278
**Category:** flash
**Created:** [November 12, 2008, 1:18am UTC](https://forum.kirupa.com/t/can-anyone-explain-this-bug/275278 "2008-11-12T01:18:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![arunforce](https://avatars.discourse-cdn.com/v4/letter/a/858c86/32.png) [@arunforce](https://forum.kirupa.com/u/arunforce)
#### Post date: [November 12, 2008, 1:18am UTC](https://forum.kirupa.com/t/can-anyone-explain-this-bug/275278/1 "2008-11-12T01:18:10Z")

</div>

Inside the attached .rar  
Two seperate objects are made, object A and object B, but they share the same variable (only works with arrays) even though they aren’t linked in any way. Any changes made to A is reflected in B, and vise versa.

How would I go about fixing this issue? (SIMPLY, aka I don’t want to write a class or whatever, I just want to know if I am doing something wrong, like not writing new or something) :look:

The attached movie clip creates a corresponding object. 🅱
