UserList swc export issue

Everything about the SmartFoxBits UI Components for SmartFoxServer 1.x. Post your questions, suggestions and bug reports.

Moderators: Lapo, Bax

zatta
Posts: 9
Joined: 15 May 2010, 22:18

UserList swc export issue

Postby zatta » 15 May 2010, 22:25

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
User avatar
cksachdev
Posts: 55
Joined: 28 Aug 2007, 10:13
Location: Bangalore, India
Contact:

Postby cksachdev » 17 May 2010, 08:53

@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.
--
Chetan Sachdev
Site: http://www.chetansachdev.com
zatta
Posts: 9
Joined: 15 May 2010, 22:18

Postby zatta » 17 May 2010, 11:08

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 :roll:

I hope bits may release a swc that doesn't require flex someday
User avatar
cksachdev
Posts: 55
Joined: 28 Aug 2007, 10:13
Location: Bangalore, India
Contact:

Postby cksachdev » 17 May 2010, 11:30

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".
--

Chetan Sachdev

Site: http://www.chetansachdev.com
zatta
Posts: 9
Joined: 15 May 2010, 22:18

Postby zatta » 18 May 2010, 07:41

I have sent example project to your mail. As it is too late for my project I can't switch to authoring tool, so next time :) Thank you for interest on issue

Return to “SmartFoxBits for SFS 1.x”

Who is online

Users browsing this forum: No registered users and 1 guest