Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Loading Unicode Characters And XML


Loading an XML file containing the unicode for the "reg" symbol. (which I think is ®)

For some reason I load this in and it isn't displaying automatically.

Note: I have the <?xml version="1.0" encoding="utf-8"?> line at the top of the XML.

The code itself isn't showing up, it's just skipping over it.

Any ideas?




General Flash
Posted on: Mon Oct 06, 2008 2:56 pm


View Complete Forum Thread with Replies

Sponsored Links:

Unicode Characters
Ack help.

i am trying to get the unicode Latin capital letter U with diaeresis to display via a txt variable in flash. The technique I tried is
"/u00dc"
but it doesn't work.

I am using flash MX on a mac. can anyone help me out?

thanks much in advance

Spin

View Replies !    View Related
Help How Do I Get Unicode Characters In KM?
I'm new to flash. I've done a couple of 'movies' and I'm working on a project where I need several languages in the same movie. I've learned about unicode fonts, but I cannot place text in KM using the non-western characters.

I can place dynamic text using a separate text file (saved in notepad as Unicode) and that works - but then I cannot use effects ... also, I tried to embed the characters and now the text does not show up.

I'm out in left field at the moment. If anyone can help, please feel free. The result I'm looking for is to use a Unicode font such as cyberbit.ttf so I can use 20 or so languages in the same swf - with text effects.

I've attached a test fun file and the txt file in a zip.

Thanks,

View Replies !    View Related
Unicode Characters
Is there anyway to show other language sets in flash by using the static text box option. I need to build a file that supports portuguese characters and be able to format the text, (bold, Italic, etc.) I have been able to do this using dynamic text boxes and embedding the font as "no character." I then set the text box to html text and import but flashes html tag support is limited. I also need to keep the file size small, so using a full character set is out of the question.

I need to do this as simple as possible because there are multiple pages that are going to need to be populated by people who do not neccessarily have flash skills. by using static text boxes, the user could just set up the text exactly how they want it on the screen and that is what they will get when they publish. hopefully this makes sense.

thanks

IMS

View Replies !    View Related
Problem With Unicode Characters
Hi,

I am working on a japanese project and got struck while displaying some unicode special characters. When I display it in the text field, I am getting the junk character instead of actual character. Please help me how we can handle the unicode characters. I am sending these characters from the server side and loading them in the LoadVars at the client side and trying to display them in a text field dynamically.

Regards,
Praveen

View Replies !    View Related
Flash Reading Unicode Characters In XML
HI ALL

I am reading an XML file in Flash MX, XML has encrypted attributes which has characters such as "", which are not recognize in Flash. So i guess the problem lies in the Unicode character, although i have used encoding option to support Unicode "<?xml version="1.0" encoding="ISO-8859-1"?>"

I am attaching the XML which i used, Let me know how to go about getting Unicode characters in Flash XML


Any books or websites regarding the same will do

Thx for all ur help

Kaf

View Replies !    View Related
Unicode Characters Not Displaying Properly
Hello. I have a text box which loads information into itself from a MySQL database. That string has unicode characters inside it. When I load that string into the text box the characters do not display properly. I don't see any of the special accents on some of the characters even though they are in unicode inside the database.

I've used the System.useCodepage = true; statement and that had no effect. Any ideas? Help on this would be great.

Thanks

View Replies !    View Related
If String Starts With Unicode Characters
Hi all,

I'm trying to catch strings which start with unicode characters, but i'm not sure how. Note the the "firstChar" can be any type of unicode character. For example:

PHP Code:



