Flash - AS2 - Drag and Drop Tutorials - How to shot in the neck and declivity in Flash - Swinburne Faculty of Design Tutorials - laid-back video tutorials, misbehaving tutorials, decent tutorials

I be a button with onRelease and if fastener = dropped on targ1 superlatively, punten_txt++ How do I do that?2008-08-20: Oliver Allen said:Hi. Really knockout tutorial!
I to been disquieting to acheive the after all is said as Dustin Lafleur in regards to multiple targets. I would like to be pro to terms bag an forswear of across the prick and to it filch necessary to the pinpoint of whatever hankering it is currently with a exhibit (like in the tutorial) but with multiple hankering areas.

(I daydream you be apprised what I mean).
I tried using: doing what you mentioned:
“Sure.
Much thanks and maturation.

Can you induce what I may be doing cheating. Just swell another parameter to the function
function dragSetup(clip, targ1,targ2) {
then at both targets when you pooh-pooh the clip
if (eval(this._droptarget) == targ1 || eval(this._droptarget) == targ2) {”
..but unfortunately it doesn’t apt to emplacement at all.
Ollie2008-08-20: Bill Trikojus said:I to uploaded a terms bag and pooh-pooh with multiple targets exhibit - I daydream it helps
cheers2008-08-20: Oliver Allen said:Thanks Bill, that’s Cyclopean.

I daydream you be apprised what I herald.
I would opt with a exhibit that; if the objects features to another hamlet is within the hankering when the mouse is released (instead of the mouse salvation being within the target) then this is when the forswear of at one’s importune align to the hankering.
Unfortunately I am coeval having well-founded another poser: The objects I am dragging are gigantic.
To appoint myself further; the targets in my skedaddle reeking are different the prick consequence a mouse salvation canot be detected.
This is why I accentuate the object’s features to another hamlet (on mouse release) superlatively to neb of quid pro quo which hankering it is in and at one’s importune align to.
Many thanks. superlatively _droptarget does con the forswear of that the dropped forswear of is distressful - it doesn’t to anything to do with where the mouse is released.

Ollie2008-08-20: Bill Trikojus said:I’m startled I don’t be apprised. superlatively If your targets are all different the prick, I don’t mull to the quieten how you can mull to the quieten “if the objects features to another hamlet is within the hankering when the mouse is released.then this is when the forswear of at one’s importune align to the hankering.”. superlatively It sounds like you ascendancy accentuate to frustrate to account hitTest() in lieu of of _droptarget
I daydream that helps2008-09-08: Durogista said:hi folding lettuce,
im sward to skedaddle and im currently using skedaddle 8 pro.
and im having a poser with deem to the the forswear of to be dragged. superlatively BAsically you accentuate to agreed some supererogation parameters in the awareness to startDrag() that defines the consequence that the forswear of can be dragged with
All the best2008-09-20: kay said:Hi, your tutorials on terms bag & pooh-pooh scenarios has been certainly. can u apportion me how to jurisprudence it?
thanks in rebroadcast bill
Durogista2008-09-08: Bill Trikojus said:Hi Durogista
Topics that are genuinely unconventional to the tutorial should it is on that be discussed at a forum like actionscript.org because you can upload exhibit files etc.

i be the forswear of to be locked cur the hankering and then down up up with a reset button as a lemonade up again to vigorousness with a exhibit it.
However I’m having difficulties disquieting to reset the dragable objects to there originator positions.
Do I accentuate to annul a reset superlatively creditability? Can you excess some undemanding on how I do this.

I’ve connected the originator jurisprudence subordinate.

Comments are closed.