-
Hey all - Just got this thing going the way I want it (I think!) --- I need some macs and pc's to test it and let me know how it works for you.
mac:
http://psychlonex.dyndns.org/magnets/
pc: (ie )
http://psychlonex.dyndns.org/magnets/magnets21fps.html
pc w/netscape - view either one. From my tests so far, the mac version performs better. I definitely want to hear your results.
The real test ---- I need proof that the mac version is way way faster when viewed on the mac, than the pc version is when viewed on the mac.
Please, test each one with only that one window open so that we can get accurate results.
The only difference in the files is framerate. I'll post details if I can prove that it is a "fast mac" solution!
post your results here!
Thanks,
psx
-
i guess the mac one is faster... i guess... hard to tell.
-
looks like the mac version is faster, the dragging of text boxes is much smoother.
funny thing that.
only thing i don't like about it is that when i click one textbox it snaps to the top left (center point)
ciao
-
Thanks for checking it out!
I'll work on that - I saw a nice dragging script last-night that I plan to add.
If anyone is interested, the way I made the mac version smoother was to lower the framerate to 1 and then add this simple function:
Code:
function redraw() {
updateAfterEvent();
}
setInterval(redraw,21);
Psx
-
Hi John,
Had another look at it, and the mac version is smoother.
I'd agree with me2222 as well, using startDrag(false) would be nicer!
:D
Later
-
That is much smoother. I will try that code in my script to see if i can see any difference in my new site. Did you use that in the mac version only? How does the PC version run on a PC?
-
Urbansory -
I used that code in the mac version only. The pc version was smoother on the pc, until I figured out how to fix the shared-object problems I was having with the mac version, now... it seems as if the mac version is smoother on the pc as well. The problem was that the mac version was updating the shared-object at 1fps, which didn't look all that good. Once I fixed it to send at 21fps, it seemed to run much better on the pc.
Also, pc's with netscape ran the mac version better than they did the pc version.
SJT -
I'm going to try changing the drag function. Originally, I though using startDrag() was what was slowing it down so I changed it to this._x = _xmouse. This is why it snaps to the corner. I'm going to simply try replacing it with startDrag and see how it goes. I'll post again when I've made the changes.
Psx
-
I'm working with shared objects on my new site, I had it working great then found out that it had to be set in the base movie. I had it set in a loaded movie which broke the code, after trial and error i got it to load right and have the other movie send variables to talk with it. I think it will add a new feature to sites, not sure if it has been done before, but come sometime next month you guys can test out a prerelease of my site and give me some feedback.