Hello there. I am quite new working with Flash. I have Flash Macromedia Professional 8 and I'd like to create something involving the drag and drop to snapping targets using a model I've find it very useful.
I have only one problem: The example has only one button that spawn a single type of item. I'l like to have 2 more buttons that spawn another two different items. So I have made another 2 more buttons named ("Create Item 2" & "Create Item 3") at the bottom of the screen, and here is the problem: I don't know how to make them to create a different item every time each of them is pressed. I've tried several times modifying the main script but it appears I'm missing something important. In other words, I would like the script to be like this: When button "Create Item" is pressed, it generates an infinite number of "Item1" which can be dragged and snapped in the inventory; When "Create Item2" is pressed, it generates an infinite number of stickable "Item2" and the same with the third button, it creates a different Item to show up and dragged to the desired targets.
If you really want to tell me how to do it, it would be great. I didn't count how much time I've spent to find an answer to this problem and I looked over the entire WWW to find a solution and simply there is not! I believe this is not something impossible to achieve, I mean....since it works to generate an item, this should work (at least theoretically) for an infinite number of other "Library" items.
Once again, if any of you could give me a hint or advice to point me in the right direction, I would be sincerely greatful. Thank you all for your time.
PS: I have attached the FLA file in case someone wants to take a look over my problem.