Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE FLASH:HomeFlash ForumFlash TutorialsFlash Video TutorialsWeb Streaming ForumAdobe FlashPodcast

Re: How can i add buttons to every blade of this interactive wheel? And in turn i want to connect the buttons to a flv playback menu. Any suggestions?

COW Forums : Adobe Flash

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


demetri tashieRe: How can i add buttons to every blade of this interactive wheel? And in turn i want to connect the buttons to a flv playback menu. Any suggestions?
by on Jul 13, 2012 at 4:29:00 pm

i don't use AE that much so i won't comment on that

however, what i explained is exactly possible and seems to be what you are asking for. rather than the major problem being having the 'blades' act as 'buttons' ( very easy in flash ) , it is rather to have the 'button' distinguish between a desired 'button click' as opposed to the 'mouse-down' of the drag and drop.

attached is an example illustrating it all. it was an old fashioned rotating television dial that i created for someone years ago. inside the dial movieclip, which has the instance name 'mc', i placed several new movieclips to act as 'buttons'. these are the 'colored blades'. they in turn have instance names corresponding to thier colors. i also added a semi-transparent mask to give it more of the feel of your original example where only half the dial was shown

4399_rotatingdial2.swf.zip

you can rotate the dial with the 'blades' at will via drag and drop ( you already know how to do that...)
each 'blade/button' is coded to listen for a double click, which will trigger a function, in this case to write the name of the 'button' double clicked in the dynamic text field.

if you are not sure how to target one movieclip symbol inside another, it is done with 'dot syntax'.
therefore the movieclip symbol with instance name 'red' inside the dial clip named 'mc'
would be targetted like this: mc.red
example:
mc.red.addEventListener(MouseEvent.DOUBLE_CLICK, myFunction);

i hope that makes more sense and helps


Posts IndexRead Thread
Reply   Like  
+1
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]