Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-16-2004, 08:05 PM   #1
mike0372
Registered User
 
Join Date: Oct 2003
Location: montréal
Posts: 30
Default drag&drop confirmation

hey guys,

i'm having problem with my conditional loop. i'm creating a drag&drop & looking for quick way to program it & update it.

my MC are named "target01, 02..." & "drag01, 02...". i want my script to say:
when the submit button is clicked, if "drag01" is on "target01" & "drag02" is on "target02"... to provide some positive feedback. if not, to provide negative feedback.

i'm having a lot of syntaxe errors so need help on this one.

thanks,

m.
mike0372 is offline   Reply With Quote
Old 07-22-2004, 12:57 AM   #2
curryjon51
Registered User
 
Join Date: Jul 2003
Posts: 257
Default

Hi

Think that does the job. By the way, it is easier/better to start counting all your mc's etc, from zero and not 1. Also, drag0,drag1...etc is better than drag01. Just makes it a lot easier in the long run when using forloops and counters.

hth
Attached Files
File Type: zip ddConfirm.zip (4.4 KB, 131 views)
curryjon51 is offline   Reply With Quote
Old 07-22-2004, 02:48 PM   #3
mike0372
Registered User
 
Join Date: Oct 2003
Location: montréal
Posts: 30
Default

hi c,

thanks for tip & the zip file. i'll try it out.

thanks again,

m.
mike0372 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:28 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.