3 Replies Latest reply on Feb 17, 2009 1:22 AM by markuspedro

    ClassPath Conflict

    markuspedro Level 1
      Hi, I have a big problem:
      i have two projects A and B that have the same structure.
      -A
      action/mainclass.as
      Amain.mxml
      -B
      action/mainclass.as
      Bmain.mxml

      In B project Bmain call its mainclass at creationcomplete event...

      The problem is this: when i load with swf loader B project into A project, for same absurde reason, the project A execute its mainclass(AProject) and not the main class of project B.
      The problem is that the project A and B have the same structure, but this is a constrain for me.

      How I can resolve this problem?
      There is a way??

      PLEASE HELP ME!!!
        • 1. Re: ClassPath Conflict
          Level 7

          "markuspedro" <webforumsuser@macromedia.com> wrote in message
          news:gnc0ut$5vu$1@forums.macromedia.com...
          > Hi, I have a big problem:
          > i have two projects A and B that have the same structure.
          > -A
          > action/mainclass.as
          > Amain.mxml
          > -B
          > action/mainclass.as
          > Bmain.mxml
          >
          > In B project Bmain call its mainclass at creationcomplete event...
          >
          > The problem is this: when i load with swf loader B project into A project,
          > for
          > same absurde reason, the project A execute its mainclass(AProject) and not
          > the
          > main class of project B.
          > The problem is that the project A and B have the same structure, but this
          > is a
          > constrain for me.
          >

          http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf

          What you're seeing is essentially the same thing as Q8

          HTH;

          Amy


          • 2. Re: ClassPath Conflict
            markuspedro Level 1
            Hi Amy,
            thank you for your answer.. this is what i'm finding for but i have some trouble.. what is the means of "either directly load your class into the main Application before loading any Module," how can i make this ?
            I've seen the pdf but I've not founding a way.

            Thank
            Markus
            • 3. Re: ClassPath Conflict
              markuspedro Level 1
              ...continue....

              For me the pdf that I'm loading is like a black box...

              Thank you