Arrow Follow on Release
- Started
- Last post
- 12 Responses
- Buckyball2
Imagine that the looping arrow shown in this .swf is not there. It only appears when you click on a button, following the motion guide along the curve. Then when you click on another button, either to the left or right the arrow would move along the guide to under that selection. Hope that makes sense.
here's the example file:
http://adrenalineshot.com/ngarch…
Can anyone help with this? Pretty urgent.
thanks
- Buckyball20
Is this even possible?
translation *bump
- ********0
you mean something like this? http://www.internettinyawards.co…
- Bitlounge0
Something similar to this?
http://www.kirupa.com/developer/…
- Buckyball20
Yes, similar to the Internet Tiny Awards. On release only. But the arrow would follow a motion curve to the button clicked.
How?
thanks
- Buckyball20
Does this effect use frame calls so the arrow can move along the motion guide mc?
- bulletfactory0
this may help some too
- Buckyball20
anarch, where is that code applied to?
- Anarchitect0
name your menu button and arrow instances ["mybutton" and "arrowmx" for example]
+
an action only layer
+
copy/paste the code
- Anarchitect0
oh
and
a couple of changes were made to the code to avoid a 'loop overlap'...
- Buckyball20
Thanks all for the contributions. In the end, this was the code that bagged the elephant. Just in case anyone had a similar usage for it.
gotoFrame = [1,5,9,13,17,21,25,29,33];//put the frame numbers here
button = [tap,myst,mark,inter,comp,branch... to buttons
for(var ind = 0;ind_global.arrowToFrame){
this.prevFrame();
}
}
- monNom0
maybe a bit late, but a LONG (300frame?) motion-guide tween, with a controller script picking which frame to play could solve for any odd arc shape. a little tinkering could have some smooth easing as well.
just an idea.