Drag and Drop Tutorial in Flash Actionscript 3 (Part 1 of 3)
Loading...
16,672
Loading...
Uploader Comments (DNDigital)
see all
Video Responses
see all
All Comments (46)
-
Cool stuff!! THX for sharing!!
-
@Artinostiger Hiya - You can use 'addChild' to add new visual content in the drag-and-drop if-statement. I've replied in more detail to your direct message.
-
Hi Teacher
how we replace the Trolley after each drop ?
and how we can give tshirts priority for dropping?
Thx
Loading...
I didn't know Arnold Schwarzenegger could use Flash!
kevinduffy89 1 week ago
@kevinduffy89 He IS very versatile!! There was a discussion about this on one of the other videos already by the way ;) Hope you enjoy the rest of the tutorials...
DNDigital 6 days ago
Why do you make so many folders? net.dndigital.dragdrop? I got it going on and it took me days. I am a rookie, but I got all the way with part one and part two and it works. The trouble I am having, is any adjustment I make to code will not take to be published. However, if I save the script file (WhiteShirt.as), then open it again, whatever previous changes I made to the external action script will take place. Why is that? I am using cs4 pro. Your remind me of my brother. Pure genius.158 IQ. :)
YouSpamTard 2 months ago
@YouSpamTard Maybe I should ask your brother to do these instead :) Make sure you save your .as file first before publishing - it's easy to forget. The folders are important as they prevent conflicts between different projects. You might be able to set up an empty folder structure that you use as a template for projects (eg. 'view', 'data', 'buttons' etc). External code editors (FlashDevelop is free, FlashBuilder costs) will create the folders for you automatically too. Hope that helps!
DNDigital 1 month ago
Hello good afternoon
I have a question, when I go to the properties of the symbol in the "base class" should have written - flash.display.MovieClip
But this field goes out alone when I click "ok".
Are there connections between the movieclip and AS file, but gives no error and the code works correctly.
can you help me?
thank you
JoaoSoaresLima 2 months ago
@JoaoSoaresLima If you've defined a custom class in the first 'Class' field, then you don't need to edit the BaseClass field (it should probably just say 'flash.display.MovieClip'). The first field defines the name of the class and you would normally put in a whole package identifier ('net.dnd.MyClass'). If you just put a single name ('MyClass') without a separate .as file, that also works - Flash will warn you and create its own class with that name based on 'base class' when you publish.
DNDigital 1 month ago