Search found 64 matches

by svizzari
25 Feb 2011, 21:56
Forum: OpenSpace v2 discussions and help
Topic: leaveEditMode error
Replies: 12
Views: 17323

Which OpenSpace SWC was I using do you mean? If so, I was using the Flash SWC and compiling via FlashDevelop and the Flex compiler.
by svizzari
25 Feb 2011, 07:38
Forum: OpenSpace v2 discussions and help
Topic: leaveEditMode error
Replies: 12
Views: 17323

Hi Paolo,

Thanks for the reply.

In my test, the dropped item didn't disappear, it fixed to the map at that position.
by svizzari
17 Nov 2010, 20:45
Forum: OpenSpace v2 discussions and help
Topic: leaveEditMode error
Replies: 12
Views: 17323

Hmm, I'll investigate some more and let you know what I find.
by svizzari
11 Nov 2010, 21:08
Forum: OpenSpace v2 discussions and help
Topic: leaveEditMode error
Replies: 12
Views: 17323

hey bax -- to be sure we're talking about the same thing ;) When I describe the tileDropValidator function, I am talking about this . I have assigned a function of my own with the signature: function tileDropValidatorFunction(tile:Tile):Boolean { } So... in my code, this function is called by OpenSp...
by svizzari
07 Nov 2010, 20:14
Forum: OpenSpace v2 discussions and help
Topic: leaveEditMode error
Replies: 12
Views: 17323

Hi Bax, No, I'm not using multiple room joining, my application is single-room-access only. I can confirm this using the AdminTool and also by debugging on the client-side. So, at the point at which I am calling cancel, I can see by debugging that: - OpenSpace is in edit mode. - SmartFox has the cor...
by svizzari
03 Nov 2010, 20:57
Forum: OpenSpace v2 discussions and help
Topic: leaveEditMode error
Replies: 12
Views: 17323

leaveEditMode error

Hi -- I'm experiencing an issue with leaveEditMode(false) where OpenSpace seems to not 'see' the correct room id. After an item has been dropped on the map in edit mode I am validating whether the user has enough virtual credit to 'purchase' that item. If they do not I am calling leaveEditMode(false...
by svizzari
20 Oct 2010, 19:04
Forum: OpenSpace v2 discussions and help
Topic: Avatar.init
Replies: 4
Views: 7207

Hi bax -- so, referring back to an earlier post of mine, it sounds like the view related functionality already exists within the OpenSpace system to determine whether a particular tile is on-screen ;)
by svizzari
18 Oct 2010, 20:32
Forum: OpenSpace v2 discussions and help
Topic: Avatar.init
Replies: 4
Views: 7207

hi bax -- I see... The reason I asked was that my Avatar subclass implements the Flex ILayoutManagerClient interface to be able to be invalidated via the LayoutManager. Invalidation is core to our programmatic approach. I was experiencing some strange behaviour from my Avatar subclasses related to w...
by svizzari
13 Oct 2010, 23:15
Forum: OpenSpace v2 discussions and help
Topic: Avatar.init
Replies: 4
Views: 7207

Avatar.init

Hey -- Just wondering, should an avatar instance always be on the display list when it's init method is called?
by svizzari
03 Oct 2010, 00:47
Forum: OpenSpace v2 discussions and help
Topic: [FEATURE REQUEST] getTileVisibility or getTileInViewport()
Replies: 0
Views: 3368

[FEATURE REQUEST] getTileVisibility or getTileInViewport()

hey guys -- another request. Unless I'm not seeing it, there doesn't seem to be any easy way to determine whether an inventory item or avatar is currently within the viewport. Suggested methods: OpenSpace.getTileVisibility(tile:Tile):Boolean; or: OpenSpace.getTileIsInViewport(tile:Tile&#...
by svizzari
02 Oct 2010, 06:15
Forum: SmartFoxServer 1.x Discussions and Help
Topic: sendPrivateMessage + NPC avatar
Replies: 0
Views: 3039

sendPrivateMessage + NPC avatar

Hey guys -- wondering about this... I have a number of NPC's in a room and I'd like one of them to display speech bubbles at times. I'm wondering whether there is any reasonable way to use the SFS API to achieve this. sendPrivateMessage *looks* like it would do what is required but the NPC's onMessa...
by svizzari
28 Sep 2010, 22:18
Forum: OpenSpace v2 discussions and help
Topic: Parsing a map file
Replies: 4
Views: 8293

Easiest way to work out the meaning of the JSON keys / attributes is just to create a test map in the editor and then cross-reference the JSON with any items you put on the map.

Like Bax says, no documentation, this goes beyond the standard way of working with OS, but, isn't that hard to work out.
by svizzari
27 Sep 2010, 08:45
Forum: OpenSpace v2 discussions and help
Topic: MapInteractionEvent.SKIN_CLICK returned skin issue
Replies: 4
Views: 7244

hey bax -- yep, that was my original process in determining how to modify the JSON map structure. I'll re-check to be sure that instance names have been assigned to the relevant tiles however I'm 99% sure they have ;)
by svizzari
24 Sep 2010, 20:58
Forum: OpenSpace v2 discussions and help
Topic: MapInteractionEvent.SKIN_CLICK returned skin issue
Replies: 4
Views: 7244

Or if you assign one during a drag-n-drop operation? The fact that tiles can be assigned a dynamic name during drag-n-drop is the basis for my assumptions about tile instance names. In my scenario I am actually modifying JSON on the server to insert some 'system-generated' inventory items (not avail...
by svizzari
24 Sep 2010, 20:55
Forum: OpenSpace v2 discussions and help
Topic: [FEATURE REQUEST] API for adding/removing inventory
Replies: 3
Views: 6112

Hi Bax -- should I have posted this in the feature requests forum? It didn't seem like a SFS request per se.

It would definitely be helpful in my situation to have API methods like those I outlined.

Go to advanced search