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

0 Members and 1 Guest are viewing this topic.

Offline elpablito

  • Active Member
  • Posts: 129
    • View Profile
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

  • Active Member
  • Posts: 492
  • 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.

Offline elpablito

  • Active Member
  • Posts: 129
    • View Profile
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

  • Active Member
  • Posts: 492
  • 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" class="new_win">http://alphagraphicdesigns.com/artsoft/localconnection/localConnectionBlue.swf</a>

swf 2:

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


Here is the source file:

Offline elpablito

  • Active Member
  • Posts: 129
    • View Profile
Re: movieclip over toolpath and gcode
« Reply #4 on: September 08, 2009, 10:14:18 PM »
Nice solution  :)

Thanks a lot for your help