 |
 |
 |
|
Page 1 of 1
|
[ 5 posts ] |
|
| Author |
Message |
|
nyquist
Sponsor
Joined: Sun Aug 05, 2007 7:01 pm Posts: 71 Location: Near Denver, Colorado, USA
|
 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 |
|
 |
|
tiagoamorim
Member
Joined: Tue Oct 30, 2007 5:36 pm Posts: 1
|
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 |
|
 |
|
Philippe
Admin
Joined: Wed Aug 31, 2005 7:27 am Posts: 7470 Location: Paris, France
|
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 |
|
 |
|
ordinaryj
Member
Joined: Fri Nov 30, 2007 3:01 pm Posts: 58 Location: Guangdong, China
|
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 |
|
 |
|
ordinaryj
Member
Joined: Fri Nov 30, 2007 3:01 pm Posts: 58 Location: Guangdong, China
|
|
| Fri Nov 30, 2007 3:49 pm |
|
|
|
Page 1 of 1
|
[ 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
|
|
 |
|