full justification in a text field

2022-02-10 Thread Curt Ford via use-livecode
Peter, that works really well. Looks like it does require a monospaced 
font (I tried it with Monaco, looks good), so I'm not sure if my current 
client will want this approach, but it's nice to have a relatively 
simple native solution. Thanks so much!


Curt
--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


full justification in a text field

2022-02-09 Thread Curt Ford via use-livecode
This seems like an awfully basic question, but is it possible to have 
text with full justification in a field?


I've looked at using WordLib, but this client's text has lots of fussy 
formatting (background colors, different colors for individual 
characters) that didn't come through well.


Thanks for any ideas,

Curt
--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Livecode and interactive video

2022-01-21 Thread Curt Ford via use-livecode
I can't help with a LiveCode implementation, but if web delivery is an 
option, I've had good results using the free H5P technology for videos 
that include embedded quizzes of various kinds; I think it does image 
hotspots and branching as well.


https://h5p.org

-Curt
--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


video formats for Windows in LC 9.6.5? *solved*

2022-01-21 Thread Curt Ford via use-livecode
Thanks Klaus, Curry, Paul – just changing the suffix didn't help, but 
fortunately, converting the videos to divX format (.avi) with a free 
converter seems to have done the trick.


The target audience is creative/theater types so the simplest solution 
is best here, but that's helpful to know about LAV Filters and the 
situation in general.


Thanks!

Curt
--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


video formats for Windows in LC 9.6.5?

2022-01-21 Thread Curt Ford via use-livecode
A client has asked me to update a project from a few years ago that 
includes a few videos. In the previous version we used clips in MP4 
format with the suffix .m4v;  the codecs (judging from Get Info on a 
Mac) are H.264, AAC. These worked well on both platforms before.


With LiveCode 9.6.5 on Windows, the .m4v videos are not showing – 
there's just a blank space above the control bar. I'm seeing this in 
Windows 11, and clients have confirmed the same on their end with 
Windows 7 and 10. The .m4v videos do play OK on my system in Windows 
Media Player, and I am able to play an .avi video in LiveCode on my system.


Are there any tips for using H.264 videos on Windows with 9.6.5?

Thanks!

-Curt
--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Symantec quarantining LiveCode standalone on client's machine

2019-07-02 Thread Curt Ford via use-livecode

Guess it's time to finally look into this.

I just visited https://comodosslstore.com but am not sure of the 
differences between Comodo code signing, Microsoft Authenticode, etc...


Any suggestions on best practices with LiveCode/Inno Setup are appreciated!

--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Symantec quarantining LiveCode standalone on client's machine

2019-07-02 Thread Curt Ford via use-livecode
A client has reported that a small utility I've made for him is being 
blocked by Symantec on his Windows machine. We haven't had this issue 
before with an earlier version of the same utility, but now he gets this 
report:


"Threat type: Insight Network Threat. There are many indications that 
this file is untrustworthy and therefore not safe



f_003294 Threat name: WS.Reputation.1

Locate

Very Few Users

Fewer than 5 users in the Symantec Community have used this file.

Very New

This file was released less than 1 week  ago.

Medium

This file risk is medium."

Would code signing it somehow help? Any suggestions?

Thanks!

Curt
--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Using community to update text of a project distributed with Indy license?

2019-06-18 Thread Curt Ford via use-livecode

Dear Heather,

Thanks for the clarification. This is the answer I'd basically expected, 
but it'll be easier for me to steer the client in a different direction 
with the official word from you at LiveCode, so this is helpful.


(They had originally suggested using Splashtop to try and make the 
updates on my machine remotely, but I *really* don't want to go there...!)


all best

Curt


--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Using community to update text of a project distributed with Indy license?

2019-06-17 Thread Curt Ford via use-livecode
A client needs to make minor updates to the text in a number of modules 
I've created over several years. To eliminate the back-and-forth of 
corrections and proofs, he's asked about making the changes himself in 
LiveCode. (He's never used LiveCode and doesn't have a copy.)


The question has arisen whether this would be possible if he downloads 
the free community version of LiveCode, opens the files I've created 
with my licensed copy of LiveCode, updates the texts, then sends me the 
files to package them up.


Another option was for the client to use the community version to create 
the text in text fields in a 'dummy' stack, from which I'd copy the 
updated text into the existing modules of my copy with the Indy license.


I've looked at the FAQ at

https://livecode.com/docs/9-0-4/faq/faq/#what-are-the-system-requirements-for-livecode

but I'm not quite clear on whether this would be allowed under the terms 
of the license or not.


Even if it's not, I'm not sure they'll want to get into this once they 
see what's involved, but I told them I'd look into it.


--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


how to load a local file into the browser widget?

2019-05-25 Thread Curt Ford via use-livecode

Thanks, hh, that does it! :)

