Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Flash - ActionScript

Drag & Drop Question

 
Jump to:  
 
bigmac031760
PostPosted: Sat Aug 30, 2008 5:31 pm    Post subject: Drag & Drop Question
       
I've searched the database on Drag and Drop Action Script and found them too
complicated for what I need. I just want the user to drag a movie clip and
release it over a box and then jump to frame 22. I'm going to assume the user
is not stupid and will at least get it close to the drop box before release.
With the attached script (AS 2.0), I can get the movie clip to drag and
release, but when I release it, it doesn't jump to frame (22) and begin to
play. You can DL the FLA file off my server.

LINK


Thanks, Kenn

CODE.............

on (press) {
startDrag(this);
}
on (release) {
gotoAndPlay(22);
stopDrag();


}

on (press) {
startDrag(this);
}
on (release) {
gotoAndPlay(22);
stopDrag();


}
 

 
americancuervo
PostPosted: Sat Aug 30, 2008 11:51 pm    Post subject: Re: Drag & Drop Question
       
Give this a try.

_parent.gotoAndPlay(22);

Good Luck
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

sklep motoryzacyjny hurtownia słodyczy przeprowadzki międzynarodowe Pozycjonowanie w google doładowanie