Hi, I ve been trying to make UserList component work in following conditions:
- A project under Flash Builder 4
- With a binding of swc component that is exported via Flash CS4
Other components are working without problem,however when I add this to same place, it generates following exceptions at initializing phrase:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at fl.controls::ColorPicker/removeStageListener()
at fl.controls::ColorPicker/close()
at fl.controls::ColorPicker/set enabled()
at it.gotoandplay.smartfoxbits.bits::ChatBox/enableInterface()
at it.gotoandplay.smartfoxbits.bits::ChatBox/set privateChatMode()
at it.gotoandplay.smartfoxbits.bits::UserList/configUI()
at fl.core::UIComponent()
at it.gotoandplay.smartfoxbits.bits::UserList()
All components are in a single exported MovieClip which I create an instance of it in FB4
UserList swc export issue
@zatta
Few questions, to resolve your issue:
1. Are you building an ActionScript 3 Project, or its a Flex Project ?
2. If you are making use of Flex Framework, then you need to use Flex version of components, otherwise you need to build and compile in "Flash Authoring Tool" [Flash CS3/CS4]
Try to look at one of the examples, which comes with SmartFoxServer, and let me know if you face any issues.
Few questions, to resolve your issue:
1. Are you building an ActionScript 3 Project, or its a Flex Project ?
2. If you are making use of Flex Framework, then you need to use Flex version of components, otherwise you need to build and compile in "Flash Authoring Tool" [Flash CS3/CS4]
Try to look at one of the examples, which comes with SmartFoxServer, and let me know if you face any issues.
Hi,
It is an AS3 project under Flash Builder 4, besides I tried flex components which didn't work as expected. It would be good to have swc for AS3 projects which are not flex and outside of Flash.
This also means, other components have worked accidently
I got sure when I noticed that connector component didn't trace output while debug is set to true, however it shows green light and makes roomlist to list rooms
I hope bits may release a swc that doesn't require flex someday
It is an AS3 project under Flash Builder 4, besides I tried flex components which didn't work as expected. It would be good to have swc for AS3 projects which are not flex and outside of Flash.
This also means, other components have worked accidently
I got sure when I noticed that connector component didn't trace output while debug is set to true, however it shows green light and makes roomlist to list rooms
I hope bits may release a swc that doesn't require flex someday
If you don't want flex framework in your project, then you certainly need to use bits for "Flash Authoring Tool".
About your Connector and RoomList issue:
I think, when you set debug to true, it will still populate RoomList component, with available rooms, regardless of debug flag.
Also, can you make sure, that your swc file have ColorPicker component. You can confirm that, by extracting the "swc", file using a zip extractor utility. Open catalog.xml and search for ColorPicker.
If you can share your sample AS3 project, I can look into this issue further:
You can send an email to: "cksachdev [at] gmail [dot] com".
About your Connector and RoomList issue:
I think, when you set debug to true, it will still populate RoomList component, with available rooms, regardless of debug flag.
Also, can you make sure, that your swc file have ColorPicker component. You can confirm that, by extracting the "swc", file using a zip extractor utility. Open catalog.xml and search for ColorPicker.
If you can share your sample AS3 project, I can look into this issue further:
You can send an email to: "cksachdev [at] gmail [dot] com".
Return to “SmartFoxBits for SFS 1.x”
Who is online
Users browsing this forum: No registered users and 18 guests