PDA

View Full Version : drag slowmotion


wgf
01-19-2003, 11:41 PM
i made a 5 buttons that say :

on (press) {
startDrag ("_root.a", false, 360, 30, 360, 30);
}
on (release, releaseOutside, rollOut, dragOut) {
stopDrag ();
}

They goal is that i put some spots on movie a. in the middle of the screen. But now its gow real fast and i want that it rolls there slow.
can somboty help me? You can see the swf here:

www.tutchfor.nl/wgf/images/testt.swf

farafiro
01-20-2003, 08:27 AM
u just need to re-sort the numbers again

wgf
01-20-2003, 08:33 AM
??

farafiro
01-20-2003, 08:58 AM
the dragging option "Constrain to recnamgle", is a bit tricky but note that
if u put the same number within the two opposite direction, the draggable won't move, just - as in your case - will jump to this area and stop

wgf
01-20-2003, 09:18 AM
you now a ather trink to let the movie flow to a spot like in my swf but than not jump but flow. And i want the movie in the bagground to grow slowly for ever i tryed this but did'nt work: onClipEvent (mouseDown) {
setProperty ("_root.a", _height, "%120");
}
onClipEvent (mouseDown) {
setProperty ("_root.a", _width, "%120");
}

farafiro
01-20-2003, 09:25 AM
for growing//grow button
on(press){
grow = true
}
on(release){
grow = false
}
//shrink button
on(press){
shrink = true
}
on(release){
shrink = false
}
//code for the "a" mc
onClipEvent(enterFrame){
if(_root.grow){
this._xscale = this._yscale +=10
}
if(_root.shrink){
this._xscale = this._yscale -=10
}
}
for the dragging, I need to know the coordinates

wgf
01-20-2003, 09:27 AM
the cordinates change because of the growing

farafiro
01-20-2003, 09:29 AM
don u mean u want to drag the holder u want to drag the mc in??

wgf
01-20-2003, 02:00 PM
ehm.. well i want 2things i want the bagground movie to grow verry slowly and forever so if you stay on the site for a year it's REALY BIG!!! and i want buttons that say show that spot in the movie.

farafiro
01-20-2003, 02:56 PM
Originally posted by wgf
ehm.. well i want 2things i want the bagground movie to grow verry slowly and forever so if you stay on the site for a year it's REALY BIG!!! ........... so, I wonder when do the proccessor BOMBS OFFFFffffffffffffffff

wgf
01-20-2003, 03:02 PM
:D I'dont think that will be happening because it's the same thing over and over again in vectors and peaple clik to a new page verry soon