*answer*file"Choose an html file"

*put*urlEncode(textEncode(it, "UTF-8")) intotPathWithCyrillic

*set*theurlofwidget"Browser"totPathWithCyrillic


Occasional accents & punctuation in the file names are not causing 
problems either (so far). But then the spaces..


*replace*" "with"%20"intPathWithCyrillic

didn't work since the urlEncode was inserting "+" where it found a space.

So replacing "+" with "%20" fixes that. Final version:

*answer*file"Choose an html file"

*put*urlEncode(textEncode(it, "UTF-8")) intotPathWithCyrillic

*replace*"+"with"%20"intPathWithCyrillic

*set*theurlofwidget"Browser"totPathWithCyrillic

Thanks everyone!

Curt



You could try to use (for example):

urlEncode(textEncode("брать","UTF-8"))



--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

how to load a local file into the browser widget?

2019-05-24 Thread Curt Ford via use-livecode

Thanks Klaus, those are great tips!

While I'm at it... some of the folders in the file path will be in 
Russian, which is breaking my current handler. Is there a way to run 
them through some unicode-type function to make them work in a file path?


I can run those items of the file path through a quick transliteration 
function to change брать into brat' etc., but thought it's worth checking...


Curt
--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

how to load a local file into the browser widget?

2019-05-24 Thread Curt Ford via use-livecode

Ah, thanks, Tore, that was it! Using two slashes in the handler

*put*"file://"& thedefaultFolder& slash& "Future.html"intotFile

produced the filePath with three slashes,

file:///Users/cford/Desktop/BrowserTryout/Future.html

which is now working fine. :)


--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


how to load a local file into the browser widget?

2019-05-24 Thread Curt Ford via use-livecode

You must make sure that the filePath to the html file you would like to see 
does not contain any invalid characters like spaces, which you will find is OK 
by the file system but not with the browser.

I had wondered about this; I renamed the file to "Browsertryout" and moved it to the 
desktop (so there were no spaces in the filePath, which is now 
"file://Users/cford/Desktop/Browsertryout.app/Contents/MacOS/Future.html"), but I'm still 
getting the same result (a blank widget).

Curt

--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


how to load a local file into the browser widget?

2019-05-24 Thread Curt Ford via use-livecode
Is there a trick to getting a local html file to display in the browser 
widget? I'm using this in a test button (in 9.0.4, on a Mac):


*on*mouseUp

*# set the defaultFolder to the folder containing the stackfile*

*set*theitemDelimitertoslash*
get*theeffectivefilenameofthisstack*
set*thedefaultFoldertoitem1to-2 ofit*
answer*"defaultFolder is"&& thedefaultFolder

*if* thereisafile"Future.html"*then**
answer*"OK, it's there"*
else**
answer*"not found!"*
end* *if*

*put*"file:/"& thedefaultFolder& slash& "Future.html"intotFile*
set*theURLofwidget"Browser"totFile*
answer*"the URL is"&& theURLofwidget"Browser"

*end*mouseUp

The .html file is in the same folder with the stack file, and in the 
standalone I've copied it into the bundle & the stack seems to find it, 
but nothing displays in the widget, both in IDE and the standalone. 
Loading a remote location works fine with


*put*"https://nytimes.com"intotFile

*set*theURLofwidget"Browser"totFile

Is there something else to keep in mind when displaying a local file?

Curt


--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


players misplaced & not functional on Windows 10

2019-03-16 Thread Curt Ford via use-livecode

Those grey player bars look like you are using Quicktime for Windows vs
DirectShow? What version of LiveCode are you using?


