Export Application MAC

edited January 2014 in JavaScript Mode

Hi! I have a problem. I want export application. My code have some images.

So, when i have :

PImage logo;
(…)

void setup(){

 logo = loadImage("logoft.png");

(…)

}


void draw(){
(….)
image(logo,350,75); 
(...)
}

When i export, my app don't open. Only appear grey background.

Cumps

Answers

  • first of all, check your data folder, again run your program , if it runs successfully, then save it before export.. or may be by increasing memory in preferences can solve your problem....

    And another solution is that: before export your application move your data folder to somewhere (e.g Desktop).. And when you exported your application, then put your data folder from Desktop to your application's folder...

  • See To newcomers in this forum: read attentively these instructions about formatting and choice of category...

    I supposed it was about export to JS. Check Processing.js' site about pre-loading images...

Sign In or Register to comment.