Can I embed external MXML in another MXML file?

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Can I embed external MXML in another MXML file?

    Hi - I'm new to this so please bear with me. I'm trying to do something like
    you do in JSP's with a JSP include where I can import prewritten code so I can
    put it in multiple files without rewriting it every time. Is there such a
    thing as an MXML include? Or something equal to it? I've looked at
    httpService but that's not quite the same. And I see where I can use #include
    in an action script statement but when I use that it gives me multiple errors
    like "Unexpected '<' encountered"

    daveobbie Guest

  2. Similar Questions and Discussions

    1. How to use URLRequest to go to a mxml file rather then awebsite?
      How to use URLRequest to go to a mxml file rather then a website?
    2. passing variables from one mxml to anther mxml
      Hi i want to know about passing variables from one mxml file to another mxml file both will be different application or i want to call...
    3. How does on Sharing data between main.mxml and a renderer.mxml
      I have a value set in my main mxml file. public var calDate:Date = new Date(); How can I use this value in my renderer mxml file? if...
    4. mxml file uploading
      Hi, is there any file control in mxml as we have in html <input type="file"..> which can be used for file uploading. posibly can anybody send me...
    5. how to load external html file into mxml file
      hi all plz tell me how i can load external html file in mcml file just like say when we receive mail in inbox and see our mail data .. i have...
  3. #2

    Default Re: Can I embed external MXML in another MXML file?

    Yeah you need to look into custom components. Go to live docs at the link
    below and search on custom components. There are also samples in the flex
    samples explorer.
    [url]http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/html/wwhel[/url]
    p.htm?href=part3_as.htm

    fluffysocks Guest

  4. #3

    Default Re: Can I embed external MXML in another MXML file?

    Thank you so much for the help. Chapter 15 had the info I needed. It was unbelievably easy once I knew where to find the info. You were very helpful.
    daveobbie Guest

Posting Permissions

  • You may not post new threads
  • You may 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