Hm, these modules were done in LiveCode 7 or 8, I'd need to check. I dragged 
out Player objects for these sounds.

Since they still run fine on my machine (and no other complaints have come in), 
I'd assumed that they didn't need to be updated for the transition from 
QuickTime to DirectShow. Do I need to rework these?

The customer did say he'd updated QuickTime on his PC.

thanks!

Curt

--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


players misplaced & not functional on Windows 10

2019-03-15 Thread Curt Ford via use-livecode
I've done a series of modules for a client that involve lots of sound 
files in scrolling groups. To make layout consistent across platforms I 
have a handler that sets the location of the sounds above certain 
paragraphs.


One user on Windows 10 is reporting that the sounds don't play; the 
layout also looks strange: there's an outline of where the sound players 
should be, but the actual grey bars are misplaced, and much smaller than 
they should be.


Here's a screenshot sent in by the client's customer:

https://imgur.com/a/ktDPghI

Here's what the page looks like on my machine, both in standalone and in 
development:


https://imgur.com/a/AWzJk6k

Nobody else has reported this kind of problem. Any ideas?

thanks,

Curt
--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


problem with revZipOpenArchive in a Mac app bundle?

2018-12-18 Thread Curt Ford via use-livecode
I'm working on updating a client's project for 64bit compatibility on 
the Mac side.


The project is a menu app that downloads and unzips a number of modules 
from a server. The previous version, done in LiveCode 7, saved & 
unzipped the modules in the app bundle, at 
/Contents/Resources/_MacOS/Modules (that last item is a folder created 
by the app).


This wasn't working when I opened it in LiveCode 9, so I tweaked the 
code to use


specialFolderPath("resources") & slash & "Modules/"

The folder is created and downloaded zip files are saved there as 
expected, but there seems to be a problem extracting it.


I'm trying to follow the steps at 
http://lessons.livecode.com/m/2592/l/126625-zip-tool . It gets as far as 
starting the listZipContents handler, then gives a blank window 
"Execution Error" with a close button. Immediately after 
revZipOpenArchive I have "answer the result" which never shows, so it 
seems to be a problem with revZipOpenArchive?


I'm just feeling my way here... any thoughts on what's going wrong? In 
case it matters: each zipped file is a folder that contains a LiveCode 
stack and a subfolder "media" containing some mp3 files.


My clumsy debugging code:
-- lists the content of an archive pArchive
on listZipContents pArchive
   if the controlKey is down then
  answer "starting listZipContents, pArchive is" && pArchive
   end if
   --IT SEEMS TO FAIL HERE
   revZipOpenArchive pArchive, "read"
   if the controlKey is down then
  answer the result
   end if
   if the controlKey is down then
  answer "just did revZipOpenArchive"
   end if
  local tZipContents
  put revZipEnumerateItems(pArchive) into tZipContents
  put tZipContents into field "FileList"
  if the controlKey is down then
 answer "about to do revZipCloseArchive"
  end if
  revZipCloseArchive pArchive
  if the controlKey is down then
 answer "just did revZipCloseArchive"
  end if
end listZipContents

-Curt
--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


updating to 64bit for Macs: standalones vs stacks opened by a standalone

2018-11-14 Thread Curt Ford via use-livecode
A few years ago I did a project for a client that involved a standalone 
that was basically just a menu of modules. When you clicked on an item, 
it downloaded the module, which was a Livecode stack (not standalone); 
after downloading, clicking on an item in the menu app would open the 
downloaded module.


I'm now updating Mac versions of other projects for 64bit compatibility, 
and I'm wondering how to approach this one. I'm assuming the standalone 
menu app will need to be repackaged with LC 9; is the same true of the 
downloaded stacks (which were done in LC 7)? Or is the engine in the 
standalone the only thing that needs to be 64bit?


Curt
--
Sent from Postbox 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


