Image control in a Background
Vaughn Clement
vclement at gmail.com
Sat Jun 21 20:41:58 EDT 2014
Hi Simon
I found the following in the dictionary:
iOS Note: iOS imposes strict controls over what you can and cannot access.
Each application in iOS is stored in its own 'sandbox' folder (referred to
as the home folder). An application is free to *read* and *write* files
within this folder and its descendants, but it is not allowed to access
anything outside of the 'sandbox'.
*Examples: *
specialFolderPath("Preferences")
set the defaultFolder to specialFolderPath("desktop")
put specialFolderPath("asup") into appSupportFolder
put url ("file:" & specialFolderPath("engine") & slash & "foo.txt") into
tFileContents
set the folder to specialFolderPath("engine") & slash & "myimages"
put the files into tMyImages
Use the *specialFolderPath* function to place preferences in the
Preferences folder, save files to the Documents folder, find out which
files are installed in the System or Fonts folders, and so on.
*Parameters:*
folderIdentifier - One of the items below.
******** When I edit the script to add the " EXAMPLE; put url ("file:" &
specialFolderPath("engine") & slash & "foo.txt") into tFileContents
the script gives and error.
*************
J. Landman Gay
I edited the spelling error, and the image is now retained in the group
image control for the card it was added too. The problem is all of the
cards now have the same image that was added on the first card? The image
on each card background needs to retain the one that was added on that
card. Is the a setting or a script issue?
Thank you
Vaughn Clement
Apps by Vaughn Clement (Support)
*http://www.appsbyvaughnclement.com/tools/home-page/
<http://www.appsbyvaughnclement.com/tools/home-page/>*
Skype: vaughn.clement
https://secure.join.me/appsbyvclement
FaceTime: vclement at gmail.com
LogMeIn also avaialble
Call on "ooVoo" at address: vaughnclement or 9282549062
Ph. 928-254-9062
On Fri, Jun 20, 2014 at 12:16 PM, Simon <simon at asato-media.com> wrote:
> Hi Vaughn,
> Aside from a spelling mistake just add parentheses around all the folder
> paths
> e.g.
> put (specialFolderPath("documents") & "/photos/" & the short ID of this
> card) into thePath
>
> and then delete the current filename
> on mouseUp
> --/ the image from mobilePickPhoto uses the template image construct
> --set it off screen so we don't see ift flash /
> set the loc of the templateImage to -10000,-10000
> set the filename of image "imageField1" of this card to ""
>
> Simon
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/Image-control-in-a-Background-tp4680553p4680559.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list