|
-
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
-
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.
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|