reliability of QT for sound files on Windows? :(

2015-07-21 Thread Curt Ford
I’ve had a series of modules done in recent years for a client that have many 
.mp3 files; sometimes one, sometimes up to 15 on a card. They’re stored in a 
folder named “media,” and I’ve set the fileName for the QT players by building 
the path to the correct mp3 file. This has worked fine on XP and Windows 7 for 
over 20 modules.

I needed to make a few changes because of text layout (a whole ‘other issue, 
don’t get me started!) - now I’m getting reports that QT bars are showing up 
blank on Windows 7 in 2 pages of one module; I can reproduce it on XP (I don’t 
have 7). The problem doesn’t occur in Windows 8.1. The two pages at issue show 
no problems in the other modules (which have the same structure  same code, 
just different content).

I’ve tried everything I can think of: reinstalling/updating QuickTime; 
rebuilding the module from an earlier version; deleting the players and 
dragging in new ones… the sound files themselves play fine in external players. 
A debugging panel I built in shows that the sound files are being found, and 
the fileName is being set as expected for each player. I’ve tried building in 
6.7.6 and in 7.04, building on XP and on 8.1, but can’t get these sounds to 
play reliably.

One other idea was to delete two of the QT players from the offending page and 
drag out two new ones to see if they’d be more reliable. Result: the two new 
ones appear blank on 8.1 as well.

Anyone have any ideas before my head breaks through the wall? I’m stuck other 
than trying to remember which version I originally did these in - maybe 5.5.4?

Curt
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

mp3 files not playing on Windows

2014-08-26 Thread Curt Ford
Hi Mark,

Thanks - they are both 16bit; the one that works is 22.1 kHz, bitrate 56 kbps, 
the ones that don't work are 44.1 kHz, 128 kbps. But we've delivered many other 
modules with files at 44.1/128 with no issues. Could that cause a problem on 
this one computer, or is there something else in the encoding that would be 
worth looking at?

thanks!

Curt



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


positioning graphics in relation to a line in a text field

2013-04-01 Thread Curt Ford
My client's project has long text fields, in which are a number of separate 
lines that, in the original Word files, had boxes around them. The box style 
in LiveCode is too tight around the text for their taste, so I've been creating 
graphic rectangles and positioning them by hand.

An issue has come up where wrapping is inconsistent on different systems 
running XP; when the wrapping changes, the positioning of the graphics over the 
text is wrong.

Is there a  way to position the graphics in relation to a given line in a field 
on the fly?


Curt




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


re: positioning graphics in relation to a line in a text field

2013-04-01 Thread Curt Ford
Ah, this is getting me pretty close:

   select line 3 of fld Field2
   set the left of graphic Rectangle to item 1 of the selectedLoc - 10
   set the top of graphic Rectangle to item 2 of the selectedLoc - 10
   select empty

And checking the formattedHeight of the selectedLine will let me adjust the 
size of the rectangle in accordance with any length or wrapping issues of the 
line to box up.

Thanks everyone!

Curt


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] The Scottish Dialect

2013-03-13 Thread Curt Ford
For several months I've had the pleasure of working with Paul Meier, a leading 
dialect coach and Professor of Theatre at the University of Kansas, to bring 
his materials from print  CD onto desktop computers; we've been using 
LiveCode, naturally.

We've just released The Scottish Dialect, the 7th in a series of 24 books on 
various dialects and accents, and it's available on his website at 
www.paulmeier.com. There are also previews of the ePub versions are in the 
Apple iBookstore. 

If you're headed to Edinburgh in May, this may be the time to brush up on your 
accent  see if you can pass for a local.. 

Also: a big thanks to Jacque for her help with the registration scheme!

Curt

Curt Ford
Sona Software LLC



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Scots English.. [was the Scottish Dialect]

2013-03-13 Thread Curt Ford
Hang on, Richmond! No offense intended. 

In retrospect I should have known better than to suggest that pronunciation 
alone can help you 'pass as a local.' I'll retract that bit.

In fairness, Paul's material does mention that the Scots tongue has its 
origins in the Germanic language spoken by the Jutes, Angles, ... For 
practical purposes, I suppose, his work here has a focus on English as 
pronounced in Scotland (the Scottish dialect of English): he doesn't say that 
it is Scots.

