×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2012
    Location
    Shimoga, Karnataka, India
    Posts
    18

    Unhappy S40 .nfl problem..

    Help me.. I have multiple files to pack.. An supporting xml file for main swf file. I have created .nfl package as given here. But when I run the game on device.. getting output as "File not found".

    Here is the code I used to read the xml file...

    var texts4game:XML = new XML();
    texts4game.ignoreWhite = true;
    texts4game.load("textlists.xml");
    texts4game.onLoad = function(success:Boolean){
    if(success)
    {
    //code to display in text fields
    }
    else gameh_txt.text = "File not found";
    }

    getting output as "File not found". I tested without creating packages, directly deploying swf and xml file, this is working fine.
    Do I need to make any changes to the path of xml file used in Load function.
    Do I need to make changes in descriptor.inf file or any settings on winzip before compressing to zip file? Please help...Thanks...

  2. #2
    Regular Contributor
    Join Date
    May 2007
    Location
    Finland
    Posts
    134

    Re: S40 .nfl problem..

    I think external xml files do not work. Can you incorporate the data into your swf?
    Last edited by Risalmin; 2012-02-02 at 08:59.

  3. #3
    Registered User
    Join Date
    Feb 2012
    Location
    Shimoga, Karnataka, India
    Posts
    18

    Re: S40 .nfl problem..

    thanks... i will do the same.. I taught of using external xml file to minimize memory usage....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×