Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

How to change the picture directory in _edge.js to an offline directory?

$
0
0

Hi there,

I want to make an animate with pictures from an android device. So, how can I change the directory to an offline directory. The pictures are in file://sdcard/xyz/pictures.

The .html is on the same device.

 

/**

* Adobe Edge: symbol definitions

*/

(function($, Edge, compId){

//images folder

var im='images/';          <-- THIS ONE TO AN "file://sdcard/xyz/pictures" DIRECTORY?!

 

 

var fonts = {};

 

 

 

 

var resources = [

];

var symbols = {

"stage": {

   version: "1.5.0",

   minimumCompatibleVersion: "1.5.0",

   build: "1.5.0.217",

   baseState: "Base State",

   initialState: "Base State",

   gpuAccelerate: false,

   resizeInstances: false,

   content: {

         dom: [

         {

            id:'_1',

            type:'image',

            rect:['50px','25px','200px','150px','auto','auto'],

            fill:["rgba(0,0,0,0)",im+"1.png",'0px','0px']

 

 

 

Thanks a lot.


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>