-
Flash troubles
I have a bug in flash with listing channels.
In exe works properly
request list
on list recieved - loop
on loop - add line
anyway in flash when i request first time, it lists channels as it should.
on next request it lists channels twice
on third 3 times
on fourth 4 times and so on...
The loop for some reason loops the same channels multiple times(number of requests made)
-
Re: Flash troubles
From the looks of things, I'd say it's not clearing the current channel list when it retrieves the new one.
-
Re: Flash troubles
Yeah it doesn't, my only option is to remove all the duplicates from the list after the loop. But in that case i can't have number of peers next to the name.
Is there a way to force the lacewing to clear the channel list?
-
Re: Flash troubles
-
Re: Flash troubles
You will need to use the 'Reset' action in the List object before doing the loop again. This will erase all of the list.
-
Re: Flash troubles
Lol, offcourse i reset the list, the list is not the issue...
I did wrote it works properly in exe, so if it works in exe it is a bug that appears in flash and has nothing to do with my actuall code(as its the same as in exe).
I did try to figure out what is the problem but with no luck, although it may be that this problem appears if the user is connected to a channel when requesting the list.
Anyway i recoded and worked around the channel listing problem, im using messages to channel instead, so it's pretty much not an issue anymore, but it would be nice if it worked properly.