homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

Flash split array on , but ignore htmlentities

5+ Year Member

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.

Any help on this would be appreciated.

many thanks



WebmasterWorld Senior Member rocknbil us a WebmasterWorld Top Contributor of All Time 10+ Year Member

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?


5+ Year Member

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved