CodePower
- Author was Featured
- Exclusive Author
- Has been a member for 1-2 years
- Referred between 10 and 49 users
- Sold between 1 000 and 5 000 dollars
14
Purchases
Buyer Rating:
5.00 stars
5.00 average based on 5 ratings.
(more information)
-
5 Star
5100%
-
4 Star
00%
-
3 Star
00%
-
2 Star
00%
-
1 Star
00%
| Created | 12 May 12 |
| ActionScript Version | AS3 |
| Documentation | Some Help |
| Flash Files Included | Flash FLA |
| Opens With | Flash CS4 (10+) |
| Published Size | 593kb |
- Smart button
- actionscript3
- as3
- blue
- codepower
- deviantart
- green
- pink
- social button
- stumbleupon
- technorati
- youtube
© All Rights Reserved CodePower -
Contact Envato Support


Great animation
Thanks a lot DaDog
Nice Design !
Thanks a lot, ravi_allam.
Nice work
Thanks ,byharby
Hello, i added the FB button into my project.
The animation doesn’t start, and i also need to add the facebook page url. Can you give me your support?
Thanks
Hi gigiolamassa, Here is the support that you asked for :
////////////////////// Facebook Button facebook_mc.coloredBG_mc.gotoAndStop(2); facebook_mc.blackBG_mc.gotoAndStop(2); facebook_mc.bMode_btn.addEventListener(MouseEvent.MOUSE_OVER, facebookOver); function facebookOver(e:MouseEvent):void{ facebook_mc.gotoAndPlay("s1"); facebook_mc.coloredBG_mc.gotoAndStop(2); facebook_mc.shadowBG_mc.gotoAndStop(2); } facebook_mc.bMode_btn.addEventListener(MouseEvent.MOUSE_OUT, facebookOut); function facebookOut(e:MouseEvent):void{ facebook_mc.gotoAndPlay("s2"); facebook_mc.icon02_mc.gotoAndStop(1); } facebook_mc.bMode_btn.addEventListener(MouseEvent.CLICK, facebookClick); function facebookClick(e:MouseEvent):void{ navigateToURL(new URLRequest("http://www.facebook.com")); }- If you have any questions, just contact me, I’ll be glad to answer you.
- Don’t forget to rate my item if you like it, it’s highly appreciated. Thank You.
Don’t forget to share my item. Thank you.
Nothing’s done. I think it is very complex to insert this Button into Synch template…
Thank you very much anyway.
Hi gigiolamassa, Ii think that I find a solution that it will definitely work. You have to make two steps:
STEP 01 :
The same as the first one with a little change (the change here is to create a new blank project), I’ve re-wrote all the steps with the changes:////////////////////// Facebook Button facebook_mc.coloredBG_mc.gotoAndStop(2); facebook_mc.blackBG_mc.gotoAndStop(2); facebook_mc.bMode_btn.addEventListener(MouseEvent.MOUSE_OVER, facebookOver); function facebookOver(e:MouseEvent):void{ facebook_mc.gotoAndPlay("s1"); facebook_mc.coloredBG_mc.gotoAndStop(2); facebook_mc.shadowBG_mc.gotoAndStop(2); } facebook_mc.bMode_btn.addEventListener(MouseEvent.MOUSE_OUT, facebookOut); function facebookOut(e:MouseEvent):void{ facebook_mc.gotoAndPlay("s2"); facebook_mc.icon02_mc.gotoAndStop(1); } facebook_mc.bMode_btn.addEventListener(MouseEvent.CLICK, facebookClick); function facebookClick(e:MouseEvent):void{ navigateToURL(new URLRequest("http://www.facebook.com")); }STEP 02 :
- Here we are going to load the “face.swf” file who contains our button._ Open your project, and where you want it to appear: in the beginning, in the middle, in the end, when you click button or when you run an action you have just to copy and paste these lines of code (Make sure that you put the “face.swf” file in the same location (directory) as your main file.):
var myURL:URLRequest = new URLRequest("face.swf"); var myLoader:Loader = new Loader(); myLoader.load(myURL); myLoader.x = 200; //You can change the x and y positions. myLoader.y = 40; addChild(myLoader);- If you have any questions, just contact me, I’ll be glad to answer you.
- Don’t forget to rate my item and share it if you like it, it’s highly appreciated. Thank You.
Hello CodePower, you’re very helpful to me, thank you.
But the problem is that the main fla project is controlled by an external as3 class definition, so it doesn’t work this way.
If you have a solution i’ll be grateful to you, if not thank you anyway!
Hi gigiolamassa, You have just to follow my steps : (And this time it will work)
public function facebookOver(e:MouseEvent):void{ f.gotoAndPlay("s1"); f.coloredBG_mc.gotoAndStop(2); f.shadowBG_mc.gotoAndStop(2); } public function facebookOut(e:MouseEvent):void{ f.gotoAndPlay("s2"); f.icon02_mc.gotoAndStop(1); } public function facebookClick(e:MouseEvent):void{ navigateToURL(new URLRequest("http://www.facebook.com")); }- If you have any questions, just contact me, I’ll be glad to answer you.
- Don’t forget to rate my item and share it if you like it, it’s highly appreciated. Thank You.
Thank you very much CodePower!!!! NOW IT WORKS GREAT !!!
What a perfect support! Activeden should have more sellers so professional like you!
5stars never so deserved!
Thanks gigiolamassa, I’m so glad to hear from you that it works. Good luck for your project. See you.
Hello CodePower, i have another little need…
I now have to add also other buttons inside my project, i did some tests but unsuccesfully.
Can you help me to do this?
Thank you!!!
Hi gigiolamassa, good to see you again
– For your request, i will do my best just tell me what do you need exactly.
Thanks to your support i inserted the facebook button into my project, as you can see here: http://www.ristorantedapepe.com/.
Now i want to add under the Facebook button, also others: Youtube and Reddit first an so on with the others, with a smaller size. I think i’ll also buy the other buttons pack.
I’ll be very grateful to you if you can help me to do this.
Thank you! Gigio
Hi Gigio,Sorry for the wait, this past few days i was sick
. now i feel better and i’m working for the support that you requested, just be patient 
Hi Gigio,In this point you have the Facebook button included in your project, so adding the other buttons should be easy
.
- Let say we want to add the “YouTube” Button.- 1 : Open your external AS3 file and in the declaration area paste this code (after the facebook button declaration):
function youtubeOver(e:MouseEvent):void{ youtube_mc.gotoAndPlay("s1"); youtube_mc.coloredBG_mc.gotoAndStop(7); youtube_mc.shadowBG_mc.gotoAndStop(7); youtube_mc.icon01_mc.icon02_mc.gotoAndStop(7); youtube_mc.text_mc.gotoAndStop(6); } function youtubeOut(e:MouseEvent):void{ youtube_mc.gotoAndPlay("s2"); youtube_mc.icon02_mc.gotoAndStop(7); } function youtubeClick(e:MouseEvent):void{ text_txt.text = "YouTube"; }- The function will look like this :
public function youtubeOver(e:MouseEvent):void{ you.gotoAndPlay("s1"); you.coloredBG_mc.gotoAndStop(7); you.shadowBG_mc.gotoAndStop(7); you.icon01_mc.icon02_mc.gotoAndStop(7); you.text_mc.gotoAndStop(6); } public function youtubeOut(e:MouseEvent):void{ you.gotoAndPlay("s2"); you.icon02_mc.gotoAndStop(7); } public function youtubeClick(e:MouseEvent):void{ navigateToURL(new URLRequest("http://www.youtube.com/username")); }- OKAY , Now you want to add the other buttons the steps are the same you have just to keep the same variable instance name so let say you want to add the “Reddit” button if you use this declaration :
- You have to repeat all the last steps and change only the instance name.
- If you have any questions, just contact me, I’ll be glad to answer you.
- Don’t forget to rate my item and share it if you like it, it’s highly appreciated. Thank You.
Hey mate; this work on Android and iOS ?
This Button are not optimized for Android and iOS, but I’ll definitely add this feature in future updates, THANKS.