Announcement

Collapse
No announcement yet.

Class or Interface could not be loaded

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Class or Interface could not be loaded

    Hello all

    I am trying to make a minimap, basically by copying the UT minimap, and putting it into my own hud.

    Whats going wrong, is I am getting 2 warnings, one in flash, and one in the log while the game is running.

    The first one in flash says this:

    Code:
    The class or interface 'com.scaleform.Minimap' could not be loaded.
    Now, what I have done to try and solve this is by adding in the correct file path so that it knows where the flash .as file is, like so:

    Code:
    .
    C:\UDK\Project\Development\Flash\CLIK\
    C:\UDK\Project\UDKGame\Flash\ActionScript\com\scaleform\
    $(LocalData)/Classes
    I am still getting the same error however :/

    And the second error that I am getting, which I am pretty certain is due to the first one, is an access none error in the log, which looks like:

    Code:
    ScriptWarning: Accessed None 'Minimap'
    PHGFxHUD Transient.PHGFxHUD_0
    Function Project.PHGFxHUD:TickHud01DC

    Any suggestions or ideas would be much appreciated

    #2
    I think there is a different way to do this rather than with unreal script, I think it is in the editor itself i do not really know but i think i saw a tut for this somewhere.

    Comment


      #3
      Still stumped by this, anyone else got any ideas?

      Comment


        #4
        Flash simply can't find your clip. What's the path to your MiniMap movie?

        Comment


          #5
          Project\UDKGame\Flash\PHHUD\udk_minimap

          Comment


            #6
            So try to copy the minimap movie into C:\UDK\Project\UDKGame\Flash\ActionScript\com\scal eform\ since it's the path you are referencing to (com.scaleform.Minimap).

            Comment

            Working...
            X