Hello Guest it is May 27, 2024, 02:08:41 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - zealous

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 »
181
General Mach Discussion / Re: Help Please
« on: October 20, 2008, 02:41:54 PM »
also check that you are in "Constant Velocity" under "General Logical Configuration".

182
Mach Screens / Re: Custom onscreen keyboard
« on: October 19, 2008, 01:07:56 PM »
Not that I am aware of, the auto-calculator function is created in C++ on Brian's end.

It might be nice to have a Label that tells you which object currently has focus and then we could write some VB code to make things happen accordingly.

I wonder why the "On screen Keyboard" wouldn't pop-up when hitting a DRO, but work when hitting the MDI?

183
Flash Screens / Re: Flash problem
« on: October 17, 2008, 08:39:28 PM »
This is how you look for keys.

HIT:
If you call on the code again it will keep creating Listener objects so if you do not want multiple key listeners make sure to remove it before calling it again.
To remove a "Key Listener just do:

Code: [Select]
Key.removeListener(key_Listener_Function);
Also you can remove the function as well:

Code: [Select]
///Remove one if there is one so they dont multiply////
delete key_Listener_Function;

Then just call on it again later if you want to turn it back on.

Listen for Enter key:

Code: [Select]
///Create an object////;
key_Listener_Function = Object();

///On key down...you can change this to keyup/down ect...///;
key_Listener_Function.onKeyDown = function() {


///Which key was pressed///;
trace(Key.getAscii());

if (Key.isDown(Key.ENTER)) {


///What you are looking for///;
trace("enter key pressed");

///Send to Mach////
fscommand("Code", 'X10 Y5.6 Z 5.6');

}
};

///add listener to wait for the key press//;
Key.addListener(key_Listener_Function);

Test it out below:

<a href="http://alphagraphicdesigns.com/demo/KeyWatchMach.swf" target="_blank" rel="noopener noreferrer" class="bbc_link bbc_flash_disabled new_win">http://alphagraphicdesigns.com/demo/KeyWatchMach.swf</a>

184
Works in progress / IMach
« on: October 17, 2008, 07:53:42 PM »
Some interesting work that I finished has been applied to file navigation and thought I would share on the development.

Was thinking of "IMach" could be a great way to navigate in Mach with touch screens. Who knows.

THIS IS A LIVE PREVIEW BELOW, take you figer or mouse and "drag and release up/down" I also detect "Right/Left" "Swips" as well.

<a href="http://alphagraphicdesigns.com/demo/IphoneScroll/IPhoneScroll.swf" target="_blank" rel="noopener noreferrer" class="bbc_link bbc_flash_disabled new_win">http://alphagraphicdesigns.com/demo/IphoneScroll/IPhoneScroll.swf</a>

There shouldn¡¦t be a learing curve to use it, I think that is way a trillion people like the IPhone ƒº

This type of ¡§scrolling¡¨ should feel nature to work on a touch screen. The mouse does not do it justice  ƒº

-If you hold down and slid up/down it will scroll 1 at a time

-The shorter distance traveled in a longer time will make it scroll slowly

-The quicker you release will "roll" it quicker"

I measure distance and time and direction

I decided to do this to get angle of rotation:
Math.atan2(y, x)*57.29577951308232;

There is alot of math envolved and I think I about got it pretty much to how the Iphone works.

I'll see how it goes might end up with a full touch screen based off this consept.
Let me know if the idea sucks or might be good.

185
Flash Screens / Re: Function to get a number from a string!?
« on: October 17, 2008, 04:27:02 AM »
NP  :)

186
Flash Screens / Re: Function to get a number from a string!?
« on: October 16, 2008, 03:29:39 AM »
I think he meant in Flash and not VB   

This will return the number of your strings length:

Code: [Select]
MyString.length

this will check to see if the digits are 9:

Code: [Select]
if (MyString.length == 9) {
trace("Is 9");
} else {
trace("Is not 9 it is:"+ MyString.length);
}

.....but you can take the code they gave for VB  and run it in flash but you have to do it like this and I dont belive you can split and join in Mach's VB

fscommand("VBMacro" "some VB here")

187
Works in progress / Re: new italian touch screen
« on: October 16, 2008, 02:59:46 AM »
Looks great!

188
Finished Screens / Re: Mach SoftLight
« on: October 16, 2008, 02:57:40 AM »
Thank you!  ;D
Working on a lathe screen now and the many fixes I need to do for the other screens on the forum.
I will make those fixes.

189
Mach Screens / Re: Custom onscreen keyboard
« on: October 16, 2008, 02:55:46 AM »
Great!
I took alook at that keyboard and it looks very nice.. how has it been working out?

190
Flash Screens / Re: Problem flash
« on: October 16, 2008, 02:54:23 AM »
send me the swf or email me and I will have a look or I can send you a installer that will put everything in place for you.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 »