Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with drag & drop

Status
Not open for further replies.

npec

Technical User
Feb 11, 2003
1
PT
I have a .swf file that contains drag & drop objects and it works well. When I load this file in a diferent flash level (in this case level 1), the validation of targets doesn't work.
The code used to validate is:
if ((_root.drag1._droptarget == "/traget1") && (_root.drag2._droptarget == "/target2")

Do I have to change the code?
 
It's not just because you spelled 'target1' wrong is it? Usually a _root reference should be the same no matter what level you've loaded the clip into.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top