RE: [Flashcoders] Language expert on embedding fonts for different language sets

2007-07-19 Thread Michael Ypes
By the lack of feedback do I take it that no one is knowledgeable on this topic??? Any help would be appreciated or pointers to some information on this. I can't believe I am the only person on this list that has had to make an application for Europe! I have searched myself but with no luck.

Re: [Flashcoders] Language expert on embedding fontsfordifferent language sets

2007-07-19 Thread Dennis - I Sioux
Now i think of it.. I believe the character extending program works with indexes where you can place/draw the character.. to get the right index/spot where a new character should go in a font i believe we compared it with Arial.. the reason was that Arial was pretty complete. Not sure what

Re: [Flashcoders] Language expert on embedding fonts fordifferent language sets

2007-07-19 Thread Dennis - I Sioux
Hey Michael, For a big european platform i have a multilanguage application that has 11 languages in it now. English, Dutch, German, French, Spanish, Portugees, Italian, Polish, Swedish, Denish and for Norway. I remember collecting info from sites like listed below:

RE: [Flashcoders] Language expert on embedding fontsfordifferent language sets

2007-07-19 Thread Michael Ypes
Thanks Dennis This app needs 28 countries, i.e. the whole of Europe which is why we are using Arial as it has the full character set needed including Armenian, Cyrillic and Greek. It's just that I wanted to split it into its different locales so that countries did not need to load in

Re: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Jon Bradley
It's basically a macro process for compiling AS classes. One of the side effects is that it can be to obfuscate SWF files by using your own re-write rules. Hit up the second page of the thread to see a bit more information. Macros are pretty cool stuff. Though the author of the toolset

Re: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Jon Bradley
A better link for those interested in obfuscation of AS3 code. http://www.kirupa.com/forum/showthread.php?t=266992 peace, jon On Jul 18, 2007, at 7:32 PM, Latcho wrote: whats this? Jon Bradley wrote: Or, if you're a masochist: http://www.kirupa.com/forum/showthread.php?t=256400

[Flashcoders] XML File doesn't load on Flash Player9 in IE6, IE7

2007-07-19 Thread Sascha
Hi list, I'm loading a XML file with the URLLoader class into a v9 SWF. On Firefox it all works without problem but on IE 6 and 7 the XML file doesn't get loaded, instead I get HTTPStatus 200. I don't have much experience with all the new AS3 Security stuff yet so I'd like to ask what I would

Re: [Flashcoders] Language expert onembedding fontsfordifferent language sets

2007-07-19 Thread Dennis - I Sioux
Hey, Interesting thought for reducing filesize :) If the brand's are known, you could always just incluse their characters.. but i take it you ment that. I went for a look at the designers pc..99% sure it's Font Lab Studio (version 5) .. Their might be a newer one out.. or a better program

