Highlighted

load all images from a url

Explorer ,
Nov 06, 2017

Copy link to clipboard

Copied

is it possible for flash using action script to see all the images that were held in a folder in a url and know their filenames etc?

so for example I have 200+ images here:


https://onelittledaisyportraits.files.wordpress.com/2017/11/

https://onelittledaisyportraits.files.wordpress.com/2017/11/insta-1.jpg

https://onelittledaisyportraits.files.wordpress.com/2017/11/insta-2.jpg

etc

is it possible instead of preloading the specific url that flash could just go to https://onelittledaisyportraits.files.wordpress.com/2017/11/ and see the images in there and create an array with the image names?

TOPICS
Development

Views

160

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

load all images from a url

Explorer ,
Nov 06, 2017

Copy link to clipboard

Copied

is it possible for flash using action script to see all the images that were held in a folder in a url and know their filenames etc?

so for example I have 200+ images here:


https://onelittledaisyportraits.files.wordpress.com/2017/11/

https://onelittledaisyportraits.files.wordpress.com/2017/11/insta-1.jpg

https://onelittledaisyportraits.files.wordpress.com/2017/11/insta-2.jpg

etc

is it possible instead of preloading the specific url that flash could just go to https://onelittledaisyportraits.files.wordpress.com/2017/11/ and see the images in there and create an array with the image names?

TOPICS
Development

Views

161

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 06, 2017 0
Participant ,
Nov 07, 2017

Copy link to clipboard

Copied

no, AS can't browse your http server (especially when the status of the response is 404, even your browser can't read the contents), but you can read and process the server's response.

you should just create a simple script (assuming your wp runs on php) that lists the contents of the directory, and load that script from AS. something line 2017/11/gallery.php which lists all the supported image formats (jpg, png etc)

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 07, 2017 0
Explorer ,
Nov 07, 2017

Copy link to clipboard

Copied

ok thanks i'll look into that

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 07, 2017 0