Msg#: 4016367 posted 3:49 pm on Oct 30, 2009 (gmt 0)
I'm trying to split an array in as3 and I want to split it on ",". I also want to be able to include "," as part of the text in the array but using the correct html code. Now in IE this seems to work fine, but in FireFox the split script doesn't seem to get executed correctly. It also doesn't seem to like any other htmlentities. e.g if I have it also throws out the split.
Msg#: 4016367 posted 5:30 pm on Oct 31, 2009 (gmt 0)
A bit confused, you say in AS3 which should be executing directly in the Flash, which would have little to do with the browser rendering. Can you post some simplified anonymous code and the general task flow?
Msg#: 4016367 posted 5:55 pm on Oct 31, 2009 (gmt 0)
Hi, sorry I forgot I'd even posted here. I'd worked out what the problem was. Flash vars were being passed to a swf using swfobject. The text that was being sent as a var contained html such as whereas it just needed to be url encoded instead e.g. %20.It seemed to be working fine in IE7 but not in FF but I wonder if that was just down to IE displaying a cached version of the page which is why it appeared to be working.