Pages: [1]
  Print  
Author Topic: [Solved] KuneriLite sandbox - swf and xml  (Read 6142 times)
0 Members and 1 Guest are viewing this topic.
cisnky
Newbie
*
Posts: 4


« on: 15 August , 2007, 12:07:49 »

Where the base path for files?

I've got an app that loads in a xml doc. But the xml document no longer loads once packaged up as kunerilite project, am I doing something wrong?

Thanks in advance.
« Last Edit: 22 October , 2007, 04:55:21 by C00L » Logged
C00L
Administrator
Full Member
*****
Posts: 172



WWW
« Reply #1 on: 15 August , 2007, 12:30:50 »

Hi,

All files that you put in "_files" folder will be at the same level with your main swf.

For instance; ( [BASE] -> C:\KuneriLite\Basic\Projects)

[BASE]\MyProject\Main.swf
[BASE]\MyProject\_files\menu.xml
[BASE]\MyProject\_files\Data\db.xml

Will be projected on the phone as;

[INSTALLPATH]\MyProject\Main.swf
[INSTALLPATH]\MyProject\menu.xml
[INSTALLPATH]\MyProject\Data\db.xml

So, you should call menu.xml from Main.swf considering they are the same level, and db.xml considering XML file is in 'Data' folder of the application.

You can double check that from;

- Generated PKG file in your project folder
- Browsing the project directory using with File Browser or Y-Browser

Let me know if this helps.

Ugur.-



Logged

Kuneri Support Team
cisnky
Newbie
*
Posts: 4


« Reply #2 on: 15 August , 2007, 14:39:28 »

No joy. The installation works and the files are in the correct folder, but the menu doesn't render. I'll send the menu system.
Logged
C00L
Administrator
Full Member
*****
Posts: 172



WWW
« Reply #3 on: 15 August , 2007, 22:53:59 »

Hmm, looks like not really related to KL.. We uploaded files manually to phone, still doesn't work. KL doesn't do anything special for XML, just packs all files and creates installation file. We are checking what can be the problem with loading local XML files.

Ugur.-
« Last Edit: 15 August , 2007, 23:55:08 by C00L » Logged

Kuneri Support Team
C00L
Administrator
Full Member
*****
Posts: 172



WWW
« Reply #4 on: 21 August , 2007, 15:06:38 »

Problem solved. Will be fixed in next release.

cheers,

Ugur.-
Logged

Kuneri Support Team
Pages: [1]
  Print  
 
Jump to: