Down a leafy lane or up queer street?
richmondmathewson at gmail.com
Sun Apr 29 13:07:16 EDT 2018
Still the Queen of xTalk!
On 29/4/2018 8:01 pm, J. Landman Gay via use-livecode wrote:
> In the IDE, specialFolderPath("resources") points to the folder
> containing the working stack. In a standalone it points to the folder
> containing files you've included in the Copy Files pane of the
> standalone builder.
> Therefore, there will never be a folder specialFolderPath("resources")
> & "/Desktop/..." unless you have created a Desktop folder inside the
> one holding your stack. The correct path would be
> specialFolderPath("resources") & "/Obfuscated/May 2018/assets/img/"
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On April 29, 2018 11:27:39 AM Richmond Mathewson via use-livecode
> <use-livecode at lists.runrev.com> wrote:
>> I am being extremely stupid, and am getting so desperate I don't mind
>> admitting it.
>> I have a stack containing a series of images that are 'empty' images
>> with their
>> sources set to an external folder.
>> Now in my stackScript I have this:
>> |global route66 on preOpenStack put specialFolderPath("resources") &
>> "/Desktop/Obfuscated/May 2018/assets/img/" into route66 go to card
>> "TITLE" end preOpenStack|
>> and in my cardScript I have this:
>> |on preOpenCard set the lockScreen to true -------- set the filename of
>> img "p1" to empty ------- set the filename of img "p1" to (route66 &
>> "c1.png") set the blendlevel of img "p1" to 0 -------- wait 3 ticks set
>> the lockScreen to false end preOpenCard so, WHY cannot I see the target
>> image, merely a horrible grey square? Richmond. |
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode