View unanswered posts | View active topics


Reply to topic  [ 5 posts ] 
fl.controls 
Author Message
Sponsor

Joined: Sun Aug 05, 2007 7:01 pm
Posts: 71
Location: Near Denver, Colorado, USA
Post fl.controls
I tried to use a fl.controls.Label in a Default AS3 Project. Even though the code completion found it, the compiler didn't.

So I tried adding the Label component to an SWC from Flash and I added the SWC to the FlashDevelop project and to the Compiler Options -> SWC Libraries. That didn't work either, I ended up with a bunch of warnings. I tried setting Strict Mode to false, no luck.

Can I use classes from the fl packages like fl.controls.Label? If so, how?

Regards,
John


Fri Aug 31, 2007 10:10 pm
Profile WWW
Member

Joined: Tue Oct 30, 2007 5:36 pm
Posts: 1
Post 
I have the same problem here. The only way I managed to get a fl.Button on the screen (compiling with flex sdk) was by embeding a swf that had a Button on its main timeline.

After that I could even create my own buttons and change the properties of the existing ones. But I can't get it to work if I embed a symbol with a button inside its timile, it's gotta be the main swf timeline =P.

For me this would be a really nice way to have artists doing design with components in the flash CS3 IDE while the programmers could work with FlashDevelop and forget about the Flash IDE.


Tue Oct 30, 2007 8:03 pm
Profile
Online
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 7470
Location: Paris, France
Post 
fl.* controls are reserved for publishing with the Flash IDE. You should look for information about making them available for use with the Flex SDK.


Tue Oct 30, 2007 8:22 pm
Profile WWW
Member

Joined: Fri Nov 30, 2007 3:01 pm
Posts: 58
Location: Guangdong, China
Post 
FlashDevelop 3 + Flex SDK
add the .swc to SWC Libraries
delete the "User Interface" from Global Classpaths (the code completion still works)

p.s. some components won't be seen unless explicitly setSize() or set the width and height.


Fri Nov 30, 2007 3:26 pm
Profile
Member

Joined: Fri Nov 30, 2007 3:01 pm
Posts: 58
Location: Guangdong, China
Post 
It works. but this .swc seems better:
http://www.snowkit.cn/upload/Component.rar
and the page is
http://www.snowkit.cn/eblog/Article.aspx?id=33
(Chinese)


Fri Nov 30, 2007 3:49 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.