开发者

Add ComboBox to a project in pure ActionScript 3.0

开发者 https://www.devze.com 2023-02-22 01:47 出处:网络
I\'m trying to use a ComboBox control in an ActionScript 3.0 Project I\'ve been tasked with making modifications to. I kn开发者_运维知识库ow I need to do

I'm trying to use a ComboBox control in an ActionScript 3.0 Project I've been tasked with making modifications to. I kn开发者_运维知识库ow I need to do

import fl.controls.ComboBox;

Now, the problem is that if I do this within the (unfamiliar) environment of FlashDevelop, I get an error. My understanding is that adding a control is a matter of feeing FlashDevelop the correct classpath, which I think I've done. Some other websites seem to indicate that if I add the control to my library this problem goes away because the act of putting it in the library links the required resources.

So, how can I do the equivalent of adding to an .FLA library within FlashDevelop?


You just need to link them into your class path. The class path changed a while back not sure what it is now. It is just like adding any other lib to your class path.

Here is a topic about it.

http://www.flashdevelop.org/community/viewtopic.php?f=13&t=4344

Edit: Skip the part where they are saying publish a swf.

0

精彩评论

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