# Strange behavior loading video files from data path

**URL:** <https://discourse.processing.org/t/strange-behavior-loading-video-files-from-data-path/8996>\
**Category:** Libraries\
**Created:** [March 6, 2019, 2:04am UTC](https://discourse.processing.org/t/strange-behavior-loading-video-files-from-data-path/8996 "2019-03-06T02:04:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [March 6, 2019, 2:35am UTC](https://discourse.processing.org/t/strange-behavior-loading-video-files-from-data-path/8996/2 "2019-03-06T02:35:59Z")

</div>

> [@File Listing Order](https://discourse.processing.org/t/file-listing-order/7148/23):
>
> When I need to code a very simple sketch, w/o any animations or even functions, I use what is so called “static sketch”. The standard 1 is called “interactive sketch”, in which we can have the callbacks setup() & draw(). More info on them here: [Processing.org/tutorials/overview/](http://Processing.org/tutorials/overview/) Here’s the my “static sketch” converted to “dynamic sketch”: grinning static final String PICS\_EXTS = "extensions=,png,jpg,jpeg,gif,tif,tiff,tga,bmp,wbmp"; void setup() { final File dir = dataFile(""); printl…

---

_[View the full topic](https://discourse.processing.org/t/strange-behavior-loading-video-files-from-data-path/8996)._
