Hello Guest it is March 28, 2024, 05:19:34 AM

Author Topic: movieclip over toolpath and gcode  (Read 8870 times)

0 Members and 1 Guest are viewing this topic.

movieclip over toolpath and gcode
« on: August 23, 2009, 01:01:55 AM »
Hi,
I have tried to create my own flash screen for mach3 and found some problems I dont know how to solve:

1) Im using the smart labels toolpath_mov and gcode_mov as in Mach Nation to show gcode and toolpath. The problem is that they seem to be always on top, even when I put something on a layer above them.
What Im trying to acomplish is to display a dragable popup keyboard to enter values, like in Mach Ultimate Screen. Anyone knows how to create a movieclip that shows over the toolpath display?

2) I want to write my own flash gcode display, but I cant find any doccumentation about how to interface to mach (where to get the gcode lines from)

3) Is there any doccumentation out there that shows all fscommand arguments used by the flash plugin?

Thanks in advance  ;D
Pablo

Offline zealous

*
  •  489 489
  • HI!
    • View Profile
    • Artsoft Solutions
Re: movieclip over toolpath and gcode
« Reply #1 on: September 08, 2009, 07:59:01 AM »
Hi,

1) The native Mach Toolpath will always display in the upper depth.
What you can do is use "local connection" to communicate to a external swf.

2) To create your own Gcode you can either tap in to "Display.dll" or load the Gcode in to a list component or data grid and use "current line".

3) We are working on documentation and adding new features in Flash for Mach4.
Re: movieclip over toolpath and gcode
« Reply #2 on: September 08, 2009, 10:38:28 AM »
Hi zealous.
Thanks for answering.
Can you give me a few more details about the "local connection" method you mentioned?
I dont know what yu mean and it would be impolrtant for my application to show something over the toolpath.

thanks

Offline zealous

*
  •  489 489
  • HI!
    • View Profile
    • Artsoft Solutions
Re: movieclip over toolpath and gcode
« Reply #3 on: September 08, 2009, 11:33:07 AM »
Local Connection is very easy to use and allows you to talk back and forth to as many swf or EXE as you like.

Here are the properties for the object:
http://www.adobe.com/support/flash/action_scripts/local_connection_objects/


Type something in one of the below to talk to each other:

swf 1

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

swf 2:

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


Here is the source file:
Re: movieclip over toolpath and gcode
« Reply #4 on: September 08, 2009, 10:14:18 PM »
Nice solution  :)

Thanks a lot for your help