Mouse follow

in my never ending quest to completel every tutorial here at kirupa i stumbled upon probably a really easy to solve problem… but heres what it is
i have one frame… and the code below is whats on the frame… the action isnt on any particular thing… i dont know if it should be… i just applied to to the frame
also i have an x box and a y box… both dynamic text boxes labeled with the appropriate variables… i think… hmm any ideas as to why the values just stay at 0 the whole time?
thanks in advance

xval = _root._xmouse;
ycal = _root._ymouse;

ycal = _root._ymouse;

its actually yval in the animation… sorry

i really need help… pleaaaaaase
i dont get what to apply the actionscript to… and does it need more than what i just posted and im lost…

could u attach the zip?

instead of applying it in frame1, put the script in a:
onClipEvent (mouseMove) handler

see if the attached fla is wat ur looking for, the script in the little white dot

i think thats what im looking for but i cant find anything in that file… ill attatch mine…

hey i “fixed” it, but u shouldnt follow it, cuz this is how things were done in flash 4

what was wrong with the original 1 i did, i’ll explain anything u cant follow

cool, thanks… now i have questions…
first of all… where did u put the code to make it work? i cant find it
secondly… what did u mean by the //this is useless stuff… did u mean my code was useless or your note was useless
and also… when the x coordinate always has .95 on the end of the number… hmmmm… im slightly less confused now tho, thanks

oops… the .95 thing only happens when i view it in flash… but once i publish it its fine… but i still need to know where the code is…

hey… i went through yours and then tried to make my own without looking at yours… and i figured everything out… so u did a great job helping
thanks so much for the help