panel.bmap = bmap;

You have it - I don't think thats your issue..
can I see the whole function if its not to giving away to much code?


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com