Re: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Mark Winterhalder
Though, one could just use Haxe instead... Yeah, I prefer it anyway. But I wonder, did anybody compare haXe vs AS3 bytecode yet? A decompiler is likely to assume AS3 has been used, and maybe haXe creates sufficiently different bytecode to confuse it. Mark On 7/19/07, Jon Bradley [EMAIL

Re: [Flashcoders] XML File doesn't load on Flash Player9 in IE6, IE7

2007-07-19 Thread Muzak
HTTPStatus 200 means OK http://www.btinternet.com/~wildfire/reference/httpstatus/200.htm In other words, everything should be fine. Show us some code.. regards, Muzak - Original Message - From: Sascha [EMAIL PROTECTED] To: flashcoders flashcoders@chattyfig.figleaf.com Sent: Thursday,

RE: [Flashcoders] XML File doesn't load on Flash Player9 in IE6, IE7

2007-07-19 Thread David Ngo
An HTTP code of 200 usually means success. Do you have any sample code you can show? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sascha Sent: Thursday, July 19, 2007 8:04 AM To: flashcoders Subject: [Flashcoders] XML File doesn't load on Flash

[Flashcoders] Object Detection AS3

2007-07-19 Thread Michael Trim
Hi Flashcoders, Learning AS3 in the deep end at the moment, so excuse the questions if too newb for this list. In AS2 I may have done something like the following. _1___ if(myObject){ myObject.removeMovieClip(); } this.attachMovie(MyObject,myObject,1);

[Flashcoders] Multiline DataGrid Fields in Flash CS3

2007-07-19 Thread Paul Steven
I am using the datagrid for the first time and would like to make one of the columns enable text to word wrap if the text is too long for the width of the cell. Here is what I have so far which works but is only giving me a single line of text in the cell dg.setSize(340, 300);

Re: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Cedric Muller
Another idea... Would it be possible to add to the SWF some malicious bytecode ? The process: user tries to decompile a SWF. When trying to read the bytecode, decompiler stumbles upon the malicious bytecode which makes, let's say, windows, go out of reach... ? (overflow, bluescreen ...?)

Re: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Eric Priou
But I wonder, did anybody compare haXe vs AS3 bytecode yet? A decompiler is likely to assume AS3 has been used, and maybe haXe creates sufficiently different bytecode to confuse it. I don't know about haxe as3 pcode. BTW, I know that haxe as2 version use some differents structures in the

Re: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Jon Bradley
On Jul 19, 2007, at 8:29 AM, Mark Winterhalder wrote: But I wonder, did anybody compare haXe vs AS3 bytecode yet? A decompiler is likely to assume AS3 has been used, and maybe haXe creates sufficiently different bytecode to confuse it. That doesn't really matter. If it's FP9, it's AS3. The

Re: [Flashcoders] Object Detection AS3

2007-07-19 Thread Johannes Nel
if(myObj.stage) will give you back if its on the siplay tree otherwise myObj.parent == parentObj On 7/19/07, Michael Trim [EMAIL PROTECTED] wrote: Hi Flashcoders, Learning AS3 in the deep end at the moment, so excuse the questions if too newb for this list. In AS2 I may have done something

Re: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Jim Kremens
So, maybe half your code in the end will be pretty funked up. That's still probably more than enough to make use of the decompiled code. Wouldn't anybody who could get that far be too busy writing their own code? Jim ___

[Flashcoders] Infinite scroll problems

2007-07-19 Thread Marcelo Wolfgang
Hi list, I'm having a problem with a regular infinite scroll. I have the same code in 3 different fla's and it's working on 2 of them only and I can't find what's causing the problem The problem is that it get itself playing both the 'if's' when it's scrolling to the right ( or if I change

[Flashcoders] Infinite scroll problems

2007-07-19 Thread Marcelo Wolfgang
Hi list, I'm having a problem with a regular infinite scroll. I have the same code in 3 different fla's and it's working on 2 of them only and I can't find what's causing the problem The problem is that it get itself playing both the 'if's' when it's scrolling to the right ( or if I change the

RE: [Flashcoders] Object Detection AS3

2007-07-19 Thread Sunil Jolly
This works for me: - var myObject:Object; if (myObject) { removeChild(myObject); } --- Another method would be to catch the error: - try { removeChild(myObject); } catch (e:Error) {

[Flashcoders] AS3: MAJOR ISSUE WITH GOTOANDSTOP! HELP!

2007-07-19 Thread Max Kaufmann
In AS3, when I call MovieClip.gotoAndStop(), any symbol that are added to the stage are *not* immediately available to scripts after the call. However, the numChildren *does* count the newly added symbols but getChildAtIndex() only returns null! Worse, after the function stack is cleared and

Re: [Flashcoders] AS2: LocalConnection as broadcaster?

2007-07-19 Thread David Cohn
Yes indeed, but doesn't this seem to be arbitrarily restrictive? Suppose you're trying to coordinate loading pictures between 3 or 4 plugins-- how can you do it without implementing a fairly complex scheme of attempted connects and changing connection names? On Jul 19, 2007, at 2:00

[Flashcoders] AS3: XMLSocket re-connection problem

2007-07-19 Thread Tomáš Lehuta
Hello Flashers Flexers! I've got a problem with XMLSocket re-connection in ActionScript 3. I need the Flash client to connect to the server automatically when it drops connection for some reason. XMLSocket dispatches Event.CLOSE event when connection drops but when I automatically call

RE: [Flashcoders] Object Detection AS3

2007-07-19 Thread Sunil Jolly
If you use the try, catch method that shouldn't be a problem. --- try { removeChild(myObject); } catch (e:Error) { //object doesn't exist as a child, do nothing } - That should fail unless myObject has been added to the stage. Or am I missing

[Flashcoders] rss xml

2007-07-19 Thread minglei miao
Dear all var news_path = this; var news_xml = new XML (); news_xml.ignoreWhite = true; news_xml.onLoad = function (success) { if (success) { //trace (this); CreateMenu (this); } else { trace

Re: [Flashcoders] Object Detection AS3

2007-07-19 Thread Johannes Nel
it should be fine, but i come from a background where catching an error is not considered a sollution. its an error and you should deal with it, not a very real and potential use case On 7/19/07, Sunil Jolly [EMAIL PROTECTED] wrote: If you use the try, catch method that shouldn't be a problem.

Re: [Flashcoders] Object Detection AS3

2007-07-19 Thread Johannes Nel
the problem with your approach is that if the object does exist but is not on the display tree it will fail On 7/19/07, Sunil Jolly [EMAIL PROTECTED] wrote: This works for me: - var myObject:Object; if (myObject) { removeChild(myObject); }

[Flashcoders] [announce]Another png encoder which support 8-bit indexed color

2007-07-19 Thread iiley
Hi guys, Days ago, i searched the interenet to try to find a ActionScript png encoder that support 8-bit indexed color, finally i can't. Because of true color encoding generate large size file, some times you maybe need a low quality picture but small size, then you need 8-bit color image

Re: [Flashcoders] onEnterFrame() and delete onEnterFrame()

2007-07-19 Thread Jason Burnett
Not sure who all the cool kids are, but I thought for sure that the best solution for tweening was the Fuse Kit: http://mosessupposes.com/fuse/ Ya wanna talk about overengineering, pfew. But, none the less, if you can't make the Fuse engine do everything you want (including cooking you breakfast

[Flashcoders] Updating playerglobal.swc for ActionScript 3.0 for Fullscreen

2007-07-19 Thread Matt Muller
Hi, I've just updated my swc as instructed to do so here for Flash CS3 http://labs.adobe.com/wiki/index.php/Flash_Player:9:Update:Full-Screen_Mode_HW Im getting this error 1046: Type was not found or was not a compile-time constant: FullScreenEvent. with the new swc, has anyone seen this?

[Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread Weldon MacDonald
I've been using ActionScript for a while now, but my next project will require a lot more server side work. In the past I've used PHP, but only in a pidgin kind of way. alternatively, I have some Java skills, though not specifically for the web. Either way I have to spend some time developing an

RE: [Flashcoders] Object Detection AS3

2007-07-19 Thread Michael Trim
Thanks for the solution, that's neat. Agree that try-catch is not an ideal solution (but thank you too Sunil). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: 19 July 2007 16:40 To: flashcoders@chattyfig.figleaf.com Subject: Re:

[Flashcoders] Re: Updating playerglobal.swc for ActionScript 3.0 for Fullscreen

2007-07-19 Thread Matt Muller
I forgot to mention, you need to add the FLVPlayback component into the library to get this. On 7/19/07, Matt Muller [EMAIL PROTECTED] wrote: Hi, I've just updated my swc as instructed to do so here for Flash CS3 http://labs.adobe.com/wiki/index.php/Flash_Player:9:Update:Full-Screen_Mode_HW

Re: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread hermit
What's a guy to beloieve? Any opin... any more opinions? PHP is a KIA, Java is a 1 ton 4x4 Dodge Ram pickup. Both can be used to get to the grocery store, but the trip also involves carrying a load of concrete blocks It seems to depend on what you will be using it for ultimately. I've

RE: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread David Ngo
Well, in my opinion, Java is much more OOP. PHP is really nothing more than just scripts. It will eventually hit a ceiling and be limited in what it can do. Java, on the other hand, is much more robust, which is why the majority of large corporations still use Java as their application backbone.

[Flashcoders] OT: SCORM 2004 conversion

2007-07-19 Thread Danny Kodicek
I'm currently re-entering the nightmare world of SCORM packaging (honestly, how can something so simple have been made so damn complicated?). I'm wondering if anyone knows of some good resources on SCORM 2004 - in particular, does anyone by any chance have a simple tool that can convert an

RE: [Flashcoders] Object Detection AS3

2007-07-19 Thread Sunil Jolly
That makes sense. I've always wondered if it was improper use of try/catch. Do you know what a better solution for this would be? And would you say you're supposed to use try/catch? Just curious. :) Thanks, Sunil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [Flashcoders] Multiline DataGrid Fields in Flash CS3

2007-07-19 Thread Paul Steven
Perhaps I am going about this the wrong way. I have searched all afternoon for any info on having multiline cells in an AS3 datagrid with no joy! The only example I did find did not work. Anyway I also need to have a drop down list withn this datagrid which I assume will be equally as

Re: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread Joshua Sera
You have to worry much less about Memory leaks, and syntactically, the language is simpler than C++, so saying that it's become more complicated than C++ is total bull. Still, they're just different beasts. I'd rather write most web apps in PHP, but you could never write your own server in PHP

Re: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Mark Winterhalder
On 7/19/07, Jon Bradley [EMAIL PROTECTED] wrote: On Jul 19, 2007, at 8:29 AM, Mark Winterhalder wrote: But I wonder, did anybody compare haXe vs AS3 bytecode yet? A decompiler is likely to assume AS3 has been used, and maybe haXe creates sufficiently different bytecode to confuse it. That

RE: [Flashcoders] XML File doesn't load on Flash Player9 in IE6, IE7

2007-07-19 Thread Sascha
Yes I thought that too. Strange is IE gives me a HTTPStatus Event while Firefox does not. I'm using my own written IO class framework which is quite complex so unfortunately cutting out some code isn't done in a minute. I always thought that everything Flash-internal should run the same on every

Re: [Flashcoders] AS2: LocalConnection as broadcaster?

2007-07-19 Thread Ivan Dembicki
Hello David, this is not final decision, just to show the idea. == root = import as.Test; new Test(); == as.Test.as === import as.MultiLocalConnection; class as.Test { private var

Re: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread Andy Herrman
I haven't done any work in PHP so I can't really comment on its usefulness, but I've found doing web stuff in Java isn't particularly hard. There are a number of possibilities for doing Java work on the server that makes it easier too. We use Apache Tomcat here. It handles all the HTTP

Re: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread Dave Mennenoh
I guess it depends on what you know and what you need. PHP is no more harder to maintain than ActionScript - it all depends on who's coding it. Personally, I really like PHP - the syntax is similar enough to ActionScript that development in it is quite straightforward for an AS person. If

RE: [Flashcoders] RE: obfuscation swf !

2007-07-19 Thread Hairy Dog Digital
Wouldn't anybody who could get that far be too busy writing their own code? That's what many of us would do, but there are the others that will expend more energy to not do work (or work that *could not do*), rather than just doing it. ___

RE: [Flashcoders] Object Detection AS3

2007-07-19 Thread Douglas Pearson
If you want to check first whether the object is on the display list you can use the contains method of DisplayObjectContainer: // Won't throw any errors if (myObject != null parent.contains(myObject)) parent.removeChild(myObject) Doug -Original Message- From: Michael Trim

Re: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread R�kos Attila
I used both PHP and Java for server-side development, and although my clients mostly ask for PHP (this is due to the strange PHP loving of hosting providers here), I far more prefer Java. Just few points why: Language features # PHP - no strict typing - horror of automatic type conversions

Re: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread Ron Wheeler
Eclipse, Spring, Hibernate, AXIS and Java is a pretty nice toolkit. Ron David Ngo wrote: Well, in my opinion, Java is much more OOP. PHP is really nothing more than just scripts. It will eventually hit a ceiling and be limited in what it can do. Java, on the other hand, is much more robust,

RE: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread David Ngo
Sorry if my post came across as pro-PHP. Trust me, I'm anything but that. I guess I should've added some benefits of Java over PHP. Java is much more scalable than PHP (by a long shot). I don't think I would ever want to build anything using PHP, except maybe an image gallery with limited server

[Flashcoders] Installing CS3

2007-07-19 Thread Dennis Landi
Hi, I am hoping others here can help or refer me to the appropriate forum. I have recently purchased the CS3 Web Premium edition and I am attempting to install it. Yesterday, I attempted to install it and it started by creating a series of directories with CAB files for each product int the

RE: [Flashcoders] Installing CS3

2007-07-19 Thread Laurie Jensen
Hello Dennis, You will find a lot of information about installation problems on the Creative Suite forum http://www.adobeforums.com/cgi-bin/webx/.2ccd8a3f/ Here is my story, which might give you some hints; http://www.adobeforums.com/cgi-bin/webx/.3bc3cbb0/2 Regards, Laurie Jensen -Original