This is a dynamic tooltip window script that sizes and positions itself based on tooltip content size and location on the screen. It calculates it’s own size and current location, and if outside of the stage, reposition itself to remain always visible.
Drag, drop and snap inventory system for Flash games written in ActionScript 2.0.
I updated the previous version of my drag drop and snap inventory system to make it easier to understand. Added the ability to create new dragable items as objects. Also cleaned up & commented all the code.
Create new Draggable Items
Drag & Drop Items
Dropped Items snap to Slot
Each Item stores Slot info
Each Slot stores Item info
Return to previous position if current slot is full
Drag, Drop & Snap Inventory System Sample v2
Download Fla Sample
AS3 version of my inventory system is available here: