#1 (permalink)  
Old 07-31-2008, 05:59 PM
Junior Member
 
Join Date: Jul 2008
Posts: 1
Default special characters

i will buy it but i saw a bug on this component. for example & character writing & .... are you have any idea for this?
Reply With Quote
  #2 (permalink)  
Old 09-07-2008, 12:05 AM
Junior Member
 
Join Date: Sep 2008
Posts: 3
Default I don't believe its a bug

I dont think this is a bug but rather a ActionScript issue. There is a fix for this but I don't understand how to do it. Hoping someone here does. I am having this issue with the black XML version but I need a fix for the & changing to &
Reply With Quote
  #3 (permalink)  
Old 09-07-2008, 12:30 PM
Super Moderator
 
Join Date: May 2008
Posts: 551
Send a message via Skype™ to Adrian
Default

Could you show me a sample ?
Reply With Quote
  #4 (permalink)  
Old 09-07-2008, 05:31 PM
Junior Member
 
Join Date: Sep 2008
Posts: 3
Default

For example:

When I open the news.xml file and replace
Code:
<link>http://www.google.com/</link>
with
Code:
<link>http://raceservers.net/rankings_n2k3.asp?rsGameName=NR2003&rsGameID=34&rsModName=SimCOT&class=SimCOT&name=Adrenalizer3</link>
When I test the link in flash it breaks the link by changing all the &'s in the link to &amp; like this:

Code:
<link>http://raceservers.net/rankings_n2k3.asp?rsGameName=NR2003&amp;rsGameID=34&amp;rsModName=SimCOT&amp;class=SimCOT&amp;name=Adrenalizer3</link>
Now if you copy and paste the first link you will see it displays the proper page but if you try the second link it goes to a page but not the correct page.

Hope this makes sense. I'm guessing something to do with nodeValue but I dont understand enough AS to fix this issue. Read somewhere that it was reading the links as text instead of html and thats why the & turns to &amp; If you could have a look at the Ticker.as and see if you could fix this then it would be the best Flash news ticker out there.

Thanks Adrian
ADPS
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.