开发者

Loading modules from a certain folder

开发者 https://www.devze.com 2023-02-05 23:20 出处:网络
I\'m w开发者_如何学编程orking with modules and each of it will be compiled (deployed) in a common folder in a webproject. In the main class I defined an array of module paths which I need for loading

I'm w开发者_如何学编程orking with modules and each of it will be compiled (deployed) in a common folder in a webproject. In the main class I defined an array of module paths which I need for loading all these defined modules.

How can I make that more dynamically, for instance, I want to say, load all modules in a certain folder an its subfolders without to know each module by name.


You can't do anything in a Flex/AS3 related browser based app to get information about folders on the server.

You're going to have to write a server side service to get the information. Any technology should work, such as .NET, ColdFusion, PHP, Java, or whatever. Then just call the service, and it should send you back the information you need. In ColdFusion, you'd use the cfdirectory tag.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号