Solved: BAT file help - why isn't this working? - Tech Support Guy :: 2 posts - Last post: Dec 15, 2006I have a .BAT file with the following line: for %%f in (..\*.txt) do copy abc. old %%f.old My objective is to take a list of txt files in the http://forums.techguy.org/dos-pda-other/527121-solved-bat-file-help-why.htmlHOME | ok so im stuck here with the magnet thing again if you read my last post, but i cant even get a block to move...can someone tell me what i am doing wrong? here is the AS
onClipEvent (enterFrame) { GameSpot Forums - PC Hardware Discussion - Why isn't it working?:: Dec 8, 2008 Recommended: Intel CoreĀ® 2 Duo 2.2 GHz or AMD Athlon 64 X2 4400+ or better You Have: 4 processors running - Intel(R) Core(TM)2 Quad CPU. http://www.gamespot.com/pages/forums/show_msgs.php?topic_id=26701636HOME |
if (_root.car.x == 505) {
_root.car.x = 165
}
}
onClipEvent (enterFrame) {
_x += xspeed
_y += yspeed
}
onClipEvent (enterFrame) {
xspeed += 4 Why isn't this working in Firefox 3.0? Does work in IE 7. - Ruby Forum:: 2 posts - Last post: Sep 7, 2008Ruby Forum Rails Spinoffs (closed, excessive spam) > Why isn't this working in Firefox 3.0? Does work in IE 7. http://www.ruby-forum.com/topic/159072HOME | why isnt it working? - The Game Forum:: ok heres the scoop ie been begging some people to help me do a hack ok like if somebody messages me and when it says wii homebrew on there like sorta. http://www.thegameforum.com/nintendo-wii-mod-firmware-discussion/29506-why-isnt-working.htmlHOME |
yspeed += 0
}
I didnt say take anything out - did you at least switch to _x?
Very confusing lol. You can speed it up once it is less than 10 and just set the speed variable to 0 once the distance is 0 cant you?
magnetDistance = _root.magnetpositive._x - _root.car._x;
if (magnetDistance < 10 && magnetDistance > 0) {
// statements
}
yah i did...it works fine now and serves its purpose, all i needed to do was set xspeed to zero on load...but i still can figure out how to tell flash that only increase the speed when the are 10 units apart on the x axis...when i try telling flash to subtract their "_x"s and if thet are less than ten to increase speed...but then they will always inrease speed
heres how its set up: (a is the car and +- are the magnets)
i tell flash to subtract _root.magnetpositve._x by _root.car._x.... and if its less than 10, increase the speed...but then the speed will always increase...
A ..............+-
bottom line
how do i use the "and" command to tell flash if the difference in x position is less than 10 but greater than zero
i know this post was very confusing...can you please just tell me how to that last question?
Is that code all on 1 movieclip? You dont need that many onClipEvent handlers if it is. & I'd try _x rather than just x on the first handler.
thanks man that worked
yah i have a bad habit of putting more than one even handler...but the first handler does not matter...i tried taking it out and it still did not move..that handler (obviously) just prevents it from going off the screen.
EDIT: i think its because i did not set xspeed to zero @ the very beginning, i'l try that
Red Hat's Rough Recovery From CFO Exit
Windows Live Finds a New, Pre-installed Home
|