Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Hand Or Arrow. Which Is It And Why?



Hi,
Have been getting as much info on scrolling dynamic text boxes as humainly possible (Tuts, movies, examples) from a number of resource sites.

One thing I have noticed is that when I publish some movies and use the scroll bar the mouse turns to a hand some of the time and stays an arrow (normal cursor pointer) in the rest, but works the same. Is this in the script? Or what...??

I'm sure there is a simple answer to this
AD



FlashKit > Flash Help > Flash Newbies
Posted on: 09-23-2003, 06:51 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Instead Of A Hand I Want A Arrow
i have a main movie where i load a movie called "menu.swf" and from that movie i load one more movie called "this.swf". That movie goes over the menu.swf movie. (the menu is hidden). I load every movie in empty mc in the main movie . My problem is that when i go over the movie with my mouse, the arrows becomes a hand when itīs over the buttons in the menu.swf. (the "menu.swf" is below "this.swf" . i have tried mouse.hide but then everythings goes away. i want the arrow to be there.

please help.

I Want A Arrow Instead Of A Hand
i have a main movie where i load a movie called "menu.swf" and from that movie i load one more movie called "this.swf". That movie goes over the menu.swf movie. ( the menu is hidden) I load every movie in empty mc in the main movie . My problem is that when i go over the movie with my mouse, the arrows becomes a hand when itīs over the buttons in the menu.swf. (the "menu.swf" is below "this.swf" . i have tried mouse.hide but then everythings goes away. i want the arrow to be there.

please help.

I Want A Arrow Instead Of A Hand
i have a main movie where i load a movie called "menu.swf" and from that movie i load one more movie called "this.swf". That movie goes over the menu.swf movie. ( the menu is hidden) I load every movie in empty mc in the main movie . My problem is that when i go over the movie with my mouse, the arrows becomes a hand when itīs over the buttons in the menu.swf. (the "menu.swf" is below "this.swf" . i have tried mouse.hide but then everythings goes away. i want the arrow to be there.

please help.

Instead Of An Hand I Want A Arrow
i have a main movie where i load a movie called "menu.swf" and from that movie i load one more movie called "this.swf". That movie goes over the menu.swf movie. (the menu is hidden). I load every movie in empty mc in the main movie . My problem is that when i go over the movie with my mouse, the arrows becomes a hand when itīs over the buttons in the menu.swf. (the "menu.swf" is below "this.swf" . i have tried mouse.hide but then everythings goes away. i want the arrow to be there.

How Do You Keep The Arrow On A Roll-over? Instead Of The Hand?
how do you keep the arrow on a roll-over? instead of the hand?

Have The Arrow Instead Of The Hand When It Comes To A Button
hi guys
small favior
how can i have the arrow instead of the hand when it comes to a button

How To Get Rid Of The Mouse Arrow/hand
Hi, I have a simple fla file, just a bunch of buttoms with rollovers side by side. How can I get rid of the hand for the mouse, Id rather just see the pics change so perhaps that thin crosshair would be better. is this an actionscript of something? My flashbook doesnt mention it
Thanks!!!

Problems With Hand/arrow Cursor
Hi,

I had a scene in wich I created a custom cursor. Itīs an arrow cursor, because I didnīt want the hand cursor to appear at a certain point. I used the method that macromedia says, creating a movie clip and hiding the mouse (http://www.macromedia.com/support/flash/ts/documents/custom_cursor.htm).

It works fine, but as soon as I go to the other scene, where there's no custom cursor and I want the the regular mouse to show, it happens that the mouse cursor disappears completely.

Any ideas?
Thanks.

Cursor Change: Hand-->arrow
how can I change the hand cursor back to the normal arrow cursor in a flash movie?

I have seen many posts saying how to get it from the arrow to the hand but how about the other way?

example: when the mouse goes over a button it stays in arrow mode.

Change Hand Cursor To Arrow
I have been trying to figure out how to change the cursor from a hand to an arrow. I've searched the message board, and the internet, but nothing I've found seems to work.
In Flash 8, I have a button inside a movie clip. On rollover, I want the arrow cursor. Do I add something to the button code.
Can I change the entire flash file so it always displays the arrow cursor instead of the hand?
Thanks in advance for any assistance.
Pyrate

Displaying Arrow Cursor Instead Of Hand
i wanted to know how they acheive this:

http://www.terminator3.com/

its a cool flash site too.. btw..

if you go to the "downlaod" section and on the right side you will see "post comment" button. If you click on that.. it will popup s small dialogue window for you to type in. While this popup widnow is on top all layers underneath it is darken and fade out.

Now if you move your mouse around.. its a normal arrow.. no hand arrow where links use to be..etc..

I try to do it.. i was able acheive a popup window on top layer and darken the underneaht layer by using a BIG layer to use as my darken layer..

My problem is since the underneath is just overlay with my darken layer, the "hand" cursor is everywhere..etc..

although you cannot click or interact with the underneaht layer, the hand cursor is still there..

SORRY FOR THE LONG EXPLANATION..

I just want to have the top layer active and darken the underneath layer and show normal cursor on it.. only part with hand cursor is the "link" buton on the top active layer..

Button In Flash5: Don't Want The Mouse Arrow Turn Into A Hand ...
I have this button for a scrollbar in Flash5, and I don't want the mouse arrow to turn into a hand when rolling over the button ...

I know I could make a custom mouse arrow, but this feature is slow and buggy ..

Show Hand Cursor Instead Of Default Arrow On Movieclips
I have searched this forum and really tried to figure this out myself, but I haven't made any progress at all.
I load movieclips dynamically with actionscript. I want all these to have the hand cursor instead of the default arrow.

I've read that mc.onPress=function(){}; should solve the problem. I set the alpha property of my movieclips like this:
this["photo_mc"+i]._alpha = 0;
so I thought this would give me the hand cursor:
this["photo_mc"+i].onPress=function(){};
But I was oh so wrong.
this["photo_mc"+i].useHandCursor; doesn't work any better.

Do you have any ideas of how to fix this problem? Thanks in advance.

Make Cursor An Arrow And Not A Hand When User Mouseovers A Swf
How might you do this? Is it something that is done in CSS or in actionscript somewhere?

Debugger Arrow Line Arrow Indicater Invisible
When I try run a project in debug mode, it works as it should, but the arrow that indicates which line the debugger is not visible. I can still step forward (tested with trace commands), but the arrow not there. It makes debugging very difficult. Anyone have this problem before and have a solution?

Thanks!
fitz

Keyboard Shortcut 'Left Arrow' And 'Right Arrow' Don't Work
I have an iMac running CS3 on 10.4.11

I'm using the normal keyboard that came with the mac, and the arrow keys are not moving the playhead in the timeline back or forward a frame at a time. Is there something I need to do to the keyboard to get this shortcut to work?

Scrollpane Change Pointer Hand To Grab Hand
I have a scrollpane and has a image in it, but i would like to change the dragging pointer hand to a open hand and grab hand when mouse down(like dragging the image in photoshop)....Somebody know how to do this???

Rotate Hour Hand In Relation To Minute Hand
i am trying to make a tell the time learning aid

i want the user to click on the minute hand of an analogue clock and turn the minute hand ... got that far ... and then move the hour hand in relation to the minute hand.... ugh !!!stuck here

code so far


Quote:




minuteHand_mc.onPress=function () {
// stop analogue clock running off the computer
delete clock_mc.onEnterFrame;
// call function to turn minute hand
pressing = true;
spin();
}




now the function that turns the minute hand


Code:
function spin() {
minuteHand_mc.onEnterFrame = function() {
if (pressing) {
myRadians = Math.atan2((_ymouse-minuteHand_mc._y), (_xmouse-minuteHand_mc._x));
mydegrees = Math.round(myRadians*180/Math.PI);
minuteHand_mc._rotation = mydegrees+90;
minutes = minuteHand_mc._rotation/6;
// move hour hand
// keep hour hand in the right place
var hourAngle:Number = (360*hour/12)+((360*minutes/60)*(1/12));
hourHand_mc._rotation = hourAngle;

}
};
}
i feel the hour hand position should be something like

minuteHand_mc._rotation*(1/12) ... but of course as soon the minute hand goes past the 6 (ie 30 mins) the the minuteHand_mc._rotation goes 180 then -179

can't get my head round this and cant get my head how to update the hours or decrease the hours if the minute goes backwards or forwards over the 12 ... i am normally ok on the maths bit but ugh

if anyone can help monumentally grateful

SWF Optimization Debate: Hand-Drawn Or Hand-Coded?
I was curious if anyone knew a definitive answer or examples of proof that the dynamic drawing of movieclips (using the Drawing API) is more effecient (in terms of .SWF optimization and playback) than hand-drawn movieclips stashed in the Library or vice versa.

I have this hardwiring in my brain that sides with the former of the movieclip creation methods. I tend to find myself writing the code to draw these shapes I require, adding filters and other details through code rather than drawing them.

There is an obvious advantage to this method when it comes to variable sizes of the movieclip that are required (example: a rectangle that is the base of the website with a margin of 10 on all sizes is dependent on the resolution of the user (Stage.width and Stage.height are different by user and browser)). The downside of course is that even the drawing of a simple rectangle is an additional eight to ten lines of code, which can clutter an external ActionScript exceedingly quickly.

I'm just curious of what others think of both methods, or if there is publish information on which is better for .SWF optimization.

How To Dram Arrow From My Arrow Symble To In My Di
how to dram arrow from my arrow symble to in my diagram editor

Bow And Arrow
Does anyone know how to make a game where you are a stickman with a bow and you shoot arrows? I really just need to know how to make the arrow fly reallisticly.

Bow And Arrow?
I've tried searching but I haven't found anything. Maybe I'm searching wrong.
Is there a tutorial out there that can show me how to make a bow and arrow game? Where the user can pull back on the bow string, and depending on the length they pull the string, that determines that height and power of the arrow?
Any help would be great, thanks!

Up Arrow And Down Arrow
Ok, my new project, I need to control the timeline using the up and down arrows on the keyboard.

If you press 'UP' it goes to the next frame,
If you press 'DOWN' is goes to the previous frame.

If you hold 'UP' it scroll through the frames until you let go,
If you hold 'DOWN' it scroll back through the frames until you let go.

So far I have this coding:


Code:
Nothing here oh well!:(
I have no Idea where to begin!

please help!

Arrow
Hey

I've seen an arrow like those which are at http://www.vulcan.com/chooser.asp many time before.
( pointing 90 degrees in an direction ) Have are they made?

-Mikkel

Map Up Arrow Key To Tab Key?
When a user clicks on the up arrow key I would like it to act as the tab key. It would set the focus to the next tab stop, I guess.
Is there a way to do this?

Arrow Key Help
I have a movie clip with each arrow key doing a walk animation movie clip for each direction key. Is it possible to do separate animations for diagonals (pushing two directions?) also, for a 4 direction movement, is there a way to disable the other 3 arrow keys when one is held down? Thanks.

Down And Up Arrow
Hello all and Happy New Year,

I have a Flash stage of 640x480, and I have 100s of thumbnails on it. Now I want to know how to do the up and down arrow so that the user can navigate through the thumbnails. Also, I also need to know how to make the thumbnails scroll down automatically when I put my cursor at the bottom of the Flash stage and vice versa. Please can somebody shed some light?

Thanks in advance
MasterJ

Down And Up Arrow
Hello all and Happy New Year,

I have a Flash stage of 640x480, and I have 100s of thumbnails on it. Now I want to know how to do the up and down arrow so that the user can navigate through the thumbnails. Also, I also need to know how to make the thumbnails scroll down automatically when I put my cursor at the bottom of the Flash stage and vice versa. Please can somebody shed some light?

Thanks in advance
MasterJ

Arrow
i have this code but the arrow not erease to the 30 arrows

excuse me english

lineStyle(undefined);
lineStyle == undefined ? lineStyle(null) : lineStyle(0, 0, random(101));
onEnterFrame = function () {
_x = 100;
moveTo(x=random(100), y=Math.sin(random(90)+t));
t += 0.1;
lineTo(x+10, y+10);
lineTo(x-5, y+15);
lineTo(x+10, y+10);
degres = 180/(Math.PI*290);
_rotation += degres;
curveTo(lineTo(x+10, y+10), lineTo(x-5+i, y+15), lineTo(x+10, y+10+i), null);
x == random(40) && y == random(60) ? delete onEnterFrame : onEnterFrame == null;
};

Spinning Arrow
Have you seen http://www.soh.nsw.gov.au yet? Flash 360's of Sydeny's Opera House which are great to start with but how did they get the yellow arrow at the bottom to move in union with the turning of the 360?

I would be thankful for even a clue . .
Garrett

Arrow Keys?
Could someone tell me how to move an object around on the screen with the arrow keys. A step by step would me much appreciated.

and could someone tell me how to use the keyboard keys for buttons

When I Take My Finger Off The Arrow Key . . .
my character's walk animation keeps playing while the character is standing still.

Hi everyone, quick question. As you can see from the file at the following site, my character walks all over the screen using the arrow keys. However, when you let go of an arrow key, his animation continues. How do I get him to stop moving when the key is up?

Thanks.

http://www.jlsmith.net/probs/Faces.swf

Here's the code on the MC:

_______________________________

onClipEvent(load){
speed = 2;
}

onClipEvent (enterFrame) {

if (key.isDown(Key.UP)) {
gotoAndStop(8);
this._y = this._y - speed;

} else if (key.isDown(Key.DOWN)) {
gotoAndStop(2);
this._y = this._y + speed;

} else if (key.isDown(Key.RIGHT)) {
gotoAndStop(4);
this._x = this._x + speed;

} else if (key.isDown(Key.LEFT)) {
gotoAndStop(5);
this._x = this._x - speed;
}

}

_______________________________

Globalstyleformat.arrow Bug
the following code should change the color of all arrows in components

globalStyleFormat.arrow = 0x310bea;
globalStyleFormat.applyChanges();

but only my combo box and not my scrollbar arrow changes
color. Is this a bug?

Regards,

Kieran.

ANIMATING ARROW - PLEASE HELP
I want to make an animated arrow i MX. I want it to enter the screen from the right hand side and then go to the center of the page... so far so good... BUT!!! Then I want it to CURL 180 degr. and stop in the "curly" position :|
I really need help with this one, people!!!! ANYONE PLEASE??
Looking forward to great responses.....Go for it!!!

Arrow Key Action
I know this is probably easy but havent got much time.
What actionscript do I use to get the right arrow key to
make the animation go to the next keyframe.

thanks heath..

Arrow Key Actiton
I want to get the right arrow key to force the movie to the next
key frame.
I tried this action on a button and the first keyframe
of the movie but doesnt work.

advance = new Object();
_advance.onKeyDown = function() {
if (Key.isDown(39)) {
nextFrame();
}
};
Key.addListener(_advance);

Arrow Key Actionscript
I want to be able to move to the next key frame in the movie by pressing the right arrow key. I know the code is 39 ive tried.
advance = new Object();_advance.onKeyDown on the first key frame of the movie does it need to be on a button if so i dont want it visible

thanks heath.

Arrow Keys
OK folks. Here is a link to what I'm about to explain:
OK I have this page setup so that when you press the left and right arrow keys you will cycle through the pictures. It's working fine, the only problem is my boss noticed that you have to click somewhere on the flash animation in order to use the arrow keys when it first starts. I know this is probably a browser issue but is there any way that I can work this out so that you don't have to click on the animation first?

-= greendog =-

Arrow/character Next To...
How do i make a character like this megaman thing to move down or up when i hit the down arrow key? And when i hit enter make him fire the blast type thing?

http://uploads.ungrounded.net/conten...=0&w=470&h=400

Arrow Going Around Globe
Hi:

I'm trying to create a Flash 5 banner and can't figure out how to get an efect to work.

I have a static globe. I'm trying to get an arrow (with a tail) to circle the globe on an arc. The arrow needs to disappear when it goes behind the globe but re-appear when it circles around the front.

I can't get the arrow and it's tail to stay on the arc, and can't figure out how to make it look like it goes behind the globe and then re-appear. It's suppose to just loop around and around the globe.

Does anyone know how to create this effect, or know of a tutorial that teaches this effect?

Any help would be appreciated greatly.

Thank you!

Animating An Arrow
new to flashkit
Im trying to animate a logo which has curved arrows on it , im trying to get the arrows to curl in from the top and bottom . tried creating keyframes and rotating it every frame but it doesnt have the right effect, has any one got any ideas on the subject.

ive attached the logo

Rotating An Arrow
Hi,

I have trouble find a good way to rotate an arrow from left direction to right direction (http://www.mardanfab.com/products_header.htm)

I tried using tween motion CW, and using motion guide. Both of them makes the arrow takes 2 full 360 degree to get final destination.

please help

thanks

[Help] Bow And Arrow Game
Hi.

I'm trying to create a game where you are an archer and try to hit a target and i needed some help with the movement. The arrow needs to move in a parabolic way.

This is what i've done so far:

code:
onClipEvent (load) {
//initial speed
v0 = 10;
//state of movement (stopped)
moving = false;
//initial position
_x = _root.bow._x;
_y = _root.bow._y;
//friction
friction = 95/100;
}
onClipEvent (enterFrame) {
if (Key.isDown(1)) {
moving = true;
}
if (!moving) {
//bow frame
_root.bow.gotoAndStop(1);
//arrow position
_x = _root.bow._x;
_y = _root.bow._y;
this._rotation = _root.bow._rotation;
v0x = v0*Math.cos(this._rotation*(Math.PI/180));
v0y = v0*Math.sin(this._rotation*(Math.PI/180));
}
if (moving) {
//bow animation
_root.bow.gotoAndStop(2);
//rotation while moving
this._rotation = Math.atan(v0y/v0x)*180/Math.PI;
if (Math.abs(Math.round(v0y))>0) {
v0y *= friction;
} else {
v0y = 0;
}
//moving the arrow
this._y += v0y;
this._x += v0x;
}
//shoot again
if (_root.targ.hitTest(this)) {
v0x = 0;
v0y = 0;
}
}


Now I can't get the arrow to move down with acceleration! Can someone help me with this?

Thanks in advance.

I've attached the fla (MX) so you can check the file.

Mouse Arrow
On a button rollover event, I was wondering how to keep the mouse from changing to a hand and retain it's arrow state.

Currently I am working from this base but have had no luck:

on(rollOver){
this.useHandCursor = false;
}


If anybody could help me out I would greatly appreciate it. Thanks in advance.

Button Row With Arrow ;)
Hello

I need this:

[BUTTON1] [BUTTON2] [BUTTON3] [BUTTON4] [BUTTON5]
......................^........................... ............................

If I place my cursor on 'button3', for example, the small arrow is supposed to slide under button3... it would be nice if the sliding arrow had some acceleration/deacceleration so it doesn't look too stiff... the possibility for easily integrating more buttons would be really nice as well

Does anyone know where I can download something like this?!

Thanks in advance

Arrow That Follows The Mouse?
Hello, I want an arrow to 'point' towards teh mouse. I know there are lots of posts already and files showing how to get 'eyes' to 'follow' the mouse. However, I cant find a good tutorial, and cant figure out how its done in the .swf files on offer. Any help would be much apreciated.

I am not even completely sure this is possible, I know in most cases it is just the pupils _x and _y properties that change, nothing rotates, I want my arrow to rotate on it's axis so it can 'point' towards teh mouse.

Right Arrow Key Press
can soem one please help me to add action code to right arrow key
i need to go next scence when i press right arrow key i am using flash mx

Thanks

Help To Right Arrow Key Press
can soem one please help me to add action code to right arrow key
i need to go next scence when i press right arrow key i am using flash mx

Thanks

HELP... Angle Of Arrow
can someone help me with the file attached please? i need to change the array to a 2-Dimensional Array.
thank you so much for u guys help...
and if it is not much of a trouble, can someone explain to me the meaning of each of the Math functions part. thankz again...

Copyright Đ 2005-08 www.BigResource.com, All rights reserved