473,385 Members | 1,372 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Squeeze buttons aside

neliy
32
Hey there! I'm trying to create a menu with 5 buttons and I want it to make the following movement. At the time the mouse is over a button, the button will get bigger and squeeze aside the rest of the buttons. I found through a tutorial code that makes objects to move away form the mouse cursor and I was wondering if this would work in my menu, while seting a movie clip 4 each button in the over state? (the code includes mouse coordinates which I think is irrelevant with what I want to do) If not, any suggestions? Thnx
Jul 3 '07 #1
3 1417
xNephilimx
213 Expert 100+
Hey there! I'm trying to create a menu with 5 buttons and I want it to make the following movement. At the time the mouse is over a button, the button will get bigger and squeeze aside the rest of the buttons. I found through a tutorial code that makes objects to move away form the mouse cursor and I was wondering if this would work in my menu, while seting a movie clip 4 each button in the over state? (the code includes mouse coordinates which I think is irrelevant with what I want to do) If not, any suggestions? Thnx
What do you man by "squeeze asaide the rest of the buttons"? is your menu vertical?

When I'm doing animated rollovers, I usually do this:

I make the main movieclip that hols the button states (off, over and sometimes a press state), inside that movieclip I put another movieclip with the text inside. So in the first movieclip I can animate the movieclip with the text in any way I want, then, in the main timeline I write the code for the buttons to work. Sounds a little complicated, but notice that I do this when I load the buttons dynamically from an XML file, so it's really easier.

Specify a little more about what you want and I'll help you.

good luck!
Jul 4 '07 #2
kestrel
1,071 Expert 1GB
Hey there! I'm trying to create a menu with 5 buttons and I want it to make the following movement. At the time the mouse is over a button, the button will get bigger and squeeze aside the rest of the buttons. I found through a tutorial code that makes objects to move away form the mouse cursor and I was wondering if this would work in my menu, while seting a movie clip 4 each button in the over state? (the code includes mouse coordinates which I think is irrelevant with what I want to do) If not, any suggestions? Thnx
I know exactly what you are talking about, and i had the perfect example with source and everything. I just cant find it. I'll keep searching, you should too. I'll get back to this
Jul 4 '07 #3
neliy
32
i wont stop looking 4 it but if you ll find it youll help me so much!
Jul 4 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Mathias Waack | last post by:
Hi, I've got a problem with Fredrik's squeeze tool. I've got a script which accesses a Oracle DB with the help of DCOracle. This script works very well, but after squeezing it the "import...
40
by: Greg G | last post by:
http://risky-biz.com/new/risky.html I finally got DSL service recently, but I haven't forgotten the agony of waiting for the 64th image to load before I can see ANYTHING on a page. So I will...
5
by: Lyn | last post by:
Hi, I hope someone can help. I have a main form which mostly fills the Access window. In the bottom half of this form I have a tab control to display various types of data related to the main...
5
by: arnuld | last post by:
it compiles without any trouble but produces "Segmentation Fault" when i try to run it. since i am at chapter 2 so my knowledge of arrays is limited to chapter 1: -------------------------...
4
by: Ron | last post by:
I want to create 10 buttons on a form at runtime, the code below is only creating one button labeled 1. Any idea what I am doing wrong? Public Class Form1 Public code(10) As String Public...
3
by: Ron | last post by:
Can anyone help me out? I am trying to add buttons numbered one through 10 at runtime to a form. I think they are getting added but they seem to be getting stacked one on top of each other. so...
0
by: SeeSharp Bint | last post by:
Ive just noticed that Ive lost all the vendor supplied tabs and controls from my design time toolbox in visual studio 2003. Is there any quick way to retrieve them aside from manually adding them...
2
by: dpazza | last post by:
Hi, I'm creating a quiz on using a form in VB 2005 express. I have four sets of questions and answers (labels and radio buttons) and I change between which set of questions is currently shown on...
0
docdiesel
by: docdiesel | last post by:
Hi all, on my Linux system I got a logfile containing lines like these: ab=0;cb-ok=1;valid=1;nr=23412;txt=sometext;md5=5A4D6e342... ab=27;cb-ok=0;valid=0;nr=8754;txt=othertext;md5=3A763C5......
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.