Included AS file cant access MXML varriables?

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

  1. #21

    Default Re: Included AS file cant access MXML varriables?

    [q]IT IS NOT POSSIBLE[/q]
    Huh? Of course its possible. People do it all the time. Nothing in the documentation says you cant and common sense says you can. In fact, I'm doing it right now.

    jfizer Guest

  2. Similar Questions and Discussions

    1. How to see the .AS file that .MXML file is translated tobefore being compiled to SWF?
      I am trying to dynamically load some other Applications in one Application, use ActionScript but not SWFLoader tag, it looks like: ...
    2. 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...
    3. how do you access an array in an included/required field?
      I have a large array that would be messy to include in the file "main.php" itself and would prefer to include/require it. Say I have the following...
    4. Problem occurs when included file includes anther file.
      The directory structure is as follows: / |-- demo.php |-- inc/ |-- inc1.php |-- inc2.php === file demo.php == <?php require 'inc/inc1.php';
    5. [PHP] Problem occurs when included file includes anther file.
      Thank you for your reply first. Yes I know I could set include_path either in the php.ini or at runtime.But it's a little bit dirty I think.What...
  3. #22

    Default Re: Included AS file cant access MXML varriables?

    Of course it's posibble. When I need to refer a control, container or whatever I use Application.application to have access to everything.
    mab_bond Guest

  4. #23

    Default Re: Included AS file cant access MXML varriables?

    [q]Originally posted by: mab_bond
    Levancho why do you say that isn't possible to access daCanvas and daText?[/q]

    because daText is child of canvas you need first get reference to the canvas
    and then get daText.

    levancho 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