开发者

Actionscript guru puzzle

开发者 https://www.devze.com 2023-01-06 01:41 出处:网络
Can someone suggest a workaround to the following problem: I want to make an application that will create an area on stage that will be filled with images. Firstly, the images have to be \'saved\' on

Can someone suggest a workaround to the following problem: I want to make an application that will create an area on stage that will be filled with images. Firstly, the images have to be 'saved' on an array. The problem for me is that I want this to be quite generic. I mean, according to a configuration file(?) or some constants(?), one build of the application may result to an SWF that will create a Rectangle area on stage filled with some graphics from virtual folder 1, while another bui开发者_如何学JAVAld of the same application may result to one rectangle area and one triangle area each one filled with graphics from virtual folder 1, and folder 2 respectively. I have stuck here sometime now. Can you suggest a workaround to this?


I'm not sure I completely understand your question, but I've been creating a somewhat similar application in AS3 which reads from a text-file using a URLLoader, and then parses that text to figure out which images to display on screen. It's quite easy to do basic parsing using the built in String library methods. Would this technique work for your problem?

0

精彩评论

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