How to load an Interface

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

  1. #1

    Default How to load an Interface

    I want to load an interface to an Module so I can pass on properties from the
    application to the module. The interface is located in a seperate Flex-library
    at the path User/General/interface.as. The Module itself is located in a
    Flex-project that uses the Flex-library. But for some reason I keep getting the
    error-message that the interface cannot be found. The path I use is
    "user.General.interface" after implements in the topline of the Module. Anyone
    who can help?

    Edwin

    EdwinvD Guest

  2. Similar Questions and Discussions

    1. How can I load load Additional extensions ?
      My OS is Winxp . My web server is apache 2 which is installed as a NT service . My php version is 4.32 , and I extracted it into "c:\php" . I...
    2. #39403 [NEW]: A class can't implements interface implemented by implemented interface/classes
      From: baldurien at bbnwn dot eu Operating system: Irrelevant PHP version: 5.2.0 PHP Bug Type: Feature/Change Request Bug...
    3. load videos in avi, qt or mpeg in the flash interface
      Hi guys, I'm new to FCS, I need to realize a flash interface that dynamically load videos in avi, qt or mpeg in the flash interface. I would know...
    4. Interface
      Hi there, I have made an interface in Photoshop and imported it into Director, it contains a title bar with text on it. What I am trying to achieve...
    5. Does Interface Size Matter? Is my interface too complex?
      Hi all, Does Interface Size Matter? Is my interface too complex? I volunteered to design a couple of web pages, but since we don't have a...
  3. #2

    Default Re: How to load an Interface

    First thing I'd check is the case. You show "user" in the path as User/General/interface.as (uppercase "u") and then within the module as user.General.interface (lowercase "u").

    TS
    VarioPegged Guest

  4. #3

    Default Re: How to load an Interface

    do you have the library that has the interface in it included in the lib folder
    of Flex Builder project? Also ensure that in the Project -> Properties -> Build
    Path -> Libraries you have reference of this library.

    atta707 Guest

  5. #4

    Default Re: How to load an Interface

    Unfortunately this is just a typo in my message and not in my code, so it does not resolve my isse
    EdwinvD Guest

  6. #5

    Default Re: How to load an Interface

    Yep it is there and working as there are also several components in the library that I can use with the Flex Project
    EdwinvD Guest

  7. #6

    Default Re: How to load an Interface

    And by sheer coincident I have found the reason for the problem. For a complete
    different reason I right-clicked on the library-project and choose Properties.
    I entered the menu in the Flex Library Build Path in the tab Classes and saw
    that that the interface-file was not selected to be included in the library. I
    do not know why the box before the interface was not ticked but after selecting
    it everything works fine.

    EdwinvD 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