• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

load all images from a url

Explorer ,
Nov 06, 2017 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

271

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
community guidelines
Participant ,
Nov 07, 2017 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)

Votes

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
community guidelines
Explorer ,
Nov 07, 2017 Nov 07, 2017

Copy link to clipboard

Copied

LATEST

ok thanks i'll look into that

Votes

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
community guidelines