Moving Buttons - Stationary Text
I am creating a simple interface that has several buttons for navigation. I want to create a behavior that displays a description of the button when you mouse over. Simple enough using the "over" state. However, once a button has been clicked, it slides to a new location on the screen. I want the descriptions for all buttons to always be in the same location regardless of where the button has moved. I'm guessing that this could be accomplished by setting up a text box that displays some variable and that mousing over the buttons changes the variable. Am I close? I have not yet dealt with action script so I am not sure where to start.
Thanks in Advance!
-Tex-
FlashKit > Flash Help > Flash Newbies
Posted on: 03-23-2004, 03:42 PM
View Complete Forum Thread with Replies
Sponsored Links:
Stationary Text Field Linked To Rollover On Scroll Bar Buttons
Hello everyone,
I'm new to flash, and I started using MX about a month ago. I'm trying to create a scrollable bar of buttons, that moves due to mouse position. I accomplished that, but what I need now is a text description that comes up in a stationary place as you rollover each button.
I tried this in several different ways but none of them work without it moving along with the scrolling buttons. I have the fla, and an example swf up on my idisk. I would apprecite any comments or help. Thanks.
Link:
http://homepage.mac.com/WebObjects/F...leSharing.html
View Replies !
View Related
Buttons Not Stationary At Movie Start?
Can someone please have a look at this fla file. It is a compilation of borrowed scripting and customization but I for the life of me cannot figure out why the buttons fly in from the left of the movie when it starts. They should just be stationary in one place.
Please help me!?
View Replies !
View Related
How To Create A Stationary Pop Up Text When Image Is Rollovered?
hi guys,
i want to create a pop up text on the bottom of my flash application whenever a button
is rollovered. this makes it convenient for the user to know what is it about before proceeding to click
on the button to find out what it is. i was thinking about having a variable thingy. meaning that.
each image contains some kind of overwriting data, when the image is rollovered,
the dyamic text located on the bottom will automatically refreshed from an empty data to
the input of the image rollover given, when it is rollout, the data will be emptied back
is it too difficult to do? i dont have the basic skills in making the variable actionscript
================================================== ======================
Credit: napulj + macaroni ted
Solution 1 : Napulj method
Create 1 button & 1 dynamic text
Give the dynamic text instance name = "info"
Add the following codes in the button
Code:
on(rollOver){
info.text="this is a button" ;
info._visible = true ;
}
on(rollOut){
info._visible = false ;
}
Solution 2 : Macaroni Ted method
Create 1 button & 1 dynamic text
Give the dynamic text variable name = "info"
Add the following codes in the button
Code:
on(rollOver){
_root.info="this is a button"
}
on(rollOut){
_root.info=""
}
View Replies !
View Related
How To Make Stage Text Appear On Rolling-over Moving Buttons?
hello - i have a question that might be pretty easy to solve, but i just can't figure it out - i'd really appreciate any help!
basically, i have a few buttons on my page, that are hovering around. they have proper rollover states (like they light up or whatever) - but what i'm trying to do, is make text appear on the stage in one single place when someone rolls over a button -- (like text in the corner of the stage explaining what the button will take them to.) i obviously can't put this text in the rollover state of the button, or the text will move along with the button. does anyone know how i could do this?
thanks in advance!!
View Replies !
View Related
Stationary Carousel
I would like the carousel to be stationary and when you click on a picture or mc that it comes to the front (if mc play that mc). Than when you click on it a second time it will do what the carousel would normally do when you click on the picture now (go to the holder) and move to the side like in the carousel tutorials. I do not want the carousel to move based on the movement of the mouse. Kind of like this one at Adobe http://www.adobe.com/products/photoshop/family/?promoid=BPDEK thanks for any help that anyone can provide.
This based on the tutorial by Lee Brimelow at www.gotoandlearn.com which I am able to load swf files instead of text. Please help.
View Replies !
View Related
Stationary Cursor Following
OK..So I want to create an mc or something in the upper left corner of a page that acts like a compass. So that where ever your cursor is on the page the arrow on the "compass" points to it. Is there a fairly simple tutorial for this is can someone help me with the AS. (basically cuz Im retarded when it comes to AS). Thanks.
View Replies !
View Related
Reflect Of A Stationary Circle
Im working on a baketball game in which you drag and arrow in the distance and direction in which you wanna shoot, and the thorw it.
I can't figure out how to calculate the direction at which the ball would come off of the back/front rim of the basket.
So basiclly what im looking at is collision detection amung a moving circle and a stoped on, so i can't swap move values like i've seen in some of the tuts and submissions here.
Any ideas are great. Thank You.
View Replies !
View Related
[CS3] Stationary Mouse Follow
I am trying to create a tv remote control, with a mouse following thumb. I do not want the thumb to always follow the mouse, only when the mouse is over the remote. The thumb should also be stationary, or attached to the hand at all times. Is this possible, I believe it is. Can someone please help?
View Replies !
View Related
Creating A Stationary Pop Up Video On A Web Page- Help
I am working on a web site for my company and we specialize in creating a lot of internet videos. I really want to create an effect where one of our videos can pop up on top of our web page with a transparent background and play through without moving as people scroll. The model I am using is on jokeland.com for a better idea of what I am talking about. Any help would be greatly appreciated. Thanks!
View Replies !
View Related
Help Needed Finding Tutorial In Making Stationary Objects Look 3d
as said in the subject line, I'm looking for a tutorial in making a stationary object look relatively 3d
I'm not talking about moving the camera around the screen or any action scripting special effects
I'm talking about a tutorial that shows me some tips and tricks into creating an object that looks relatively 3d
for example, the 3 in the attached .fla file
I have tried looking on the internet and forums and stuff but either i'm blind or stupid cause all i could find was stuff to do with moving the camera around the screen or using actionscript to do special looking things.
ur help will be greatly appreciated
View Replies !
View Related
Detect Keyboard Release / Help Making A Walking Character Return To Stationary Stance
Hi,
Im making a walking character which moves <left> <right> <down> <up>. Im using a simple button which looks at which key the user is pressing and getsproperty for the correct action. Its all very nice until i found out i don't know how to make the character return to its normal forward stance.
Is it possible that on a button i can detect a keyboard release, or somehow insert the button (which has all the actionscript on) into a loop checking for if a key is being pressed?
thanks for your help and time
Jim
View Replies !
View Related
Moving Buttons
should be an easy one for you guys, but i'm a bit of a moron!
I have a single colomn of 5 buttons. I want the button that is clicked (whichever one) to move to the bottom of the row and for the others to shift up to fill the space. I should know how to do this but i think imay have over done it on the festivities!
If i havn't explained myself well, you can see what i mean at http://www.nooflat.nu
I want the same effect as the menu bar on the right hand side.
Merry Christmas one and all.
cheers,
michael.
[Edited by Michaelhill on 12-26-2001 at 05:06 PM]
View Replies !
View Related
Moving Buttons?
is there an action for the buttons to make it move?
like say i have a couple buttons on the left side of the screen. press one and i see them move to the right side of the screen, press the other and they move back to the left.
and i'm not talking about instantanceous movement, i want to see the buttons "tween" over to whatever location.
is it possible to tween buttons? or is it only movie clips? or do i have to do some sneaky stuff like when i click the button, i replace it with a movie clip, move it, and then replace it again with a button.
please dont tell me i have to do that...
View Replies !
View Related
Moving A MC With Buttons
Hello.
I want to slide a MC left or right depending on what button I click. I have a MC with ten distinct points on it (picture thumbnails) and need it to slide to the correct image on the clicking of each of the ten buttons. I've tried applying my Director logic but have not succeeded as yet...
Please help if you can... Thanks, John
View Replies !
View Related
Moving Buttons
Hi I have created a flash movie at the following address http://www.indigoimagination.com/fi.swf
I am trying to make the moving balls work as buttons. Currently the balls are buttons within movieclips that are placed on the stage. The buttons won't work when I add an onRelease goto frame/scene action.
I can't figure out why and was hoping that someone might be able to help me, cheers, Jim
View Replies !
View Related
Moving Buttons...
I am trying to build these buttons that drop down onto the page. I figured how to get them to do that, now I want them to stay together as all of the frames run in the shockwave-flash file. The problem right now is twofold:
1. The bottom buttons zooms off to the right diagonally, then reappears back where it should. How can I fix that?
2. If I click the 'contact' button, the bottom button or the top 'home' button all of the buttons that descended from the top of the screen disappear and do not descend down from the top of the screen as they originally did. How can I get the buttons to just stay in the same place?
thanks,
Peter
Here is the link to problem buttons...
http://www.victormatthews.org/buttonmania1.html
View Replies !
View Related
Moving A MC Using Buttons.
Im trying to figure out how to make a movie clip move by hovering the mouse cursor over a button.
I Have a movie clip with 3 images in it (there all the same, a seamless background) and I want to make them scroll left and right when the mouse hovers over different buttons.
Any help would rock.
I tried everything I could think of.
I want it to move continously untill the mouse moves off of the button.
Thanks guys!
View Replies !
View Related
Moving Buttons
hello
does anyone know how to do the moving buttons thing on this site? wen you click a link the other buttons move out of the way to reveal some more menus. check out this link you will see what i mean.
http://www.englandagency.com/england.html
thanks a lot
Nik
View Replies !
View Related
Moving Buttons
Hi,
Im try to make some moving buttons but im having a problem.
I turn all the buttons into a Movie clip and then put this in for the movie clip
code:
onClipEvent (load) {
speed= -.1;
windowheight= 400
}
onClipEvent (enterFrame) {
this._y += (_root._ymouse-windowheight/2)*speed;
if (_y<_height*-1+windowheight) {
_y=_height*-1+windowheight+1;
} else if (_y>0) {
_y=0;
}
}
But when I play it, the movie clip always starts in the middle of the screen and moves upwards and I cant get it to move down past the middle or start lower down on the screen.
How can I change this?
Thanx so much for your help
View Replies !
View Related
Moving Buttons
Hi,
I am trying to create a scrolling column of thumbnail buttons. I saw this effect on the Nelly.netwebsite under pictures. I am trying to do the same thing.
I have attached what I have so far.
I am having trouble placing the column so that it scrolls within the viewable area. I would like the thumbnails to scroll until the top pic is in view and then stop. The same on the bottom, as the bottom pics viewablity stops all the photos from scrolling any further.
If anybody can help me that would be amazing...
Thanx
View Replies !
View Related
Moving Buttons
hello,
here : http://dev01xy.free.fr/flash/
you can see five letters acting like buttons
I would like,
when you roll over one the five letters (for example the "s"),
to make the four others moving away (you still see them
on the screen)
and when you roll out the "s"
to make them moving back.
also, when you click the "s", (the four letters have moved),
you load a window(*.swf) and I would
like as long as the window is opened, not make
able the four letters to move back wherever your mouse
is on the screen.
only when you close the window, the four letters
are moving back.
I would like the same behaviour for each button
thank in advance if there is a tutorial
to help
View Replies !
View Related
Re: Moving Buttons
hi im kinda new to flash (i know about the basics but not that very good in coding) so was looking for some help
i have a freelance project that requires
the centre page to have 5 words floating about
but when u put the mouse over them , the other words
disappear leaving the main word with a definition
at the moment im think of making a movie with buttons contained it
but not sure
View Replies !
View Related
Moving Buttons
I have been looking around this forum and havent found what i need to know....
So, here goes.....I want to have a list of buttons on the side of my stage. These will always be the same,but i need them to move the stack below them down when they are clicked....or possible a mouse over. They will each show a scrolling dynamic text box. Any help will be appreciated
View Replies !
View Related
Moving Buttons
want to roll over a button, in this case, btnGarretO.
on the roll over i want a movie clip to appear (mcGarretO) and also move two buttons down (btnWestonLawson, btnBelame). the MC mcGarretO appears fine but the two buttons do not move. i have the linkage set but no difference.. someone please help?
PHP Code:
on (rollOver){
mcGarretO._visible=true;
mcGarretO._y=25;
mcGarretO._x=-10;
btnWestonLawsone._y=24.8;
btnBelame._y=37.7;
}
see attached file, this code is in Members section inside mcTheUnion
View Replies !
View Related
Moving A Pic Using Buttons
I have a window with a large pic behind it and small thumbs that select different pics.
I want to use four small buttons with arrows to move the picture up, down, left and right.
The pics are on a layer in different frames that the small thumbs take you to.
Each button I want to move the pics with is on a seperate layer not sure if thats important.
Can anyone give me some ideals on how to make this work.
View Replies !
View Related
[F8] Moving Buttons
hi everybody!
i'd like to know how to make buttons move in the direction the mouse is moved.
like this site:
http://www.sydneyblu.com/
i was playing with this code, but still I do not obtain the wished effect:
import mx.transitions.Tween;
mc1.onRollOver=function(){
var tw1:Tween = new Tween(mc1, "_x", mx.transitions.easing.Bounce.easeOut, this._x, this._x+30*Math.random(), 3, true);
var tw2:Tween = new Tween(mc1, "_y", mx.transitions.easing.Bounce.easeOut, this._y, this._y+30*Math.random(), 3, true);
var tw3:Tween = new Tween(mc1, "_rotation", mx.transitions.easing.Bounce.easeOut, this._rotation, this._rotation+30*Math.random(), 3, true);
}
i guess it isn't difficult, but i don't know so much actionsript.
thanx in advance, i hope you can help me...
cheers!
View Replies !
View Related
[CS3] Moving Buttons
hi guys
having a slight problem, in my site I want to have buttons that when clicked they move accross the screen to become the title of that particular bit off content (which is externally loaded). I then want to be able to click my other buttons and, firstly, have the previous button move back accross to it's original place and have the newly clicked button move accross to be the new title. Each are animated with an intro and outro and I've coded in for flash to detect which frame the head is on as to which to animate, the only thing is it's skipping out the middle bit of the code, I assume because its running everything at once, or something along those lines. Any help greatly appreciated, providing this makes sense of course.
this is the code for one of the buttons
contact_btn.onRelease = function(){
if(this._currentframe==15){
gotoAndPlay(42);
}else if (this._currentframe==28){
gotoAndPlay(56);
}else{
gotoAndPlay(69);
}
gotoAndPlay(29);
}
so, it selects the correct outro dependent on what frame the head is at then after that plays the correct animation for contact button '29', am i missing something?
Cheers guys
View Replies !
View Related
Moving Buttons
hi everybody!
i'd like to know how to make buttons move in the direction the mouse is moved.
like this site:
http://www.sydneyblu.com/
i was playing with this code, but still I do not obtain the wished effect:
import mx.transitions.Tween;
mc1.onRollOver=function(){
var tw1:Tween = new Tween(mc1, "_x", mx.transitions.easing.Bounce.easeOut, this._x, this._x+30*Math.random(), 3, true);
var tw2:Tween = new Tween(mc1, "_y", mx.transitions.easing.Bounce.easeOut, this._y, this._y+30*Math.random(), 3, true);
var tw3:Tween = new Tween(mc1, "_rotation", mx.transitions.easing.Bounce.easeOut, this._rotation, this._rotation+30*Math.random(), 3, true);
}
i guess it isn't difficult, but i don't know so much actionsript.
thanx in advance, i hope you can help me...
cheers!
View Replies !
View Related
Moving Around The Buttons
Hi,
I have 3 buttons in my movie and description for each button in the right side box like in the diagram.
bt_about, bt_profile, bt_contact
Now when I click on about - the about button should move from the stage and profile and contact button should move to the first and second place with an easing movement.
Same in case I click on profile - the profile should move out of the stage and other 2 buttons should come to the first and second position with an easing movement.
I tried this with creating number of movie clips with each possibilities etc.. but it is not going to happen...
I think their is a way with actionscript.. If somebody knows please help me to do this..
View Replies !
View Related
Moving Buttons
Hi there,
I have a series of movieclips that I have added to the screen, they are all the same size (just rectangles) and lie in a horizontal line.
What I want to do is start a rollover countdown on any of the boxes which if the mouse hovers long enough over a box its width will expand. This is working, however what is not working is that when one box expands I need the others to move out of the way to allow for the expanded boxes new width.
All of the boxes belong to the same parent movie clip, I know how to make the boxes move out of the way, but only by adjusting each boxes x value individually. There has to be a more efficient way of doing this, the only way that springs to mind is to adjust the parent of all the boxes that need to move to the left. This would then allow me to move this clip which would in turn move all the boxes out of the way.
Any thoughts would be great,
Thanks.
Nathan
View Replies !
View Related
Moving Buttons
I'm pretty much an amateur with Flash, and I want to make a button in the shape of a tentacle that swishes when mouseover. I drew a tentacle as a movieclip, then separated it out into individual movie clips, and turned the whole thing into a button. So I've got a button made up of movie clips.
Ok, next I animated the individual pieces and I've got it how I want it. But when I test it, it only plays the first frame, and the second if I click. I want it to keep looping through the whole thing until it's clicked or the mouse is taken off it, but I have no idea how to do it.
Here's my terrible attempt:
http://www.nagrom.org.uk/rob/website borders.fla
View Replies !
View Related
Help With Moving Buttons
I am totally new with flash. I am using the following tutorial which I believe I followed correctly. http://www.flash-game-design.com/flash-tutorials/advWebsite-flash-tutorial.html
I have edited the site just a bit adding my own graphics and colors. The problem is that when you first view the site all the buttons stay in the up position. Once you click each one once, they function properly. Here is the script that I have.
stop()
content.gotoAndStop("home")
current = menu.home_button
setMove = true;
yMove = -10
menu.home_button.onPress = function(){
if(this != current){
current._y = 0
setMove = true
content.gotoAndStop("home")
current = this
}
}
menu.league_button.onPress = function(){
if(this != current){
current._y = 0
setMove = true
content.gotoAndStop("league")
current = this
}
}
menu.photos_button.onPress = function(){
if(this != current){
current._y = 0
setMove = true
content.gotoAndStop("photos")
current = this
}
}
menu.downloads_button.onPress = function(){
if(this != current){
current._y = 0
setMove = true
content.gotoAndStop("downloads")
current = this
}
}
menu.forum_button.onPress = function(){
if(this != current){
current._y = 0
setMove = true
content.gotoAndStop("forum")
current = this
}
}
this.onEnterFrame = function(){
if(setMove){
if(yMove < current._y){
current._y --
}else{
setMove = false
}
}
}
Also here is a link to the actual site that I have published. http://67.175.252.196/New%20Site/Test%20Website.html
Any help would be greatly appreciated.
View Replies !
View Related
Moving Buttons
Hey
I've created a mc with some buttons in it. It's a MC that should move when you roll your mouse over it. It has all sorts of different buttons but when I roll over the mc it moves to the right. Some kind of rolling panel. So the panel rolls out and you are supposed to be able to click on the buttons on the panel. But when the panel rolls out you can't click the buttons anymore. The code I used to make the panels + buttons move:
ActionScript Code:
on (rollOver) { gotoAndPlay(2);}on (rollOut) { gotoAndPlay(16);}
So can anyone help me?
View Replies !
View Related
Moving Buttons
hi everybody!
i'd like to know how to make buttons move in the direction the mouse is moved.
like this site:
http://www.sydneyblu.com/
i was playing with this code, but still I do not obtain the wished effect:
import mx.transitions.Tween;
mc1.onRollOver=function(){
var tw1:Tween = new Tween(mc1, "_x", mx.transitions.easing.Bounce.easeOut, this._x, this._x+30*Math.random(), 3, true);
var tw2:Tween = new Tween(mc1, "_y", mx.transitions.easing.Bounce.easeOut, this._y, this._y+30*Math.random(), 3, true);
var tw3:Tween = new Tween(mc1, "_rotation", mx.transitions.easing.Bounce.easeOut, this._rotation, this._rotation+30*Math.random(), 3, true);
}
i guess it isn't difficult, but i don't know so much actionsript.
thanx in advance, i hope you can help me...
cheers!
View Replies !
View Related
Moving Around The Buttons
Hi,
I have 3 buttons in my movie and description for each button in the right side box like in the diagram.
bt_about, bt_profile, bt_contact
Now when I click on about - the about button should move from the stage and profile and contact button should move to the first and second place with an easing movement.
Same in case I click on profile - the profile should move out of the stage and other 2 buttons should come to the first and second position with an easing movement.
I tried this with creating number of movie clips with each possibilities etc.. but it is not going to happen...
I think their is a way with actionscript.. If somebody knows please help me to do this..
View Replies !
View Related
Moving Buttons...
Hi guys,
I came across the following website:
http://www.benji.hu/assive/
I really like the site in general, but particularly the navigation and transition between the various pages. I'm attempting to create something similar, but was wondering if anyone has any ideas as to how it was done? I can't figure out how each button knows where to relocate itself once another button has been clicked.
Any help would be appreciated!
Cheers, Chris
View Replies !
View Related
Moving Buttons
Hey
I've created a mc with some buttons in it. It's a MC that should move when you roll your mouse over it. It has all sorts of different buttons but when I roll over the mc it moves to the right. Some kind of rolling panel. So the panel rolls out and you are supposed to be able to click on the buttons on the panel. But when the panel rolls out you can't click the buttons anymore. The code I used to make the panels + buttons move:
ActionScript Code:
on (rollOver) { gotoAndPlay(2);}on (rollOut) { gotoAndPlay(16);}
So can anyone help me?
View Replies !
View Related
Moving Buttons?
Hm, say I have a "sidebar" that scrolls onto the Flash canvas from the right side using the following:
Code:
onClipEvent (load) {
this._x = 681;
}
onClipEvent (enterFrame) {
if (this._x>521) {
this._x -= 5;
}
}
At the moment, it is an empty sidebar. Is there any way to create a "moving" button that moves onto the screen simultaneously with the sidebar?
View Replies !
View Related
Moving Buttons
hi everybody!
i'd like to know how to make buttons move in the direction the mouse is moved.
like this site:
http://www.sydneyblu.com/
i was playing with this code, but still I do not obtain the wished effect:
ActionScript Code:
import mx.transitions.Tween;
mc1.onRollOver=function(){
var tw1:Tween = new Tween(mc1, "_x", mx.transitions.easing.Bounce.easeOut, this._x, this._x+30*Math.random(), 3, true);
var tw2:Tween = new Tween(mc1, "_y", mx.transitions.easing.Bounce.easeOut, this._y, this._y+30*Math.random(), 3, true);
var tw3:Tween = new Tween(mc1, "_rotation", mx.transitions.easing.Bounce.easeOut, this._rotation, this._rotation+30*Math.random(), 3, true);
}
i guess it isn't difficult, but i don't know so much actionsript.
thanx in advance, i hope you can help me...
cheers!
View Replies !
View Related
Moving Buttons
i had a previous post by the same name but i didnt get my problem solved so..., i need to make a menu like on www.fontsforflash.com exept i want it to tell movie clips to play rather than having the actuall buttons move with x and y commands, understand, i hope so
View Replies !
View Related
Moving Buttons
i am trying to make a navigation menu for the site im working on, i want it to have buttons that move when clicked on similar to the menu on fontsforflash.com but dont know much about actionscript further than i need it, if you know how to do this, please drop me a line, thanks
View Replies !
View Related
Layer Where Buttons Are Moving Under It
I am sure this is a quick fix.
I have made a site where I have some buttons in the middle of the page. Then I have made at news drop down which goes over the buttons in the middel. My problem is that I want to be able to move the cursor around inside my news drop down without the buttons underneath moving because the cursor is over them. I cant see the buttons when the drop down is on, but the cursor react anyway. What do I do?
I am sorry if this question has been asked before but I couldn't find it
Tx
Jan
View Replies !
View Related
BUTTONS WON'T STOP MOVING
ok I have some flash buttons on my site, but everytime someone enters the site they are supposd to fly in and set there. But instead when they fly in they start over and LOOP. So when you want them to stop you have to right click and click loop. How can I make them not automattically load in loop?
If you are confused on what i am talking about then go to: http://www.kingofshred.cjb.net
View Replies !
View Related
How To Control A Moving Mc With Buttons
I have a mc which is moving from right to left continuously by reducing _x value.
I want to control this moving mc with buttons. Like stopping, playing, move back, move forward.
If there is no action by user on buttons, the mc should continuously move from right to left.
any help is greatly appreciated. Thanks in advance
hkhyd
View Replies !
View Related
Moving Buttons (Flash 5)
Hi,
What im looking to be able to do is have buttons animating across the screen, which, when rolled over will stop and animate.
eg. picture little circles floating across the screen. When the user rolls over any one of them... that circle will just stop. There will then be a little animation while the mouse is over (i.e. a name of button appearing). Once the user rolls off the circle the animation closes and the circle continues on its floating path.
I hope this is explained well enough.
I have a rough idea how this may work, however i am wondering if anyone can point me to a tutorial they feel may help me. Or if anyone can help me.
regards
Spiderman
View Replies !
View Related
|