A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Directory question

  1. #1
    Senior Member
    Join Date
    Dec 2006
    Location
    Jax, FL
    Posts
    110

    Directory question

    Hello everyone,
    Need enlightment.....(After another test it seems to work. - Not sure exactly what I did. Will try to replicate again to find problem)

    How does the directory of Koolmoves get set to other directorys so that the components work correctly. I have always developed in the AS3 directory originally setup when KM was installed.
    Example:
    I have installed Apache on my test system. The root is:
    Located: c:\program files\Apache Foundation Software\Apache2.2\htdocs\
    I added another directory called 'webtest'.

    I created a new move and saved it in the the webtest directory. I then added a couple of pushbuttons and tried to run a test.
    The buttons never showed on the test page.
    How does KM setup the target directory to access the km components?
    Last edited by imdumb; 03-25-2009 at 10:17 PM. Reason: Withdraw question

  2. #2
    Senior Member
    Join Date
    Dec 2006
    Location
    Jax, FL
    Posts
    110
    Problem resolved, but need explanation of class directory path.
    I have a couple of classes in a directory I created in the AS3 directory. I added the path to the Root paths for Classes. When I tried to add a class to the move that was not in the km.compenents path it did not work, thus did not show me the buttons on the movie. I moved the class into the km.components directory and the class was included in the movie. Not sure if this is a bug.........
    I should be able to add as many Root paths in classes to pickup any packages I create.

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    The package for the class must reside in a file directory equal to a root path + '/' + package (with dots replaced by /'s). I think this is correct. Once we can articulate this well I will include with the context help and general help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center