importing a jpg url
Posted: Fri Sep 11, 2015 11:12 pm
I can't seem to import a .jpg image into my html5 app. The simple test app loads properly in my Safari browser, but selecting the field line that is supposed to import the graphic generates an error.
if thechoice = "Choice 2" then
put "http://www.bbemuseum.com/museum/images/ ... iplash.jpg" into newpic
set the filename of image "equitysnaptemplate" to newpic
end if
error is "Exception thrown, see JavaScript console"
with a bunch of -12 's in the console
Is there a better way to import pics from a URL?
if thechoice = "Choice 2" then
put "http://www.bbemuseum.com/museum/images/ ... iplash.jpg" into newpic
set the filename of image "equitysnaptemplate" to newpic
end if
error is "Exception thrown, see JavaScript console"
with a bunch of -12 's in the console
Is there a better way to import pics from a URL?