Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-31-2007, 02:52 PM   #1
janisiv
Registered User
 
Join Date: Feb 2007
Posts: 23
Default Animated Button with AS3

I have two problems that i would like to resolve and maybe some of you could give me some hints and point into the right direction.

I have created a class which makes a rectangular object which will function as a button. How can I add an animation to this button once it is created from the main class?

I want a circle to tween in from left on MouseOver and tween out on MouseOut within that rectangle. The question is, where do I put this circle? Do i created it as a seperate instance and then add to the rectangle or created it within the rectangle and then hide it or use masks.

The second question is, once the animation has been resolved, where should i put the text field, as a seperate instance on top of the rectangle or within it.

I am just confused since this is my first attempt at OOP and AS3.

Help would be appreciated.
Thank you,
Yanis
janisiv is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
6 Button movieclip Problem Using AsBroadcaster systemfx ActionScript 2.0 2 05-22-2007 11:33 PM
Animated Button Question... jacob1234 ActionScript 2.0 3 04-26-2007 06:39 PM
Animated button not working! HELP! ncmedia ActionScript 1.0 (and below) 2 01-12-2006 09:16 PM
Animated Flash Button On Mouse Over and Out waseembari1985 ActionScript 1.0 (and below) 1 01-05-2006 04:41 AM
Actions not working on animated button. FaceEraser ActionScript 2.0 3 09-18-2005 01:45 AM


All times are GMT. The time now is 12:41 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.