Professional Web Applications Themes

include xml data file in Flex Library Project - Macromedia Flex General Discussion

Hi all, i've got a Flex Library Project in which I include some assets, as css files and some xml data files too. They are located in my project root, under /assets/css and /assets/data. Once compiled, if I use my library in other projects, the css styles from the css under /assets/css apply, but the xml data files are not found.Both are checked in the Flex Library Build Path window of the project's properties. There's any reason why the xml files are not included? Or should I reference them in some other way... In my library project I'm doing: ' ...

  1. #1

    Default include xml data file in Flex Library Project

    Hi all,
    i've got a Flex Library Project in which I include some assets, as css files
    and some xml data files too. They are located in my project root, under
    /assets/css and /assets/data. Once compiled, if I use my library in other
    projects, the css styles from the css under /assets/css apply, but the xml data
    files are not found.Both are checked in the Flex Library Build Path window of
    the project's properties.

    There's any reason why the xml files are not included? Or should I reference
    them in some other way... In my library project I'm doing: ' theHTTPService.url
    = "assets/data/data_file.xml" '


    thanks in advance,

    Marc

    marcbc Guest

  2. #2

    Default Re: include xml data file in Flex Library Project

    I wonder if that just sets up a link to an external file, such that the external file must exist along with the library project?
    Greg Lafrance Guest

  3. #3

    Default Re: include xml data file in Flex Library Project

    Hi Greg, thanks for answering.
    Yes, that's what I'd like to know also... I mark it to be added to the
    library, but how can I be sure if it's in the final .swc? Are they browseable
    somehow?

    thanks,

    Marc



    marcbc Guest

  4. #4

    Default Re: include xml data file in Flex Library Project

    You just have to make sure your files are selected in the Library project's "Assets" section.
    Brian Vaughn Guest

Similar Threads

  1. Flex 2 Project in Flex 3 Swf File Size Increase?
    By Arty13 in forum Macromedia Flex General Discussion
    Replies: 4
    Last Post: April 17th, 07:10 PM
  2. Flex swc library in Flash CS3 project
    By Woby in forum Macromedia Flex General Discussion
    Replies: 4
    Last Post: April 15th, 06:34 PM
  3. Problem that use MFC library in Plug-In project
    By yiyun@adobeforums.com in forum Adobe Acrobat SDK
    Replies: 0
    Last Post: November 7th, 07:00 AM
  4. Flex's RemoteObject serialization library in Flex 1.5
    By MShehzad in forum Macromedia Flex General Discussion
    Replies: 2
    Last Post: June 15th, 05:24 AM
  5. Replies: 4
    Last Post: May 13th, 12:11 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139