Stitch Player

Invoking via popup

 Invoke StitchPlayer for lettering or design

http://api.livedesigner.com/{yourusername}/StitchPlayer/{Lettering or design element}

  

Example 1: Get Embroidery Lettering ofm file
http://api.livedesigner.com/{yourusername}/StitchPlayer/Lettering?alphabet=FULL%20BLOCK&text=Hello%20World&color=ccaa00&FileName=file.ofm&ViewWidth=600&ViewHeight=400
Example 2: Get ofm file for EmbroideryDesign
http://api.livedesigner.com/{yourusername}/StitchPlayer/foldername/filename.ofm?FileName=file.ofm&ViewWidth=600&ViewHeight=400

 

Additional Attributes

ViewWidth

The width of the stitch player window in pixels.

 

required

ViewHeight

The height of stitch player window in pixels

 

required

speed

The speed the stitch player should play at.  1 unit = 800 stitches per minute.

 

default: 75 (60000 stitches per minute)

 

auto

0- wont play until user hits play button

 

1- automatically begins playing when loaded without user having to click play button.

 

default: 0

 

loop

0- plays once only, user has to hit play button to play additional times

 

1- loops playback

 

default: 0

 

 

Embedding in page

While you can embed flash swf directly, the simplest implementation is to use url for popup described above in IFrame.

example below

<iframe src="http://api.livedesigner.com/yourusername/StitchPlayer/Lettering?alphabet=BRUSH%20SCRIPT&text=Hello&color=ccaa00&ViewWidth=600&ViewHeight=300&auto=1&ticket=ciXm9GqhNSKVdEceWm%2bqsj95f6py7TeBS4vED%2f3nT%2fHu%2bYl%2fA%2ffUR%2buvOqzpo55t" width="601" height="301" frameborder="no"
scrolling="no" />