Re: [Flashcoders] nested for loops stumper
yep, you need some kind of scope declaration to tell you where the items are. a lot of people use thisRoot = this; (or something that states the location) and then all you have to do is pass 'thisRoot' around as a reference to where that item is. That way you never have to say 'this' when it's not actualy 'this'. B. On Jan 24, 2008 7:08 PM, Dwayne Neckles <[EMAIL PROTECTED]> wrote: > ok guys sorry for sending this quest out > > i found the answer .. u can not forget the this before any dynamically > access variables.. > > nothing wrong with a good reminder right : ) > > > > > From: [EMAIL PROTECTED] > > To: flashcoders@chattyfig.figleaf.com > > Date: Fri, 25 Jan 2008 01:52:58 + > > Subject: [Flashcoders] nested for loops stumper > > > > I 4 movie clips on the stage named scrollx where x are numbers 0- 3 and > within each scrollx clip i have 5 nested movieclips..is called clipx where x > are numbers 0-4 > > > > YET when i run the function below.. tracing scroll works but not > scrollx.clipx > > yet j traces fine.. > > > > any suggestions??? > > > > also the for loop ran well went not in the onEnterframe function, im > stuck.. > > this.onEnterFrame = function() { > > //outerloop that goes through all of the clips the four scroll clips > on the timeline > > for (var i = 0; i<4; i++) { > > > > //inner loop that goes through each drink in the scroll clips > > > > for (var j = 0; j<5; j++) { > > trace(j); > > > > trace(["scroll"+i]["clip"+j]._x); > > > > > > } > > > > > > } > > > > }; > > > > _ > > Shed those extra pounds with MSN and The Biggest Loser! > > > http://biggestloser.msn.com/___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > _ > Shed those extra pounds with MSN and The Biggest Loser! > > http://biggestloser.msn.com/___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] nested for loops stumper
ok guys sorry for sending this quest out i found the answer .. u can not forget the this before any dynamically access variables.. nothing wrong with a good reminder right : ) > From: [EMAIL PROTECTED] > To: flashcoders@chattyfig.figleaf.com > Date: Fri, 25 Jan 2008 01:52:58 + > Subject: [Flashcoders] nested for loops stumper > > I 4 movie clips on the stage named scrollx where x are numbers 0- 3 and > within each scrollx clip i have 5 nested movieclips..is called clipx where x > are numbers 0-4 > > YET when i run the function below.. tracing scroll works but not scrollx.clipx > yet j traces fine.. > > any suggestions??? > > also the for loop ran well went not in the onEnterframe function, im stuck.. > this.onEnterFrame = function() { > //outerloop that goes through all of the clips the four scroll clips on > the timeline > for (var i = 0; i<4; i++) { > > //inner loop that goes through each drink in the scroll clips > > for (var j = 0; j<5; j++) { > trace(j); > > trace(["scroll"+i]["clip"+j]._x); > > > } > > > } > > }; > > _ > Shed those extra pounds with MSN and The Biggest Loser! > http://biggestloser.msn.com/___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] nested for loops stumper
I 4 movie clips on the stage named scrollx where x are numbers 0- 3 and within each scrollx clip i have 5 nested movieclips..is called clipx where x are numbers 0-4 YET when i run the function below.. tracing scroll works but not scrollx.clipx yet j traces fine.. any suggestions??? also the for loop ran well went not in the onEnterframe function, im stuck.. this.onEnterFrame = function() { //outerloop that goes through all of the clips the four scroll clips on the timeline for (var i = 0; i<4; i++) { //inner loop that goes through each drink in the scroll clips for (var j = 0; j<5; j++) { trace(j); trace(["scroll"+i]["clip"+j]._x); } } }; _ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] missing glyphs
>From the docs: If you set the embedFonts property to true for a text field, you must specify a font for that text by using the font property of a TextFormat object applied to the text field. If the specified font is not embedded in the SWF file, the text is not displayed. On 1/23/08, Mendelsohn, Michael <[EMAIL PROTECTED]> wrote: > Hi list... > I've embedded a font that I confirmed in Windows' character map that it has > the glyphs for ≤ and ≥. These glyphs trace fine, but they don't appear in my > textField. Any idea what I'm missing? > > Thanks, > - Michael M. > > > > var objMarkText:TextField = _root.createTextField("tf", 1, 0, 0, 1, 1); > objMarkText.embedFonts = true; > var symbol:String = (i==0)?"\u2264":"\u2265"; > objMarkText.text = symbol; > trace(objMarkText.text); > > // traces correctly...but glyph doesn't show up in objMarkText.text > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Cory Petosky : Lead Developer : PUNY 1618 Central Ave NE Suite 130 Minneapolis, MN 55413 Office: 612.216.3924 Mobile: 240.422.9652 Fax: 612.605.9216 http://www.punyentertainment.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] xml generator
Eclipse has a good XML editor built in. On 1/22/08, Merrill, Jason <[EMAIL PROTECTED]> wrote: > >>I'm looking for a tool that generates XML. It's for quiz > >>questions/answers loaded into Flash. We currently edit the > >>.xml files by hand, but it's messy and causes cross-eyes. Is > >>Altova XML Spy a good tool for this purpose? Are there other, > >>less expensive ones? > > Microsoft XML Notepad is really nice and really free. Keeps your nodes > in a tree-like structure that is easy to navigate. Altova XML Spy is > expensive and probably way more capable that what your needs are. > > http://www.microsoft.com/downloads/details.aspx?FamilyId=72D6AA49-787D-4 > 118-BA5F-4F30FE913628&displaylang=en > > > Jason Merrill > Bank of America > GT&O L&LD Solutions Design & Development > eTools & Multimedia > > Bank of America Flash Platform Developer Community > > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Cory Petosky : Lead Developer : PUNY 1618 Central Ave NE Suite 130 Minneapolis, MN 55413 Office: 612.216.3924 Mobile: 240.422.9652 Fax: 612.605.9216 http://www.punyentertainment.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] MultiLanguage
> I'd think so, but it doesn't seem to be the case. In my interface for > example, I need to support Chinese simplified and traditional - and in my > tests some characters are not appearing if I just choose the traditional > level 1 support. So I need to include support for both which is like 18,000 > glyphs. For some reason traditional is 5609 glyphs and 'simplified' is > 13000+. Simple my ass. Yeah, I was surprised at the number of characters in the Level 1 Simplified. There should be fewer--part of Mao's simplification was combining words that were pronounced the same but had different characters in traditional Chinese. For example, "hou" (4th tone) can mean "empress" or "behind", depending on the character. In traditional Chinese, there are two characters, while simplified Chinese uses just one for both. > Hmmm - a thought... maybe I can just do the 5609 and then add in missing > characters as needed. So far, there only a couple that are not showing if I > use only the level 1 support. I doubt that will work for simplified. Not only were characters combined, a lot of characters were simplified to use fewer strokes. For example, my Chinese name, Tan, is actually a combination of 3 characters (not unusual). The one on the left, called the radical, is 2 strokes in simplified Chinese, and 7 strokes in traditional. Other characters, like those for "door" and "country" also use far fewer strokes in simplified Chinese. So just using the traditional character set and filling in probably won't do it for you. You'll probably end up displaying traditional characters (actually called complicated-body characters in Chinese), which some people in Singapore and mainland China won't be able to read. It's not optimal, I know, and the file will be bigger than you want. Maybe you could have them choose the language up front, then load a swf with just the right character set embedded. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] MultiLanguage
Can you get by with just the Level 1 characters? I'm guessing you probably can. Those 5,000+ characters are probably enough, unless you're doing something really specialized. I'd think so, but it doesn't seem to be the case. In my interface for example, I need to support Chinese simplified and traditional - and in my tests some characters are not appearing if I just choose the traditional level 1 support. So I need to include support for both which is like 18,000 glyphs. For some reason traditional is 5609 glyphs and 'simplified' is 13000+. Simple my ass. Hmmm - a thought... maybe I can just do the 5609 and then add in missing characters as needed. So far, there only a couple that are not showing if I use only the level 1 support. Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] MultiLanguage
Dave Mennenoh wrote: > Thanks much for the great advice. I'm getting there... However, soon as I > include the Chinese glyphs my swf gets to near 5MB. Is there an easy way to > embed only the chinese glyphs in a separate swf and load them only if > needed? AS2... With Cryllic, Hangul, and everything else I get a > respectable 300K, but the chinese adds too much to just leave it in. Ok, it's time to admit it--I speak Chinese (Mandarin). Cyrillic and Hangul are phonetic character sets, and don't have that many characters. Cyrillic is small enough to be a single-byte set, in fact, the same as English. Hangul has more than 256 characters, but not nearly as many as Chinese. To be able to read a Chinese newspaper, you need to know about 2,500 characters (compared with 26 in English). A college-educated Chinese speaker will probably know about 5,000 characters, and a scholar may know as many as 8,000-10,000. That's a lot of characters. Then you add in the fact that there are two versions of Chinese characters (traditional and simplified), you have a lot of characters. Still, 5MB sounds like a lot. I think there are options for installing a subset. In CS3 on Windows Vista, I see options for Level 1 (5609 glyphs) and all (18,439 glyphs) for traditional Chinese. There are the same options for simplified, with different numbers. Can you get by with just the Level 1 characters? I'm guessing you probably can. Those 5,000+ characters are probably enough, unless you're doing something really specialized. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] AIR Sandbox while loading sounds
Just create the mm.cfg file if it doesnt exist, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 24 January 2008 16:13 To: Flash Coders List Subject: Re: [Flashcoders] AIR Sandbox while loading sounds No such files here, tried looking for it but no luck. Still cant find the bug i was looking for, maybee tomorrow. Any other sugestions i can try? cheers, Sid Matthew James Poole wrote: > Your policy file looks good, heres something you could try to see if > there is a problem with the policy file: > > Find this file 'mm.cfg' here : > > C:\Documents and Settings\{username} > > And add to it these lines: > > PolicyFileLog=1 # Enables policy file logging > PolicyFileLogAppend=1 # Optional; do not clear log at startup > > Then when you test a swf have a look here: > > C:\Documents and Settings\{username}\Application Data\Macromedia\Flash > Player\Logs > > For a file called 'policyfiles.txt'. It logs info about policy files > that have been loaded, so that will confirm whether or not your file > is ok. > > Cheers > Matt > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Sidney > de Koning > Sent: 24 January 2008 12:42 > To: Flash Coders List > Subject: Re: [Flashcoders] AIR Sandbox while loading sounds > > Download the CS3 Air extension :) > > Code is pasted below, this works in AS3, but not in AIR. > The radio stream sits on port 8000 (shoutcast). But its not a socket > connection im making just a http call. > > the stream i want to use is a different url than below, but that real > domain does had a crossdomain.xml (with the new policies) I hope i > have the syntax right for the new c.d file, if its wrong, please correct me: > > > > > > > // Sandbox error in AIR, AS3 publish works fine, grmbl AIR! > // http://livedocs.adobe.com/labs/flex3/html/Working_with_Sound_11.html > var lounge = new URLRequest("http://207.200.96.226:8000";); > > var context:SoundLoaderContext = new SoundLoaderContext(100, true); > var s:Sound = new Sound(); s = new Sound(lounge, context); > trace(lounge.url); var sc:SoundChannel = s.play(); > s.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); > > stop_btn.addEventListener(MouseEvent.MOUSE_DOWN, stopStream); > > function errorHandler(errorEvent:IOErrorEvent):void {trace("The > sound could not be loaded: " + errorEvent.text);} function > stopStream(evtObj:MouseEvent) { s.close(); } > > > Cheers Sid > > Matthew James Poole wrote: > >> I think what it was basically saying is that same domain socket >> servers need to have policy files now, where before they didn't. So >> really if you have a policy file you should be ok. >> >> With the port nunber, what it was saying is that if you have a policy >> file on a server that listens on ports above 1024 the policy file is >> only valid for connections coming in to ports above that 1024. So in >> this case connections made for that ports 1024 and below are no >> longer >> > > >> considered secure. So this shouldn't effect you so long as you have a >> policy file and you continue to make connections above port 1024 (I >> assume you are only connecting to port 8080) >> >> Regarding streaming audio, I'd have to have a test (which would be in >> flex) so Im not sure I can help you - remind me to down load the CS3 >> Air extention! >> >> Is that radio URL availble to everyone? i.e. could I test (though it >> would have to be at home - work are pretty strict about portts) >> >> Cheers >> Matt >> >> >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of >> Sidney >> > > >> de Koning >> Sent: 24 January 2008 10:54 >> To: Flash Coders List >> Subject: Re: [Flashcoders] AIR Sandbox while loading sounds >> >> He Matt, >> >> Ofcourse they changed it :) >> Still does not work; this is inside my policy file: >> >> >> >> >> Cant find in the doc if i need to specify the port, since it is above >> 1024? And does '|to-ports' |work on normal connections aswell as only >> XML Socket connection? >> >> Been trying everything and notthing seems to work, is there anything >> specific to AIR and loading sounds? >> >> Cheers, >> Sid >> >> >> Matthew James Poole wrote: >> >> >>> Hey sid, >>> >>> There are new security rules for build 115 (update 3) of FP9: >>> >>> >>> >>> >> http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.ht. >> m >> >> >>> l >>> >>> Bit of a long read, but it may help you... Though if you;ve got the >>> poilcy file it ought to be ok >>> >>> Cheers >>> Matt >>> >>> >>> >>> -Original Message- >>> From: [EMAIL PROTECTED] >>> [mailto:[EMAIL PROTECTED] On Behalf Of >>> Sidney >>> >>> >> >> >>> de Koning >>> Sent: 24 January 2008 10:09 >>> To: Flash Coders List >>> Subject: [Flashcoders] AIR Sandbox while loading sounds >>> >>> Hi List, >>> >>> I'm trying to load a
RE: [Flashcoders] MultiLanguage
> You can use simsun ttf for rendering chinese glyfs I think that is a standard font--it's installed on my Vista system--but it doesn't have Hangul (Korean) characters. We should probably be aware of the terminology we're using--glyph and character aren't interchangeable. A character--take the Roman "e" for example--can be written in many different ways and still be recognizable. A particular rendering of that "e" in Arial, Simsun, Helvitica, Times New Roman, etc., are glyphs. So when we say simsun has Chinese glyphs, we are saying simsun has glyphs for Chinese characters. I double-checked, and Arial Unicode MS does have Korean characters. The Arial installed on my system does not. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AIR Sandbox while loading sounds
No such files here, tried looking for it but no luck. Still cant find the bug i was looking for, maybee tomorrow. Any other sugestions i can try? cheers, Sid Matthew James Poole wrote: Your policy file looks good, heres something you could try to see if there is a problem with the policy file: Find this file 'mm.cfg' here : C:\Documents and Settings\{username} And add to it these lines: PolicyFileLog=1 # Enables policy file logging PolicyFileLogAppend=1 # Optional; do not clear log at startup Then when you test a swf have a look here: C:\Documents and Settings\{username}\Application Data\Macromedia\Flash Player\Logs For a file called 'policyfiles.txt'. It logs info about policy files that have been loaded, so that will confirm whether or not your file is ok. Cheers Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 24 January 2008 12:42 To: Flash Coders List Subject: Re: [Flashcoders] AIR Sandbox while loading sounds Download the CS3 Air extension :) Code is pasted below, this works in AS3, but not in AIR. The radio stream sits on port 8000 (shoutcast). But its not a socket connection im making just a http call. the stream i want to use is a different url than below, but that real domain does had a crossdomain.xml (with the new policies) I hope i have the syntax right for the new c.d file, if its wrong, please correct me: // Sandbox error in AIR, AS3 publish works fine, grmbl AIR! // http://livedocs.adobe.com/labs/flex3/html/Working_with_Sound_11.html var lounge = new URLRequest("http://207.200.96.226:8000";); var context:SoundLoaderContext = new SoundLoaderContext(100, true); var s:Sound = new Sound(); s = new Sound(lounge, context); trace(lounge.url); var sc:SoundChannel = s.play(); s.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); stop_btn.addEventListener(MouseEvent.MOUSE_DOWN, stopStream); function errorHandler(errorEvent:IOErrorEvent):void {trace("The sound could not be loaded: " + errorEvent.text);} function stopStream(evtObj:MouseEvent) { s.close(); } Cheers Sid Matthew James Poole wrote: I think what it was basically saying is that same domain socket servers need to have policy files now, where before they didn't. So really if you have a policy file you should be ok. With the port nunber, what it was saying is that if you have a policy file on a server that listens on ports above 1024 the policy file is only valid for connections coming in to ports above that 1024. So in this case connections made for that ports 1024 and below are no longer considered secure. So this shouldn't effect you so long as you have a policy file and you continue to make connections above port 1024 (I assume you are only connecting to port 8080) Regarding streaming audio, I'd have to have a test (which would be in flex) so Im not sure I can help you - remind me to down load the CS3 Air extention! Is that radio URL availble to everyone? i.e. could I test (though it would have to be at home - work are pretty strict about portts) Cheers Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 24 January 2008 10:54 To: Flash Coders List Subject: Re: [Flashcoders] AIR Sandbox while loading sounds He Matt, Ofcourse they changed it :) Still does not work; this is inside my policy file: Cant find in the doc if i need to specify the port, since it is above 1024? And does '|to-ports' |work on normal connections aswell as only XML Socket connection? Been trying everything and notthing seems to work, is there anything specific to AIR and loading sounds? Cheers, Sid Matthew James Poole wrote: Hey sid, There are new security rules for build 115 (update 3) of FP9: http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.ht. m l Bit of a long read, but it may help you... Though if you;ve got the poilcy file it ought to be ok Cheers Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 24 January 2008 10:09 To: Flash Coders List Subject: [Flashcoders] AIR Sandbox while loading sounds Hi List, I'm trying to load a sound stream into my air application, it is a radio stream bound to a port (ie: http://radio.example.com:8000/). When publishing to flash 9, it works smooth as silk, but when publishing to AIR i get errors (I work work with the Flash IDE): *** Security Sandbox Violation *** SecurityDomain 'app:/soundRadio.swf' tried to access incompatible context 'http://adobe.com/apollo' However everytime i load a stream it throws me a security error. How do i get past this, and make it work in a good manner? And i have done all the usual stuff like, set up a crossdomain file, and i make use of the SoundLoaderContext. Help is advised! Cheers, Sid ___
RE: [Flashcoders] MultiLanguage
Check the viewed language and turn embedding on/off depending on whether its chinese? - you'd only see the chinese if you had the right font installed (e.g. simsun) but I believe this is the case on chinese machines. If course if your text was masked or animated then this wont work as dynamic text has to be embeded in these circumstances -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Mennenoh Sent: 24 January 2008 14:06 To: Flash Coders List Subject: Re: [Flashcoders] MultiLanguage >>One solution would be to avoid embeding the chinese fonts if you could >>- depends on what you want for your project Except I am embedding, so I can anti-alias. I'm not sure how I could embed all the other glyphs and have the chinese still render at all. Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net __ Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London NW6 6RJ Tel: +44 (0) 870 788 6000 Fax: +44 (0) 870 788 6689 Web:www.virtual-universe.net - CONFIDENTIALITY NOTICE This e-mail may contain information which is confidential and privileged. If you are not the named addressee of this e-mail, you may not copy or use it, or forward or otherwise disclose it to anyone else. If you have received this e-mail in error, please e-mail the sender by replying to this message and then fully delete it from your system. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Amplefuture Group. Amplefuture Group reserves the right to monitor e-mail communications from both external and internal sources for the purposes of ensuring correct and appropriate use of our communication equipment. __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] MultiLanguage
One solution would be to avoid embeding the chinese fonts if you could - depends on what you want for your project Except I am embedding, so I can anti-alias. I'm not sure how I could embed all the other glyphs and have the chinese still render at all. Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] MultiLanguage
One solution would be to avoid embeding the chinese fonts if you could - depends on what you want for your project -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Mennenoh Sent: 24 January 2008 13:36 To: Flash Coders List Subject: Re: [Flashcoders] MultiLanguage Thanks much for the great advice. I'm getting there... However, soon as I include the Chinese glyphs my swf gets to near 5MB. Is there an easy way to embed only the chinese glyphs in a separate swf and load them only if needed? AS2... With Cryllic, Hangul, and everything else I get a respectable 300K, but the chinese adds too much to just leave it in. Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net __ Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London NW6 6RJ Tel: +44 (0) 870 788 6000 Fax: +44 (0) 870 788 6689 Web:www.virtual-universe.net - CONFIDENTIALITY NOTICE This e-mail may contain information which is confidential and privileged. If you are not the named addressee of this e-mail, you may not copy or use it, or forward or otherwise disclose it to anyone else. If you have received this e-mail in error, please e-mail the sender by replying to this message and then fully delete it from your system. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Amplefuture Group. Amplefuture Group reserves the right to monitor e-mail communications from both external and internal sources for the purposes of ensuring correct and appropriate use of our communication equipment. __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] AIR Sandbox while loading sounds
Your policy file looks good, heres something you could try to see if there is a problem with the policy file: Find this file 'mm.cfg' here : C:\Documents and Settings\{username} And add to it these lines: PolicyFileLog=1 # Enables policy file logging PolicyFileLogAppend=1 # Optional; do not clear log at startup Then when you test a swf have a look here: C:\Documents and Settings\{username}\Application Data\Macromedia\Flash Player\Logs For a file called 'policyfiles.txt'. It logs info about policy files that have been loaded, so that will confirm whether or not your file is ok. Cheers Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 24 January 2008 12:42 To: Flash Coders List Subject: Re: [Flashcoders] AIR Sandbox while loading sounds Download the CS3 Air extension :) Code is pasted below, this works in AS3, but not in AIR. The radio stream sits on port 8000 (shoutcast). But its not a socket connection im making just a http call. the stream i want to use is a different url than below, but that real domain does had a crossdomain.xml (with the new policies) I hope i have the syntax right for the new c.d file, if its wrong, please correct me: // Sandbox error in AIR, AS3 publish works fine, grmbl AIR! // http://livedocs.adobe.com/labs/flex3/html/Working_with_Sound_11.html var lounge = new URLRequest("http://207.200.96.226:8000";); var context:SoundLoaderContext = new SoundLoaderContext(100, true); var s:Sound = new Sound(); s = new Sound(lounge, context); trace(lounge.url); var sc:SoundChannel = s.play(); s.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); stop_btn.addEventListener(MouseEvent.MOUSE_DOWN, stopStream); function errorHandler(errorEvent:IOErrorEvent):void {trace("The sound could not be loaded: " + errorEvent.text);} function stopStream(evtObj:MouseEvent) { s.close(); } Cheers Sid Matthew James Poole wrote: > I think what it was basically saying is that same domain socket > servers need to have policy files now, where before they didn't. So > really if you have a policy file you should be ok. > > With the port nunber, what it was saying is that if you have a policy > file on a server that listens on ports above 1024 the policy file is > only valid for connections coming in to ports above that 1024. So in > this case connections made for that ports 1024 and below are no longer > considered secure. So this shouldn't effect you so long as you have a > policy file and you continue to make connections above port 1024 (I > assume you are only connecting to port 8080) > > Regarding streaming audio, I'd have to have a test (which would be in > flex) so Im not sure I can help you - remind me to down load the CS3 > Air extention! > > Is that radio URL availble to everyone? i.e. could I test (though it > would have to be at home - work are pretty strict about portts) > > Cheers > Matt > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Sidney > de Koning > Sent: 24 January 2008 10:54 > To: Flash Coders List > Subject: Re: [Flashcoders] AIR Sandbox while loading sounds > > He Matt, > > Ofcourse they changed it :) > Still does not work; this is inside my policy file: > > > > > Cant find in the doc if i need to specify the port, since it is above > 1024? And does '|to-ports' |work on normal connections aswell as only > XML Socket connection? > > Been trying everything and notthing seems to work, is there anything > specific to AIR and loading sounds? > > Cheers, > Sid > > > Matthew James Poole wrote: > >> Hey sid, >> >> There are new security rules for build 115 (update 3) of FP9: >> >> >> > http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.ht. > m > >> l >> >> Bit of a long read, but it may help you... Though if you;ve got the >> poilcy file it ought to be ok >> >> Cheers >> Matt >> >> >> >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of >> Sidney >> > > >> de Koning >> Sent: 24 January 2008 10:09 >> To: Flash Coders List >> Subject: [Flashcoders] AIR Sandbox while loading sounds >> >> Hi List, >> >> I'm trying to load a sound stream into my air application, it is a >> radio stream bound to a port (ie: http://radio.example.com:8000/). >> When publishing to flash 9, it works smooth as silk, but when >> publishing to AIR i get errors (I work work with the Flash IDE): >> >> *** Security Sandbox Violation *** >> SecurityDomain 'app:/soundRadio.swf' tried to access incompatible >> context 'http://adobe.com/apollo' >> >> However everytime i load a stream it throws me a security error. How >> do i get past this, and make it work in a good manner? >> And i have done all the usual stuff like, set up a crossdomain file, >> and i make use of the SoundLoaderContext. >> >> Help is advised! >> >> Cheers, >> >> Sid >> >> >>
Re: [Flashcoders] MultiLanguage
Thanks much for the great advice. I'm getting there... However, soon as I include the Chinese glyphs my swf gets to near 5MB. Is there an easy way to embed only the chinese glyphs in a separate swf and load them only if needed? AS2... With Cryllic, Hangul, and everything else I get a respectable 300K, but the chinese adds too much to just leave it in. Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AIR Sandbox while loading sounds
Download the CS3 Air extension :) Code is pasted below, this works in AS3, but not in AIR. The radio stream sits on port 8000 (shoutcast). But its not a socket connection im making just a http call. the stream i want to use is a different url than below, but that real domain does had a crossdomain.xml (with the new policies) I hope i have the syntax right for the new c.d file, if its wrong, please correct me: // Sandbox error in AIR, AS3 publish works fine, grmbl AIR! // http://livedocs.adobe.com/labs/flex3/html/Working_with_Sound_11.html var lounge = new URLRequest("http://207.200.96.226:8000";); var context:SoundLoaderContext = new SoundLoaderContext(100, true); var s:Sound = new Sound(); s = new Sound(lounge, context); trace(lounge.url); var sc:SoundChannel = s.play(); s.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); stop_btn.addEventListener(MouseEvent.MOUSE_DOWN, stopStream); function errorHandler(errorEvent:IOErrorEvent):void {trace("The sound could not be loaded: " + errorEvent.text);} function stopStream(evtObj:MouseEvent) { s.close(); } Cheers Sid Matthew James Poole wrote: I think what it was basically saying is that same domain socket servers need to have policy files now, where before they didn't. So really if you have a policy file you should be ok. With the port nunber, what it was saying is that if you have a policy file on a server that listens on ports above 1024 the policy file is only valid for connections coming in to ports above that 1024. So in this case connections made for that ports 1024 and below are no longer considered secure. So this shouldn't effect you so long as you have a policy file and you continue to make connections above port 1024 (I assume you are only connecting to port 8080) Regarding streaming audio, I'd have to have a test (which would be in flex) so Im not sure I can help you - remind me to down load the CS3 Air extention! Is that radio URL availble to everyone? i.e. could I test (though it would have to be at home - work are pretty strict about portts) Cheers Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 24 January 2008 10:54 To: Flash Coders List Subject: Re: [Flashcoders] AIR Sandbox while loading sounds He Matt, Ofcourse they changed it :) Still does not work; this is inside my policy file: Cant find in the doc if i need to specify the port, since it is above 1024? And does '|to-ports' |work on normal connections aswell as only XML Socket connection? Been trying everything and notthing seems to work, is there anything specific to AIR and loading sounds? Cheers, Sid Matthew James Poole wrote: Hey sid, There are new security rules for build 115 (update 3) of FP9: http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.ht.m l Bit of a long read, but it may help you... Though if you;ve got the poilcy file it ought to be ok Cheers Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 24 January 2008 10:09 To: Flash Coders List Subject: [Flashcoders] AIR Sandbox while loading sounds Hi List, I'm trying to load a sound stream into my air application, it is a radio stream bound to a port (ie: http://radio.example.com:8000/). When publishing to flash 9, it works smooth as silk, but when publishing to AIR i get errors (I work work with the Flash IDE): *** Security Sandbox Violation *** SecurityDomain 'app:/soundRadio.swf' tried to access incompatible context 'http://adobe.com/apollo' However everytime i load a stream it throws me a security error. How do i get past this, and make it work in a good manner? And i have done all the usual stuff like, set up a crossdomain file, and i make use of the SoundLoaderContext. Help is advised! Cheers, Sid ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net __ Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London NW6 6RJ Tel: +44 (0) 870 788 6000 Fax: +44 (0) 870 788 6689 Web:www.virtual-universe.net -- --- CONFIDENTIALITY NOTICE This e-mail may contain information which is confidential and privileged. If you are not the named addressee of this e-mail, you may not copy or use it, or forward or otherwise disclose it to anyone else. If you have received this e-mail in error, please e-mail the sender by replying to this message and then fully delete it from you
RE: [Flashcoders] AIR Sandbox while loading sounds
I think what it was basically saying is that same domain socket servers need to have policy files now, where before they didn't. So really if you have a policy file you should be ok. With the port nunber, what it was saying is that if you have a policy file on a server that listens on ports above 1024 the policy file is only valid for connections coming in to ports above that 1024. So in this case connections made for that ports 1024 and below are no longer considered secure. So this shouldn't effect you so long as you have a policy file and you continue to make connections above port 1024 (I assume you are only connecting to port 8080) Regarding streaming audio, I'd have to have a test (which would be in flex) so Im not sure I can help you - remind me to down load the CS3 Air extention! Is that radio URL availble to everyone? i.e. could I test (though it would have to be at home - work are pretty strict about portts) Cheers Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 24 January 2008 10:54 To: Flash Coders List Subject: Re: [Flashcoders] AIR Sandbox while loading sounds He Matt, Ofcourse they changed it :) Still does not work; this is inside my policy file: Cant find in the doc if i need to specify the port, since it is above 1024? And does '|to-ports' |work on normal connections aswell as only XML Socket connection? Been trying everything and notthing seems to work, is there anything specific to AIR and loading sounds? Cheers, Sid Matthew James Poole wrote: > Hey sid, > > There are new security rules for build 115 (update 3) of FP9: > > http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.ht.m > l > > Bit of a long read, but it may help you... Though if you;ve got the > poilcy file it ought to be ok > > Cheers > Matt > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Sidney > de Koning > Sent: 24 January 2008 10:09 > To: Flash Coders List > Subject: [Flashcoders] AIR Sandbox while loading sounds > > Hi List, > > I'm trying to load a sound stream into my air application, it is a > radio stream bound to a port (ie: http://radio.example.com:8000/). > When publishing to flash 9, it works smooth as silk, but when > publishing to AIR i get errors (I work work with the Flash IDE): > > *** Security Sandbox Violation *** > SecurityDomain 'app:/soundRadio.swf' tried to access incompatible > context 'http://adobe.com/apollo' > > However everytime i load a stream it throws me a security error. How > do i get past this, and make it work in a good manner? > And i have done all the usual stuff like, set up a crossdomain file, > and i make use of the SoundLoaderContext. > > Help is advised! > > Cheers, > > Sid > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > __ > This e-mail has been scanned for viruses by the Virtual Universe > e-mail security system - powered by MessageLabs. > http://www.virtual-universe.net > > __ > > Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London > NW6 6RJ > > Tel: +44 (0) 870 788 6000 > > Fax: +44 (0) 870 788 6689 > > Web:www.virtual-universe.net > > -- > --- > > CONFIDENTIALITY NOTICE > > This e-mail may contain information which is confidential and privileged. If you are not the named addressee of this e-mail, you may not copy or use it, or forward or otherwise disclose it to anyone else. If you have received this e-mail in error, please e-mail the sender by replying to this message and then fully delete it from your system. > > Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Amplefuture Group. Amplefuture Group reserves the right to monitor e-mail communications from both external and internal sources for the purposes of ensuring correct and appropriate use of our communication equipment. > > > > __ > This e-mail has been scanned for viruses by the Virtual Universe > e-mail security system - powered by MessageLabs. > http://www.virtual-universe.net > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This e-mail has been scanned for viruses by the Virtua
Re: [Flashcoders] AIR Sandbox while loading sounds
He Matt, Ofcourse they changed it :) Still does not work; this is inside my policy file: Cant find in the doc if i need to specify the port, since it is above 1024? And does '|to-ports' |work on normal connections aswell as only XML Socket connection? Been trying everything and notthing seems to work, is there anything specific to AIR and loading sounds? Cheers, Sid Matthew James Poole wrote: Hey sid, There are new security rules for build 115 (update 3) of FP9: http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html Bit of a long read, but it may help you... Though if you;ve got the poilcy file it ought to be ok Cheers Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 24 January 2008 10:09 To: Flash Coders List Subject: [Flashcoders] AIR Sandbox while loading sounds Hi List, I'm trying to load a sound stream into my air application, it is a radio stream bound to a port (ie: http://radio.example.com:8000/). When publishing to flash 9, it works smooth as silk, but when publishing to AIR i get errors (I work work with the Flash IDE): *** Security Sandbox Violation *** SecurityDomain 'app:/soundRadio.swf' tried to access incompatible context 'http://adobe.com/apollo' However everytime i load a stream it throws me a security error. How do i get past this, and make it work in a good manner? And i have done all the usual stuff like, set up a crossdomain file, and i make use of the SoundLoaderContext. Help is advised! Cheers, Sid ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net __ Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London NW6 6RJ Tel: +44 (0) 870 788 6000 Fax: +44 (0) 870 788 6689 Web:www.virtual-universe.net - CONFIDENTIALITY NOTICE This e-mail may contain information which is confidential and privileged. If you are not the named addressee of this e-mail, you may not copy or use it, or forward or otherwise disclose it to anyone else. If you have received this e-mail in error, please e-mail the sender by replying to this message and then fully delete it from your system. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Amplefuture Group. Amplefuture Group reserves the right to monitor e-mail communications from both external and internal sources for the purposes of ensuring correct and appropriate use of our communication equipment. __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] AIR Sandbox while loading sounds
Hey sid, There are new security rules for build 115 (update 3) of FP9: http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html Bit of a long read, but it may help you... Though if you;ve got the poilcy file it ought to be ok Cheers Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 24 January 2008 10:09 To: Flash Coders List Subject: [Flashcoders] AIR Sandbox while loading sounds Hi List, I'm trying to load a sound stream into my air application, it is a radio stream bound to a port (ie: http://radio.example.com:8000/). When publishing to flash 9, it works smooth as silk, but when publishing to AIR i get errors (I work work with the Flash IDE): *** Security Sandbox Violation *** SecurityDomain 'app:/soundRadio.swf' tried to access incompatible context 'http://adobe.com/apollo' However everytime i load a stream it throws me a security error. How do i get past this, and make it work in a good manner? And i have done all the usual stuff like, set up a crossdomain file, and i make use of the SoundLoaderContext. Help is advised! Cheers, Sid ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net __ Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London NW6 6RJ Tel: +44 (0) 870 788 6000 Fax: +44 (0) 870 788 6689 Web:www.virtual-universe.net - CONFIDENTIALITY NOTICE This e-mail may contain information which is confidential and privileged. If you are not the named addressee of this e-mail, you may not copy or use it, or forward or otherwise disclose it to anyone else. If you have received this e-mail in error, please e-mail the sender by replying to this message and then fully delete it from your system. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Amplefuture Group. Amplefuture Group reserves the right to monitor e-mail communications from both external and internal sources for the purposes of ensuring correct and appropriate use of our communication equipment. __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AIR Sandbox while loading sounds
Hi List, I'm trying to load a sound stream into my air application, it is a radio stream bound to a port (ie: http://radio.example.com:8000/). When publishing to flash 9, it works smooth as silk, but when publishing to AIR i get errors (I work work with the Flash IDE): *** Security Sandbox Violation *** SecurityDomain 'app:/soundRadio.swf' tried to access incompatible context 'http://adobe.com/apollo' However everytime i load a stream it throws me a security error. How do i get past this, and make it work in a good manner? And i have done all the usual stuff like, set up a crossdomain file, and i make use of the SoundLoaderContext. Help is advised! Cheers, Sid ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] MultiLanguage
You can use simsun ttf for rendering chinese glyfs -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Mennenoh Sent: 23 January 2008 15:00 To: Flash Coders List Subject: Re: [Flashcoders] MultiLanguage >>It's essential that you use a Unicode font--I use Arial Unicode for >>Asian languages, because it has all the languages I typically need. Embed the font, of course. Gotcha. This is fairly new to me so I've been reading as much as I can. I found that true type fonts, like regular Arial, adhere to Unicode standards. In Flash, if I use Arial I can embed Korean (Hangul), and a few different Chinese glyphs. However, I cannot see the incoming UTF-8 encoded chinese text from my XML. Russian and all my other languages are working fine. But I get squares when trying to display Chinese or Korean, even though the glyphs are embedded for both. Hmmm... do I need a different font (Arial 'Unicode') or am I doing something wrong? Thanks much. Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net __ Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London NW6 6RJ Tel: +44 (0) 870 788 6000 Fax: +44 (0) 870 788 6689 Web:www.virtual-universe.net - CONFIDENTIALITY NOTICE This e-mail may contain information which is confidential and privileged. If you are not the named addressee of this e-mail, you may not copy or use it, or forward or otherwise disclose it to anyone else. If you have received this e-mail in error, please e-mail the sender by replying to this message and then fully delete it from your system. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Amplefuture Group. Amplefuture Group reserves the right to monitor e-mail communications from both external and internal sources for the purposes of ensuring correct and appropriate use of our communication equipment. __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] MultiLanguage
We had some blocks aswell.. even after embedding the right sets.. Found out that some characters were missing.. even in arial.. for some countries.. We solved it by using a font program.. then you see list of all the characters that are available(unicode wise) .. and you could copy-from-another-font or create the missing character.. Hope this helps.. With kind regards, Dennis Isioux - Original Message - From: "Dave Mennenoh" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Wednesday, January 23, 2008 3:59 PM Subject: Re: [Flashcoders] MultiLanguage It's essential that you use a Unicode font--I use Arial Unicode for Asian languages, because it has all the languages I typically need. Embed the font, of course. Gotcha. This is fairly new to me so I've been reading as much as I can. I found that true type fonts, like regular Arial, adhere to Unicode standards. In Flash, if I use Arial I can embed Korean (Hangul), and a few different Chinese glyphs. However, I cannot see the incoming UTF-8 encoded chinese text from my XML. Russian and all my other languages are working fine. But I get squares when trying to display Chinese or Korean, even though the glyphs are embedded for both. Hmmm... do I need a different font (Arial 'Unicode') or am I doing something wrong? Thanks much. Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 2818 (20080123) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders