I have a neat Mini star map in the upper left of the window that is created by filling the entire layout with stars, copying them to a canvas, and Downsizing that canvas. This becomes a "sector" on the Mini-map. The sector Number IS the Canvas IID. The original stars are deleted, and the process begins again until all sectors are drawn.
While this process is running, I am filling an array:
- X0= Star.x, X1= Star.y
- Y axis position accounts for the individual star (0 is first star, 1 is second ect.)
- Z is the Sector number - which SHOULD correlate with the Canvas IID of the mini-map
<font color="blue">Does that make sense? Anyways, when you click on the mini-map I want the Layout to re-draw the stars relating to the array Z axis matching the Canvas IID. But it looks like the stars dont match the sector in the mini map???? AND 0,0 of the Layout ALWAYS has a bunch of stars on it... WHY!!!! </font>
Can anyone Help? Here is the Link http://www.box.com/s/a1c37e12480b56fa21bc