//unknown string in app
var firstChar:String = "&";
//unicode is incorrect, i not sure how you catch unicode characters
If(firstChar == unicode){
       //do something with it





Thanks

View Replies !    View Related
Question About Displaying Unicode Characters
hi all,

I have a array of text strings made up with both English letters and Chinese characters like the one below in ActionScript 3.0:

var menu_label:Array = new Array("关于about我们", "报名application方法",);

In my flash file, I can only see the English but not the Chinese. I know I am missing a something, i tried to Change the encoding, font type in my Flash preferences. None of the combinaiton worked.

Does anyone have any clue?

Thanks!

View Replies !    View Related
Dynamic Unicode Text And Special Characters
hi.

i was told if i want to upload a dynamic text from a .txt file into a dynamic text fileld in flash6 i should save it as unicode file (for e.g. with word) in case i use special html characters (,,...etc.).
o.k. so far, but my text has to start with a variable name like var=...text...,
and the unicode format puts some symbols in front of the "var=" so it can not be detected by flash anymore. what to do?

View Replies !    View Related
Unicode Characters Sending From Flash Through XML To Server
Hi All,

Having a input text filed, where unicode characters can be entered. By clicking the submit button, it generates an xml with the data entered in the field. The xml is then posted to the server.

The issue is, on client side, the xml contains the utf-8 characters but on server side it shows as some junk values.

Is there any way by which we can post the unicode characters to a server.

Any help would be appreciated.

Thanks

View Replies !    View Related
Flash MX 2004 Not Displaying Unicode Characters Dynamically
Hi,

on building my flash site in MX the Unicode characters loading in dynamically came in perfect, though when switching to MX 2004 to include .flv files, the same unicode characters arent appearing as before.

Does anyone know what i may be doing wrong or have neglected to do?

i have embedded the fonts, and special characters.

Thanx,
I appreciate any help!
marie-therese

View Replies !    View Related
Problems Displaying Unicode Encodeded Characters In Components
I'm having problems getting Flash to display unicode that is imported from XML. In the example below the unicode characters in the name tag come through in Flash exactly as typed eg: u00EA

The xml file is written by PHP.

<?xml version="1.0"?>
<!-- Generated On: Sep-11-2007 12:24:19 --><Colortool><Siding><item><type>c</type><id>11</id><name>Revu00EAtement Spu00E9cial</name>
etc..

However I've also tried re-saving the file manually in an editor encoded as UTF-8. Same result.

Setting up a little test like:

temp = "Revu00EAtement de premiu00E8re qualitu00E9";
trace ("temp: " + temp);

Traces: Revêtement de première qualité as expected.

Any ideas why it works when the variable is set in Flash, but not when it's loaded from XML?

Thanks,

Anson

View Replies !    View Related
Embedding Font Outlines Fills Open Characters And Does Not Display Unicode
i generated a unicode truetype font using fontographer 4.1.

then, in Flash mx i created a dynamic text field, checking font outline embedding to "all".

then i load utf-8 encoded variables into the movie from a php script.

the first problem is that letters with "holes" like A, D, O, P, etc. are displayed with the holed FILLED!!!

second, the unicode chars are not displayed. i tested that with actionscript by checking the character codes of the loaded text strings, and it gives plain ASCII numbers, which i then convert to unicode notation uXXXX, and only then they are displayed correctly.

ok, i tried using shared fonts. DOES NOT WORK! well.. it works only partly - the font _is_ loaded, but in the movie, where I load the font, no frame labels are recognised, so when i write gotoAndPlay("test") (and there _is_ such label) the movie resumes playing from the first frame as if it could not find such label.

what's going on, people??? help!

View Replies !    View Related
Loading Textfile In Unicode
Hello
I have a textfile in german that includes and so on. Now i load it in flash and it isnt showing the . Anyone knows how I can show these letters loaded from a textfile in flash?
friendly greez ecaps

View Replies !    View Related
Simple Loading Unicode Problem
Hi
was wondering if someone could explain how to do this...

in flash if i use:

myText.text = "uFE94";

it spits out the correct unicode character (in this case an arabic letter) ﺔ


However, i need to load it externally.

I`ve used a simple text file which looks like this:

myvar=uFE94

when i load it into flash it displays it literally
myText.text = myvar;

= uFE94


can anyone tell me where i`m going wrong?

basically i need to get this list of unicode values loaded into flash and displayed correctly

arabic="uFE94uFEF4uFE91uFEAEuFECCuFEDFuFE8DuFE94uFEE4uFEE0uFEDCuFEDFuFE8D"





Thanks very much for any help at all

View Replies !    View Related
Problem In Loading An External File With Unicode Name
Hi,

I am working on a project which involves loading of an external file with unicode name for ex: "插入音乐.mp3 ,插入音乐.jpg". These unicode files are loaded successfully when I play/publish the movie with flash player alone.

But when the movie is embedded in to HTML file, it is failing to load files with unicode name. this works fine with English name.

is it a bug? if not pls help.. on this issue

Thx

View Replies !    View Related
Problem In Loading An External File With Unicode Name
Hi,

I am working on a project which involves loading of an external file with unicode name for ex: "插入音乐.mp3 ,插入音乐.jpg". These unicod files are loaded successfully when I play/publish the movie with flash player alone.

But when the movie is embedded in to HTML file, it is failing to load files with unicode name. this works fine with English name.

is it a bug? if not pls help.. on this issue

Thx

View Replies !    View Related
Loading External Text File And Unicode Problems HELLP
Hi all great forum and a lot of help
Here is my problem
I create web presetation for one company you can check it on http://www.meda.co.ba
i have sometimes problem when i did check this pages with loading text files
Some of the files load fine some of them stuck on a half way or dont load text at all
On my local machine ( windows xp pro everithing works fine but there is a nother problem with ebeding fonts
Is there any way to check are the embeded fonts draged inside the swf file because on some computer i notice that my formating dont work and some local language letters missing
I find the best way to use UTF 8 code page because this code page only work with flash and our local caracter set ( eastern europian and also croatian caracter set if any one have similar problems and ideas for solving them i am free to help if i can

Oh Yes i forgot to ask main isue of this topic
is tere a way to make a triger when text variable is loaded from external file ( clasictxt file ) and then to run it inside swf file
I know that this topic was often here but i still didnt find solution for my problem and the main problem here is why diferent platforms act diferent with those embeded fonts

Kind regards and i hope that someone will help us because i am not alone here with this problem

Slobodan Krstic
www.katodik@katodik.uni.cc

View Replies !    View Related
Wrong Characters When Loading .txt
Hi there.

When I'm loading text from a .txt-file some chartacters go wrong: like the ' " *

How can I solve that problem, what am I doing wrong?

Thanx,

Leon

View Replies !    View Related
Loading Special Characters
Hey everyone, hopefully this is really easy. I have a really simple easy quiz that pulls questions off a .txt file. Trouble is, whenever a question uses the special character "&", flash doesn't display it. Almost as if it isnt there. If I push things further, it actually displace a space, or in some cases seems to delete whatever letter was in front of it!?

Does anyone know whats going on? Does anyone know what I need to do to the data sheet (or flash) to let it full up % and other special characters like $, #, or @ ??

View Replies !    View Related
Special Characters Do Not Appear When Loading A .txt File. Why?
I have an invisible button.

onRollover it loads a text file:
loadVariablesNum ("textfile.txt", 0);

This is cool but the problem is that the file does not display any special characters (eg. %, +, &).

If the special character is between two words - it drops the word after the special character.

I have tried to replace "&" with "&" but to no avail.

Please help...

View Replies !    View Related
Loading Text: Special Characters
When loading in variables is it possible to mark out the '&' sign?
Cheers

View Replies !    View Related
Loading Text, Erronious Characters...
I'm using a code like this

Code:
counter = new XML();
counter.onData = function(data) {
data = data.split("
").join("
");
TextField2 = data;
};


counter.load("home_news1.txt");
To load a text file into my movie, but it doesn't accept many characters especially '. Is there a way to fix this so that it will load the text correctly.

View Replies !    View Related
Problems Loading European Characters From XML
Anyone have a solution for this? I can load " " or " " into a dynamic text field loaded in from an XML stream. Ive tried everything.

any one ever have similar problems? and yes Ive tried embedding, ascii code ect...

View Replies !    View Related
XML - Loading Latin-1 (ISO-8859-1) Characters?
Have some experience loading XML files, but this is a new issue to me. I see my accented characters displaying properly in my text editor. And I've confirmed that my font is OK in Flash by testing a dynamic text box--the accents in the test appear OK, so it's not the XML file or the font, it seems to be the XML loader itself.

My XML file looks like this (there are Latin accented characters in the text node:

<?xml version="1.0" encoding="ISO-8859-1"?>
<projects>
<project id="0">
<_iID>0</_iID>
<_sProjectDescription>La piratera es una prctica, tan antigua como la navegacin misma, en la que una embarcacin privada o una estatal amotinada ataca a otra en aguas internacionales o en lugares no sometidos a la jurisdiccin de ningn Estado, con un propsito personal para robar su carga, exigir rescate por los pasajeros, convertirlos en esclavos y muchas veces apoderamiento de la nave misma.</_sProjectDescription>
</project>
</projects>

BUT, once Flash loads the XML, I trace it out and the output misses these characters:
<_sProjectDescription>La pirater?a es una pr?ctica, tan antigua como la navegaci?n misma, en la que una embarcaci?n privada o una estatal amotinada ataca a otra en aguas internacionales o en lugares no sometidos a la jurisdicci?n de ning?n Estado, con un prop?sito personal para robar su carga, exigir rescate por los pasajeros, convertirlos en esclavos y muchas veces apoderamiento de la nave misma.</_sProjectDescription>

Is this a known issue I don't know about? I can't find anything in the documentation and have scoured the web for hours for an answer.

Any help would be greatly appreciated! Below for reference is my load function for reference.Thanks.

SB

--

function loadXML()
{
trace("loadXML()");
map_xml.ignoreWhite = true;
map_xml.onLoad = function(success:Boolean) //handleLoad becomes a method of map_xml
{
if(success)
{
trace("loadXML: XML Status: " + map_xml.status);
trace("loadXML: XML load success. XML:");
trace(map_xml);
handleXMLLoad();
}
else
{
trace("loadXML: ***ERROR - map_xml.load FAILED.*** Status/Error code: "+ map_xml.status);
}
}
map_xml.load("xml/Map_data.xml"); //read from XML file.
}

View Replies !    View Related
Loading ISO-8859 (Latin1) Characters From XML
Have some experience loading XML files, but this is a new issue to me. I see my accented characters displaying properly in my text editor. And I've confirmed that my font is OK in Flash by testing a dynamic text box--the accents in the test appear OK, so it's not the XML file or the font, it seems to be the XML loader itself.

My XML file looks like this (there are Latin accented characters in the text node:

<?xml version="1.0" encoding="ISO-8859-1"?>
<projects>
<project id="0">
<_iID>0</_iID>
<_sProjectDescription>La piratería es una práctica, tan antigua como la navegación misma, en la que una embarcación privada o una estatal amotinada ataca a otra en aguas internacionales o en lugares no sometidos a la jurisdicción de ningún Estado, con un propósito personal para robar su carga, exigir rescate por los pasajeros, convertirlos en esclavos y muchas veces apoderamiento de la nave misma.</_sProjectDescription>
</project>
</projects>

BUT, once Flash loads the XML, I trace it out and the output misses these characters:
<_sProjectDescription>La pirater?a es una pr?ctica, tan antigua como la navegaci?n misma, en la que una embarcaci?n privada o una estatal amotinada ataca a otra en aguas internacionales o en lugares no sometidos a la jurisdicci?n de ning?n Estado, con un prop?sito personal para robar su carga, exigir rescate por los pasajeros, convertirlos en esclavos y muchas veces apoderamiento de la nave misma.</_sProjectDescription>

Is this a known issue I don't know about? I can't find anything in the documentation and have scoured the web for hours for an answer.

Any help would be greatly appreciated! Below for reference is my load function for reference.Thanks.

SB

--

function loadXML()
{
trace("loadXML()");
map_xml.ignoreWhite = true;
map_xml.onLoad = function(success:Boolean) //handleLoad becomes a method of map_xml
{
if(success)
{
trace("loadXML: XML Status: " + map_xml.status);
trace("loadXML: XML load success. XML:");
trace(map_xml);
handleXMLLoad();
}
else
{
trace("loadXML: ***ERROR - map_xml.load FAILED.*** Status/Error code: "+ map_xml.status);
}
}
map_xml.load("xml/Map_data.xml"); //read from XML file.
}

View Replies !    View Related
Loading ISO-8859 (Latin1) Characters From XML
Have some experience loading XML files, but this is a new issue to me. I see my accented characters displaying properly in my text editor. And I've confirmed that my font is OK in Flash by testing a dynamic text box--the accents in the test appear OK, so it's not the XML file or the font, it seems to be the XML loader itself.

My XML file looks like this (there are Latin accented characters in the text node:

<?xml version="1.0" encoding="ISO-8859-1"?>
<projects>
<project id="0">
<_iID>0</_iID>
<_sProjectDescription>La piratería es una práctica, tan antigua como la navegación misma, en la que una embarcación privada o una estatal amotinada ataca a otra en aguas internacionales o en lugares no sometidos a la jurisdicción de ningún Estado, con un propósito personal para robar su carga, exigir rescate por los pasajeros, convertirlos en esclavos y muchas veces apoderamiento de la nave misma.</_sProjectDescription>
</project>
</projects>

BUT, once Flash loads the XML, I trace it out and the output misses these characters:
<_sProjectDescription>La pirater?a es una pr?ctica, tan antigua como la navegaci?n misma, en la que una embarcaci?n privada o una estatal amotinada ataca a otra en aguas internacionales o en lugares no sometidos a la jurisdicci?n de ning?n Estado, con un prop?sito personal para robar su carga, exigir rescate por los pasajeros, convertirlos en esclavos y muchas veces apoderamiento de la nave misma.</_sProjectDescription>

Is this a known issue I don't know about? I can't find anything in the documentation and have scoured the web for hours for an answer.

Any help would be greatly appreciated! Below for reference is my load function for reference.Thanks.

SB

--

function loadXML()
{
trace("loadXML()");
map_xml.ignoreWhite = true;
map_xml.onLoad = function(success:Boolean) //handleLoad becomes a method of map_xml
{
if(success)
{
trace("loadXML: XML Status: " + map_xml.status);
trace("loadXML: XML load success. XML:");
trace(map_xml);
handleXMLLoad();
}
else
{
trace("loadXML: ***ERROR - map_xml.load FAILED.*** Status/Error code: "+ map_xml.status);
}
}
map_xml.load("xml/Map_data.xml"); //read from XML file.
}

View Replies !    View Related
Loading Special Characters From Text Files
Hi
How can I load a variable with a special character in from a text file?

In my text file I have:
word=aprs

It is always loaded incorrectly by flash.

thx
all help appreciated

View Replies !    View Related
Problems Loading French Characters Into Flash
I am having problems loading French symbols into Flash (Using loadVariables ("newsFromDb.php", this)

All the text is loading into Flash fine except the French symbols (Ex: ) shows as hollow squares.

I also tried to urlencode the content before loading it to the flash file but then when loaded into the Flash file it shows [HTML]&eacute;[/HTML] (HTML Code for ) even so I have the HTML rendering on for the dynamic text field.

Does anyone know a solution for this problem?

There must be a way to make this work...

View Replies !    View Related
[F8] Loading Math Characters From An External File
I realize there's lots of info on this around the forum and online, but I've yet to find one that works for me.. Basically I have a game that has math questions pop up between levels. The questions are being loaded dynamically from a text file and I just can't seem to find a way to view the division and multiplication signs...

I've saved my text file as UTF-8 and added this script to the first frame of my movie:

if(!System.useCodePage)

System.useCodePage = true;

still coming up blank.. Oh I also tried using different coded variations with no luck. (eg %00F7 for the division symbol)

Anyone have any insights?

Cheers!
Ryan

View Replies !    View Related
Special Characters Not Loading Correctly From LoadVar
Hi.

I'm pulling Text from a DB with ASP and loading it into Flash with LoadVars. The problem I"m having is with special characters like apostrophes and such. I tried the following function below but that puts in the "literal code" value into flash instead of what I want. For instance I would see """ in flash. Any ideas would be extreamly helpfull. Also when I'm creating dynamic textboxes in flash, can I load it with HTML tags. Some of my text has bullet points and I would like to show them..

Function replaceSpecialChars(ByVal strText)
Dim strTemp
strTemp = Replace(strText,"'","'")
strTemp = Replace(strTemp,"&","&")
strTemp = Replace(strTemp,"",""")
strTemp = Replace(strTemp,"",""")
strTemp = Replace(strTemp,"","'")
strTemp = Replace(strTemp,"","'")
strTemp = Replace(strTemp, "", "–")
strTemp = Replace(strTemp, "", "—")
strTemp = Replace(strTemp, "", "¯")
strTemp = Replace(strTemp, "", "²")
strTemp = Replace(strTemp, "", "³")
strTemp = Replace(strTemp, "", "À")
strTemp = Replace(strTemp, "", "Á")
strTemp = Replace(strTemp, "", "Â")
strTemp = Replace(strTemp, "", "Ä")
strTemp = Replace(strTemp, "", "Ç")
strTemp = Replace(strTemp, "", "È")
strTemp = Replace(strTemp, "", "É")
strTemp = Replace(strTemp, "", "Ê")
strTemp = Replace(strTemp, "", "Ë")
strTemp = Replace(strTemp, "", "Ì")
strTemp = Replace(strTemp, "", "Í")
strTemp = Replace(strTemp, "", "Î")
strTemp = Replace(strTemp, "", "Ï")
strTemp = Replace(strTemp, "", "Ò")
strTemp = Replace(strTemp, "", "Ó")
strTemp = Replace(strTemp, "", "Ô")
strTemp = Replace(strTemp, "", "Ù")
strTemp = Replace(strTemp, "", "Ú")
strTemp = Replace(strTemp, "", "Û")
strTemp = Replace(strTemp, "", "Ü")
strTemp = Replace(strTemp, "", "ß")
strTemp = Replace(strTemp, "", "à")
strTemp = Replace(strTemp, "", "á")
strTemp = Replace(strTemp, "", "â")
strTemp = Replace(strTemp, "", "ã")
strTemp = Replace(strTemp, "", "ä")
strTemp = Replace(strTemp, "", "ç")
strTemp = Replace(strTemp, "", "è")
strTemp = Replace(strTemp, "", "é")
strTemp = Replace(strTemp, "", "ê")
strTemp = Replace(strTemp, "", "ë")
strTemp = Replace(strTemp, "", "î")
strTemp = Replace(strTemp, "", "ï")
strTemp = Replace(strTemp, "", "ñ")
strTemp = Replace(strTemp, "", "ò")
strTemp = Replace(strTemp, "", "ó")
strTemp = Replace(strTemp, "", "ô")
strTemp = Replace(strTemp, "", "õ")
strTemp = Replace(strTemp, "", "ö")
strTemp = Replace(strTemp, "", "ù")
strTemp = Replace(strTemp, "", "ú")
strTemp = Replace(strTemp, "", "û")
strTemp = Replace(strTemp, "", "ü")
strTemp = Replace(strTemp,vbcrlf," ")
replaceSpecialChars = strTemp
End Function

View Replies !    View Related
Characters Are Displayed Wrong When Loading Into Flash
I am working on a website in which I am dynamically loading text from an mySQL database into a flash website using php and actionscripting. The text is loaded into the database from an admin page, also using php.

The problem that I am having is that when the text is displayed in flash, dashes and hyphens appear as boxes. I would really like to figure this one out.


The website that I am having the problem with is www.oakroom.net.

Thanks for your help

View Replies !    View Related
Loading French Characters Doesnt Work
Hi there, ive got a problem; im loading a text from a mysql-db with php. I use url encoding/decoding but still my flash shows a small "square" instead of "" (for example) in the textfield (using arial). Embedding the font doesnt work either i think. Anyone know how to solve this?

View Replies !    View Related
Loading Dynamic Text With International Characters...
Hi everyone,

Could it be possible to load dynamic text into a text field with international characters: , , ...? This text field must have a scrollbar because my text is too long to enter in my page.

But ideally, I would like to have this text to be formated: it is a FAQ page with Questions (I would like those to be bigger with different color) and answers. It this task possible? HTML with CSS?

View Replies !    View Related
Help Loading Xml File (characters Not Displaying Properly)
this is my xml file


Code:
<game>
<question type="image">
<questionText>Who's your daddy?</questionText>
<answer1 image="images/cool.jpg">Dinner</answer1>
<answer2 image="images/geek.jpg">Happy Hour</answer2>
<answer3 image="images/sportguy.jpg">Sporting Event</answer3>
</question>
<question type="text">
<questionText>What's your daddy's name?</questionText>
<answer1>Nardo</answer1>
<answer2>Ramon</answer2>
<answer3>Mambol</answer3>
</question>
</game>
for some reason the apostrophes ' in the Who's your daddy? and the question mark ? are not displaying properly.

this is what i get
Who&apos;s your daddy

View Replies !    View Related
Characters Are Displayed Wrong When Loading Into Flash
I am working on a website in which I am dynamically loading text from an mySQL database into a flash website using php and actionscripting. The text is loaded into the database from an admin page, also using php.

The problem that I am having is that when the text is displayed in flash, dashes and hyphens appear as boxes. I would really like to figure this one out.


The website that I am having the problem with is www.oakroom.net.

Thanks for your help

View Replies !    View Related
Loading French Characters Doesnt Work
Hi there, ive got a problem; im loading a text from a mysql-db with php. I use url encoding/decoding but still my flash shows a small "square" instead of "" (for example) in the textfield (using arial). Embedding the font doesnt work either i think. Anyone know how to solve this?

View Replies !    View Related
Problems Loading French Characters Into Flash
I am having problems loading French symbols into Flash (Using loadVariables ("newsFromDb.php", this)

All the text is loading into Flash fine except the French symbols (Ex: ) shows as hollow squares.

I also tried to urlencode the content before loading it to the flash file but then when loaded into the Flash file it shows &eacute; (HTML Code for ) even so I have the HTML rendering on for the dynamic text field.

Does anyone know a solution for this problem?

There must be a way to make this work...

View Replies !    View Related
Special Characters Problem While Loading Text File
Hai Flash guys

I've problem loading the text file with special characters. That mean in my text content i'm having "&" symbol. In movie this text file loading and displaying up to this symbol and other contents are not displaying. I come to know that for this special characters we've to give code as "%25" in text file. And now its working fine.

I don't want to give code to this type of special characters every time in my text. We can place script for this character allowing in movie to display its right.

If u've idea pls give solution for this. I would like to know about this solution

thx
sathish

View Replies !    View Related
Loading Special Characters From External Txt File Failes
Hi,

I try to load a text with french characters in it ( ...). I load it in html text with system font (verdana I think) but flash displays them as a small box:

example:
Fran��ais: La foule, les ambiances �lectriques

How can this be solved?

View Replies !    View Related
Loading External Txts With NON Standard ASCII Characters
Hello everybody. This is my first post here.
I've used a Kirupa tuto for loading externat txts in a dynamic text box and works...
but the problem is I'm spanish and we use accents and the break c:

So I changed the externat txts to html files in order to use accents, but...
as Flash uses the "wonderful" ampersand to change between texts blocks, everytime I write an accent or a , Flash thinks this is the end of the text and hides the next text.
So, there's is a way to use externat txts or html with non standard ASCII loaded in Flash?

View Replies !    View Related
Loading External Txts With NON Standard ASCII Characters
Hello everybody. This is my first post here.
I've used a Kirupa tuto for loading externat txts in a dynamic text box and works...
but the problem is I'm spanish and we use accents and the break c:

So I changed the externat txts to html files in order to use accents, but...
as Flash uses the "wonderful" ampersand to change between texts blocks, everytime I write an accent or a , Flash thinks this is the end of the text and hides the next text.
So, there's is a way to use externat txts or html with non standard ASCII loaded in Flash?

View Replies !    View Related
Loading Dynamic Data Into Flash Returns No Special Characters HELP
Can someone help me with this, every space ( ) in my database is returned like %20 and for example every slash (/) is returned %2F

Is there a way to show them right, please help.

Remoting used: AMFPHP

My actionscript

Code:
#include "NetServices.as"
#include "NetDebug.as"

// AMFPHP: atention, change the amfphp path to gateway to match your needs!!
NetServices.setDefaultGatewayUrl("(something).php")
var gatewayConnection = NetServices.createGatewayConnection()
service = gatewayConnection.getService("News", this)


//Result handler
getTitles_Result = function(rs){
cant = rs.getLength() //how many rows are in our recordset?
for(var i=0; i<cant; i++){
//Dinamyc put base on stage and fetch data to it
attachMovie("base", "base"+i, i, {_x:10, _y:(21*i)+21})
this["base"+i].deelnemer_txt.text = rs.getItemAt(i).deelnemer
this["base"+i].categorie_txt.text = rs.getItemAt(i).categorie
}
}
//Method call
service.getTitles()
stop()
My PHP service

Code:
<?php
class News
{
//Change this variables to match your needs
var $dbhost = "localhost";
var $dbname = "something";
var $dbuser = "something";
var $dbpass = "something";

function News()
{
$this->methodTable = array(
"getTitles" => array( //selects all available Titles
"description" => "Returns avaible Category of books",
"access" => "remote", // available values are private, public, remote
"returntype" => "recordSet"
)
);
// Initialize db connection
$this->conn = mysql_pconnect($this->dbhost, $this->dbuser, $this->dbpass);
mysql_select_db ($this->dbname);
}
function getTitles()
{
return mysql_query("SELECT deelnemer, categorie, standnr, caption FROM deelnemers");
}
}
?>

View Replies !    View Related
Changing Foreign Language Characters To Normal Characters
Hi

What im doing is taking a word from an imput box and the searching an xml file for it.

I have all that working.
MY issue is the application is in french and i want to be able to strip the inputed word of special characters
like .

The reason for this i because if i have to account for the case that the user uses the special character and not use the special character (just incase) then this will eventually inflate the size of the xml im searching because ill have to put in both.

EG
User 1 searches for Abb
User 2 searches for Abbe

They both get a result

CURRENT SOLUTION
XML Contains entry for Abb and Abbe

DESIRED SOLUTION
XML Contains entry for Abbe only
Actionscript strips the search word of special characters to a and to e etc etc
Searchs the XML with new stipped word!!!

Thanks

View Replies !    View Related
Special Characters Same CharCode As Normal Characters?
Hey everyone

I have a key listener where I trace the KeyboardEvent:


Code:
stage.addEventListener(KeyboardEvent.KEY_DOWN, testIt);

private function testIt(e:KeyboardEvent):void
{
trace(e);
}
My problem is, that my danish character traces exaclty the same event as the letters aoa... All my danish colleagues have no problems getting the right charCode, but mine just can't handle it...

What can be the problem here????

View Replies !    View Related
Unicode
hi

how to use unicode in loadvariable. Iam using the spl character like ",>,<

how to give those spl character using unicode or any other way.

thanks
dilip

View Replies !    View Related
Unicode - Please Help...
I a mtrying to make a page that uses special Chinese characters, or for the sake of it, any Unicode characters... I create a dynamic textfield called myTextField_txt, and I add the following code to the first frame of the movie:


Code:
myTextField_txt.text = "u4130";
So far, so good. When I have to make lots of those symbols, I need to make the "4130" part of the code a variable. So I modify the code as follows:


Code:
var myVar="4130";
myTextField_txt.text = "u" + myVar;
It doesn't work any more... Do I have to make it literally, ONE BY ONE, for every one of the signs I want to include in my Flash movie?

View Replies !    View Related
To Unicode Or NOT
I posted yesterday may problem, I've made some research since then so here it goes again.

The thing is this: for some none US ENGLISH characters flash loadVars behaves in a strange way.

When Flash does a loadVars the text it receives from the server has to be URLEncoded, this is that the abnormal charactars are Encoded into it's Hexahesimal value like this: the '<' Symbol is turned into %3D or somenumber like that and the SPACES are turn into '+', then the Flash URLdecoder from loadVars turns it back into the '<' Symbol.

That's quite good until you find a '' Character or any of the sort.

Just to make my point, the '' Character is encoded into %E1, and to my surprise, the unicode value for it is 0x00E1, so....

HOW COME THAT FLASH PARSES IT INTO A ? THAT EATS THE NEXT CHARACTERS TOO???

Should I turn all the %xx characaters into %00xx for flash to understand them correctly? if so why I don't have this problem with the '<' sign or any of its neighbours?.

Please someone help me, anyone has have this problem before?

The System.UseCodePage command didn't work and it's quite ovius why.... I'm not talking of a text file, but a response from the server.

View Replies !    View Related
Unicode
Hi all...
Can anyone help me with this annoying prob plz..
Is there any chance at all to make the SWF file accept unicode code ??
Regards

View Replies !    View Related
Unicode
Hi, The site i'm working on has (obviously) a flash - swf which deals with couple languages, such as Chinese, Hebrew, Russian.. so need to use Unicode.
I want to reassure:
In the ASP pages need to have: session.CodePage=65001
and in the htm tags - inside the head tag:
<meta http-equiv='Content-Type' content='text/html; charset=UTF-16'>

Is that all?

The data in the Database: is there any special format that the data should be saved?

Any tips will be more then welcome !! :-)

Thanks in advanced,
Maya.

View Replies !    View Related
Unicode
does anyone know how to get to this part of the scripting in your flash file?

----------------System.useCodepage ------------------------



i am trying to change the language on the code in one of my files and if i set this to true, i changes everything to english..




please help!
thanks!
janey420

View Replies !    View Related
Copyright 2005-08 www.BigResource.com, All rights reserved