I do have some awareness of the sensitivities of Scots linguistic history: in a 
class on language  national identity I often refer my students to the site of 
the Scots Language Society; we also read part of Lorimer's translation of the 
New Testament, watch clips like this one of Liz Lochhead 
(http://www.youtube.com/watch?v=L2PfrDrAIR0).. 

But I'm glad to be corrected and get suggestions of other interesting sources. 
I'm curious if you've seen L. Colin Wilson's 'Luath Scots Language Learner,' 
and if you have, what you think of it.

..all of which may be getting OT from LiveCode, so let me know if you'd like to 
continue this offline!

all best

Curt

Sona Software LLC
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


LiveCode cgi and https?

2012-04-25 Thread Curt Ford
I have a LiveCode cgi that takes a few parameters from a form on a web page, 
generates a registration code from another stack on the server, and sends out 
an e-mail.

It's working well in tests on my server (I'm using on-rev). The client has 
recently switched to Bluehost with an SSL certificate so we can use https for 
another part of the project. I've copied the files over from my server, 
double-checked permissions and paths, but after filling in the form I get the 
error:

[an error occurred while processing this directive]

When I test sending the data from the message box in LiveCode I get this error:

!-- SHTML Wrapper - 500 Server Error --
[an error occurred while processing this directive]
error 500 Internal Server Error

Anybody know if this suggests it's connected to the fact that we now have a 
certificate? Would the line in the form page

FORM ACTION=../../cgi-bin/keygentest.cgi METHOD=POST

need to change?

I don't have full access to the error logs, unfortunately; the ones forwarded 
by the client don't seem to have anything relating to this cgi.

thanks for any ideas..

Curt
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


livecode cgi and https?

2012-04-24 Thread Curt Ford
I have a LiveCode cgi that takes a few parameters from a form on a web  
page, generates a registration code from another stack on the server,  
and sends out an e-mail.


It's working well in tests on my server (I'm using on-rev). The client  
has recently switched to Bluehost with a certificate so we can use  
https. I've copied the files over from my server, double-checked  
permissions and paths, but after filling in the form I get the error:


[an error occurred while processing this directive]

When I test sending the data from the message box in LiveCode I get  
this error:


!-- SHTML Wrapper - 500 Server Error --
[an error occurred while processing this directive]
 error 500 Internal Server Error

Anybody know if this suggests it's connected to the fact that we now  
have a certificate? Would the line in the form page


FORM ACTION=../../cgi-bin/keygentest.cgi METHOD=POST

need to change?

thanks for any ideas..

Curt


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


options for safe transfer of data to a server - ?

2012-03-13 Thread Curt Ford
My client wants to have a routine that records when a user first installs the 
project, by incrementing an item in a text file on his server. We've got it 
working well with ftp but I'm wondering if  whether sending the ftp login  
password over regular ftp is a security issue; some digging in the archives 
makes me think that sftp isn't an option yet. 

Would https:// be an option to write to a file on the server? Would that 
require that they have an SSL certificate?

Any ideas on a good way to handle this?

Curt


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


scrolling QT controller issues

2011-10-18 Thread Curt Ford
I'm working on a project (using 4.6.4) that requires a long scrolling text 
field with QT controllers for sound-only files in between paragraphs. I created 
the text and some QT controllers and grouped them, then added a scroll bar to 
the group.

When I scroll a QT controller onto the screen there are strange artifacts as it 
emerges from underneath a navigation graphic at the bottom of the screen - as 
soon as any part of it appears, the entire controller is drawn on top of the 
navigation graphic.

Setting the alwaysBuffer of the controller to true solved the redraw problem, 
but now the controller doesn't respond to clicks, and the docs say that if a 
player's alwaysBuffer is true, it cannot be controller by the controller bar 
and must be operated by script control. 

Seems like this would make it pretty much impossible to use the standard QT 
controller in a scrolling group. Anyone know of a workaround for this?

Thanks!

Curt






___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


5.0: strange graphic artifacts with QT controller

2011-10-11 Thread Curt Ford
I just downloaded 5.0, so glad that the long standing issue of  
standalones being incorrectly sized should no longer happen. on Mac.


I opened up my current project, which includes a number of QuickTime  
control bars linked to mp3 files. They were fine in 4.6.4, both in  
development and in standalones. In 5.0, both development and  
standalone, when you navigate to a card with a QT control bar, the  
control bar is just an outline, as if there were no linked file. When  
I click the 'blank' controller, a normal controller appears about 10  
pixels below the blank one, but it doesn't respond to clicks.


