|
|
|
#1 |
|
Junior Member
Join Date: Apr 2003
Location: vancouver, b.c. (canada)
Posts: 6
|
custom rotation...
hi everyone... i'm have'n a bit of trouble with a custom graphic...
imagine the recycle'n symbol ( three arrows in a circle ) ... well i'd like to rotate the graphic so that the ' arrow ' that was clicked is on top... and repeat for the other arrows indefinately ... i'm try'n to keep it simple but any ideas are welcome... thanks .. and take care...
__________________
- live long and prosper - |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Feb 2004
Location: Los Angeles
Posts: 2,920
|
Call your arrows arrowA, arrowB and arrowC. Implement them as copies of the same arrow graphic movieclip and put them (rotated and positioned) in a container movie called recycle_mc.
Arrow A should be in the 'home position' on the top. Arrow B should be the next arrow, clockwise. Make sure the arrows are named within the container movie symbol, and that the container movie is named on the stage. This is so that in the following script, references like recycle_mc.arrowA will work. This script should be attached to the frame where the recycle_mc first appears.
EDIT: Reversed the 120 and 240 after testing - see below. Last edited by jbum; 10-19-2004 at 03:26 AM. |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Feb 2004
Location: Los Angeles
Posts: 2,920
|
Attached is the above script, with an accompanying movie to test it.
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Apr 2003
Location: vancouver, b.c. (canada)
Posts: 6
|
.. thank you my marvelous friend ( i hope i can call you a friend ) ... this works like a charm ( the code ) .. thanks again.. and i owe you one.. take care.. live long and prosper...
__________________
- live long and prosper - |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Feb 2004
Location: Los Angeles
Posts: 2,920
|
Coolness - now just don't forget to recycle!
|
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|