Hello Guest it is March 28, 2024, 03:12:46 PM

Author Topic: New Screen Layout, Need next steps... to drive this into flash  (Read 6914 times)

0 Members and 1 Guest are viewing this topic.

Hi All,

I just got mach3 running yesterday! Here is a design that I would like to make work on my machine.  What do you think. Anyone wana help put this one together? What do I have to do next?



Cheers,
Jeff

ynneb

*
Re: New Screen Layout, Need next steps... to drive this into flash
« Reply #1 on: March 07, 2007, 07:47:27 PM »
Youve done well Jeff.
I suggest you look at some of Zealous's videos if you want to go down the flash path.
Re: New Screen Layout, Need next steps... to drive this into flash
« Reply #2 on: March 07, 2007, 08:46:05 PM »
Thanks.  I have looked at a few of those movies...  I'm still fuzzy on how to get the tool path window and g-code listing in to the flash movie.  Ill keep plugging away.
Cheers,
Jeff

Offline zealous

*
  •  489 489
  • HI!
    • View Profile
    • Artsoft Solutions
Re: New Screen Layout, Need next steps... to drive this into flash
« Reply #3 on: March 08, 2007, 12:55:21 AM »
Just relized that my links next to the screen movies wasn't working here is the source files for both Sothink and Flash8:

It's very easy to add just past the code and name the object, remeber to have 5 frames to the start of your swf movie.

For the toolpath screen name the instance: machscreen_mov
For the Gcode screen name the instance: GCODE_mov

Past the code below,but it's already set up in the below files:

////////Send stage size/////////
   _root.Stagesize = (Stage.width+" X "+Stage.height);
   fscommand("StageW", Stage.width);
   fscommand("StageH", Stage.height);
   //Toolpathscreen/////
   
   //keeping track getting property
   // X Y positioning
   _root.ToolX = getProperty(machscreen_mov, _x);
   _root.ToolY = getProperty(machscreen_mov, _y);
   // find height width
   _root.ToolWidth = getProperty(machscreen_mov, _width);
   _root.ToolHeight = getProperty(machscreen_mov, _height);
   //find scale factor
   _root.xscale = getProperty(machscreen_mov, _xscale);
   _root.yscale = getProperty(machscreen_mov, _yscale);
   //Sending Fscommand add what ever we can control here
   fscommand("ToolX", _root.ToolX);
   fscommand("ToolY", _root.ToolY);
   fscommand("ToolWidth", _root.ToolWidth);
   fscommand("ToolHeight", _root.ToolHeight);
   ////End script/////////////
   
   //////GCode watch//////////
   
   //keeping track getting property
   //X Y position
   _root.GCODEX = getProperty(GCODE_mov, _x);
   _root.GCODEY = getProperty(GCODE_mov, _y);
   //Movie size
   _root.GCODEHeight = getProperty(GCODE_mov, _height);
   _root.GCODEWidth = getProperty(GCODE_mov, _width);
   //Movi scale factor
   _root.GCODExscale = getProperty(GCODE_mov, _xscale);
   _root.GCODEyscale = getProperty(GCODE_mov, _yscale);
   //Sending Fscommand add what ever we can control here
   fscommand("GCODEX", _root.GCODEX);
   fscommand("GCODEY", _root.GCODEY);
   fscommand("GCODEWidth", _root.GCODEWidth);
   fscommand("GCODEHeight", _root.GCODEHeight);
   ////////end script///////////
Re: New Screen Layout, Need next steps... to drive this into flash
« Reply #4 on: March 08, 2007, 01:19:31 AM »
Cool Thanks - Ill give it a try and report back - I built some of the buttons this evening in flash so It moving right along.

Cheers,
Jeff

Re: New Screen Layout, Need next steps... to drive this into flash
« Reply #5 on: March 08, 2007, 11:03:52 PM »
Ok working on the converting to flash part.  This is what I have so far - gota work on the LEDs and button LEDs - Everything there is created in flash (no bit maps) so it should be super fast to load.   More to come.

Cheers,
Jeff

Offline zealous

*
  •  489 489
  • HI!
    • View Profile
    • Artsoft Solutions
Re: New Screen Layout, Need next steps... to drive this into flash
« Reply #6 on: March 09, 2007, 11:31:05 PM »
Cool!
Great thing about creating it all in Flash is that it's all vector and you can scale it to any amount you want and no disintegration or iterations on image quality, and it's only 10kb and I dont see it getting much giger in file size.