I started a new mainstack, dragged over a QT controller  linked it to  
an mp3 file. I saw the same odd graphic behavior, though the audio did  
play on the controller that appeared after clicking the first  
controller.


When I quit 5.0 and re-opened the project in 4.6.4, the QT controllers  
 sound were fine (phew).


Any ideas? Or do I need to stick with 4.6.4 until 5.0 gets some QT  
issues ironed out?  I'm using Snow Leopard, 10.6.8.


Curt


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


images gone in standalone

2011-10-04 Thread Curt Ford

Thanks, everyone, for the suggestions.. turns out it was a different issue.

The project is still small with just a few images, so I began to  
rebuild it from scratch, making standalones after any major additions.  
Images in the standalones were fine until I checked 'copy referenced  
files' in the standalone application settings and selected a few mp3  
files to be stored in a folder called 'media.' At that point the mp3  
files were correctly copied into the Mac bundle, but images (for  
button states, as well as a few background images) were gone.


When I unchecked 'copy referenced files,' the images appeared again as  
they should, and I was able to put the 'media' folder with mp3 files  
into the bundle manually after choosing 'show package contents' for  
the standalone in the Finder.


Um, I should probably also have mentioned that I was doing this is  
4.0.. after upgrading to 4.6.4, the problem has gone away, and I'm  
able to use 'copy referenced files' without vaporising my poor images.


-Curt


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


images gone in standalone

2011-10-03 Thread Curt Ford
My project has about 12 images, most of which are used as the icons for buttons 
with normal, hover, and disabled states, and two as images displayed on a card. 
When I build a standalone on Mac (haven't tried Windows yet), the images are 
gone, replaced by grey boxes; the buttons function normally otherwise. I used 
Import as Control to put them onto a card that's just storage for graphics. 
They're still showing normally on that card in development, but when I go to 
that card in the standalone, there is nothing but the grey boxes.

When I check the application browser they are all still listed for the graphics 
card. When I check the Images library for 'this stack' they usually are there, 
though I could swear a few times choosing 'this library' has given blank rows.. 

I've tried reimporting through Import File... in the Image Library with no 
better result.

Don't know if it's relevant, but I have renamed the file in the Finder in 
between sessions. Could that lead to some link being lost?

Curt





c...@sonasoftware.com




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


revFontLoad: font size issues?

2011-09-13 Thread Curt Ford
I'm using 4.0 on a Mac and need to load a font for both Mac  Windows versions 
of the standalone. There are fields which need to use a mix of generic 18 pt 
Times New Roman, and an IPA (international phonetic alphabet) font, also at 
18pt.

I'm able to get the font to load without issues but the IPA font is very small 
on the Windows standalone; it looks like it's 10 or 12 pt in the middle of 18 
pt Times New Roman text. This happens even if I've selected the text in the 
field and set it to 18pt in the Text pulldown menu, and also set the textSize 
of the field to 18 and the font to Charis SIL. 

The text was created in Bean on a Mac at 18pt and pasted into the LiveCode 
field. When I try dragging the IPA characters from the OS X character palette, 
the characters are still very small on Windows. 

Thanks for any ideas or suggestions!

Curt

www.sonasoftware.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Russian (UTF-8) in LC 4.6

2011-05-08 Thread Curt Ford
Hello Slava,

One of my projects worked pretty well with Russian, but it involved mostly 
typing in Russian, saving to a file as HTMLText, and later reading in that 
HTMLText for display in fields. The one place that involved manipulating the 
strings directly ('exploding' the words to display individual letters 
separately) was kind of a pain, especially in expressions that included a space 
or any punctuation. You can get a sense of what I was able to do at 

http://www.sonasoftware.com/vocab/

I hope the real Unicode support comes before too long - this issue is one of 
the main reasons I've started working in ObjectiveC for some projects.

Just in case you haven't seen it, Devin Asay has a nice summary at 

http://www.runrev.com/developers/lessons-and-tutorials/tutorials/unicode-in-revolution/

best

Curt






___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode