Page 1 of 1

All Very New!

Posted: Mon Jun 27, 2011 2:15 pm
by nccs
Hi: Just testing the (trial version) and I was wondering if this is what I need to do our project. Our Charter School
wants to create an iOS App for our Native American Langauge (Ojibwe). We simply want a scrolling list of words that
when touched you would hear the Ojibwe language version of the word. We have the individual words saved as .wav files.
Can anyone lead me in the starting direction or provide me an example.

Thank you,

Kent

Re: All Very New!

Posted: Mon Jun 27, 2011 4:01 pm
by Klaus
Hi Kent,

I would create a list in this format:
Word TAB filename of the sound
(TAB = tabstop!)

Example:
Flower TAB flower.wav
Tree TAB tree.wav
etc...

Then you can create a LIST field, set its TAB stops to a value greater
that the visible part of the first word, so in the field only the WORDS are visible

Then you can script this for the field:

Code: Select all

on mouseup
   ## We need to extract the filename from the clicked line
  set itemdel to TAB

  put the selectedtext of me into tSelText
  put item 2 of tSelText into tFilename

  ## Presumed you copied ALL of your sound files intot he standalone:
  play (specialfolderpath("engine") & "/" & tFileName)
end mouseup
Get the picture?


Best

Klaus