Re: [Flashcoders] FileReference and Getting File Path

2006-06-16 Thread David Rorex
You'd get a preview without uploading, by accessing the file directly from the user's harddrive. However, this is not supported for security reasons. Basically, the answer is NO, with standard flash, you cannot read files from the user's harddrive without uploading them to the server first and

[Flashcoders] Good component sets? (was: Re: XP Components gone bad)

2006-06-21 Thread David Rorex
There seems to be a lack of good component sets these days. Ghostwire: Maybe the best, but done in old-style AS1 mCom: Pretty good, but a couple showstopper bugs, little to no support from developer. poor documentation. XP: see previous message MM v2: bloated, bugs Flex 2: requires flash 9 What

Re: [Flashcoders] webservice - https and flash

2006-06-22 Thread David Rorex
What problem are you having with connections over SSL? I've used it many times, (for loadvars, for loadmovie, etc), and never had to do anything extra, it just works. You might have some trouble, if you load some files from http:// and some files from https://, there are a bunch of security

Re: [Flashcoders] [Ann] The world's largest Flex Application

2006-06-24 Thread David Rorex
Heh, I like this text from their demo page: Experience AFR Access - The serious investor's toolkit with this short video, which takes you through its many features and uses. *Please amend copy as necessary*. -David R On 6/22/06, Arul Prasad M L [EMAIL PROTECTED] wrote: thanks Chris. ~Arul

Re: [Flashcoders] FileReference and actionscript 2.0

2006-06-26 Thread David Rorex
. - Original Message From: David Rorex [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, June 25, 2006 9:21:58 AM Subject: Re: [Flashcoders] FileReference and actionscript 2.0 On 6/23/06, human ghaderyan [EMAIL PROTECTED] wrote: Hi list I

Re: [Flashcoders] What AS edting features do you want in BBEdit?

2006-06-26 Thread David Rorex
I use PrimalScript on windows, and the code completion (aka Intellisense) is very nice. It works on all the built in classes, as well as all my own classes. It's not perfect (occasionally it only finds function names, but not paramaters), but it speeds up my coding a lot -- i don't have to look

Re: [Flashcoders] creating SWF or VIDEO on the fly ?

2006-06-28 Thread David Rorex
Using ONLY AS2? No, I'm pretty sure it cannot be done. However, it can be done using some free server-side tools. Things like swfmill, swfc, jpg2swf, etc etc. -David R On 6/26/06, jcanistrum [EMAIL PROTECTED] wrote: hi All, I´d like to discuss some ideas about if is possible to produce an

Re: [Flashcoders] AS3, Flash 9?

2006-06-28 Thread David Rorex
I believe the official word is Sometime in the first half of 2007 -David R On 6/27/06, Ville Walveranta [EMAIL PROTECTED] wrote: Does anyone here know the [tentative] release schedule of Flash 9 Pro (i.e . the IDE/Studio, not just the plugin) that would take advantage of AS3? Flash Team has

Re: [Flashcoders] Flex 2 and Flash 9 Press Releases

2006-06-29 Thread David Rorex
Unofficially they say a beta is coming 'real soon', and 'before the end of the year' gnash isn't even to flash 7 yet. so the official player is still ahead. i predict flash 9 for linux will be out before gnash 8 is solid. it's a nice idea, and perhaps can be something installed on distros by

Re: [Flashcoders] AS3 Flash 9 - Speed Freak

2006-06-29 Thread David Rorex
Very nice. I can't wait to see some of the cool demos people will make now that AS3 is officially out here's my performance stats: CPU: AMD Sempron 1.81GHz Firefox: 30fps 55% CPU usage IE: 49fps 100% CPU usage -David R On 6/29/06, neo binedell [EMAIL PROTECTED] wrote: U can have a looky

Re: [Flashcoders] Flex 2 and Flash 9 Press Releases

2006-06-30 Thread David Rorex
FYI, the (free) Flex SDK works fine for me on linux (since it's java based). Also the standalone player runs under Wine (even if a bit slow), so I can test simple apps. -David R On 6/29/06, Chris Allen [EMAIL PROTECTED] wrote: Any official word on whether a Mac and/or Linux version of Flex

Re: [Flashcoders] euro symbol fight

2006-07-05 Thread David Rorex
How about 'escaping' the text before you send to amfphp, and 'unescaping' the text after you recieve it back? escaping = turning all non-standard characters into things like %12%34%56 unescaping = reverse of above process -David R On 7/4/06, Gabriel [EMAIL PROTECTED] wrote: thanks Serge yes,

Re: [Flashcoders] Which remoting server?

2006-07-06 Thread David Rorex
On 7/5/06, ryanm [EMAIL PROTECTED] wrote: I have a very simple need, and I'm trying to find the simplest way to satisfy it. I have essentially a single remote shared object on a comm server that is getting entirely too much traffic and I want to offload it to some other kind of server (that

Re: [Flashcoders] Fullscreen from SWF

2006-07-07 Thread David Rorex
You could always tell your user to press F11 -- (shortcut key on firefox and IE for fullscreen...even gets rid of the titlebar and start bar) -David R On 7/7/06, John Hart [EMAIL PROTECTED] wrote: Oops.. for the full effect to work on any resolution leave the field Width and Height blank -

Re: [Flashcoders] Debug Player issue

2006-07-14 Thread David Rorex
Worst case scenario, just use one of the many flash logging/tracing apps (or write your own simple one real quick), and simply do a global search replace of trace( to DebugLogger.out( (or whatever the name of their trace command is) -David On 7/12/06, Andy Makely [EMAIL PROTECTED] wrote: My

Re: [Flashcoders] allownetworking?

2006-07-14 Thread David Rorex
must have just been indexed by google then, a quick search points me to livedocs, and then a search on livedocs finds this page: http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1590.html allowNetworking String Restricts browser

Re: [Flashcoders] Yahoo Maps: Detecting latitude and longitude of mouse over map

2006-07-20 Thread David Rorex
When flash calculates _width and _height, it also includes things inside the movieclip which may be invisible, or masked out. Try this simple example: On the stage, create an empty movie clip A which contains two square movieclips B and C, which are placed next to each other This code will

Re: [Flashcoders] Mosaic

2006-07-24 Thread David Rorex
On 7/24/06, kariminal [EMAIL PROTECTED] wrote: Hi All!.. Just wondering if anyone has a script to do a mosaic blur on an image?... - karim There are 2 ways I can think of: 1. Easy way: draw the image onto a bitmapdata, scale it smaller WITHOUT using smoothing, then scale it back up to the

Re: [Flashcoders] Possible Challenge: AS 3.0 Compiler :)

2006-08-05 Thread David Rorex
On 8/5/06, Scott Hyndman [EMAIL PROTECTED] wrote: https://www.adobe.com/cfusion/tdrc/index.cfm?product=flex The Flex compiler is free. Scott Can flex compiler run inside the Flash 9 plugin? I didn't think so... On 02/08/06, Keith Salisbury [EMAIL PROTECTED] wrote: Why on earth would you

Re: [Flashcoders] grabbing screen caps in FL8

2006-08-05 Thread David Rorex
It's possible, there are many examples, try searching. The only downside, is anything over maybe 300x300 is going to take a lot of processing time, and generate data which is several hundred KBs in order to upload. (even with compression) -David R On 8/4/06, keitai guy [EMAIL PROTECTED] wrote:

Re: [Flashcoders] Re: how to hide your AS 2.0 from flash leech software

2006-08-05 Thread David Rorex
I'm always suspicious when a person's first post to a mailing list is in promoting a commercial product. Maybe I'm just too paranoid, who knows. On 8/5/06, SWF Coder [EMAIL PROTECTED] wrote: You can protect your AS code from decompilers by using an obfuscator. Anyone know of any for use on

Re: [Flashcoders] PDF2SWF -- Problems with gradients

2006-08-07 Thread David Rorex
There's FlashPaper, but I'm not sure how well that will integrate with your current workflow (you didn't say if you have occasional PDFs to convert, or if it needs to be an automated, fairly often process) -David R On 8/7/06, Marcus Cheetham [EMAIL PROTECTED] wrote: I've been having trouble

Re: [Flashcoders] quotes in XML

2006-08-08 Thread David Rorex
On 8/8/06, Elie Zananiri [EMAIL PROTECTED] wrote: Hello all, I have an XML parsing question that I've been trying to solve for a little while now and I can't get it to work. I have a PHP script that loads text from an SQL db, formats it in an XML string and sends this string back to Flash

Re: [Flashcoders] How to secure actionscript code from reverse engineering

2006-08-08 Thread David Rorex
There are several apps out there that claim to protect swfs, I haven't tried any of them extensivly, but many appear to work. Try searching for them. Off the top of my head, I can think of swfencrypt, secureswf, MT's Obfu (mtasc.org/obfu). -David R On 8/8/06, Santhakumar K [EMAIL PROTECTED]

Re: [Flashcoders] Invalid gateway URL

2006-08-08 Thread David Rorex
Perhaps when your compent loads, have it call a remote method like ping or test or something, and if that method is not successful, show an error saying can't connect to gateway -David R On 8/8/06, Wade Arnold [EMAIL PROTECTED] wrote: I am looking for actually detecting it in the program. I

Re: [Flashcoders] AS3 bitmapdata lock/unlock

2006-08-16 Thread David Rorex
Wow that's neat, I'm a big fan of the Mandelbrot set. (offtopic, I just created an explorer for the nintendo DS: http://blog.davr.org/ ). I definately look forward to seeing the source when you finish it up. -David R On 8/16/06, Hauwert, Ralph [EMAIL PROTECTED] wrote: Hi Mike, I won't be

Re: [Flashcoders] Uncompress a gzipped file

2006-08-16 Thread David Rorex
I can see this being pretty useful. It would definately simplify one of my apps, where I currently use swfmill to combine a directory of a bunch of JPEGs into a single swf for faster loading. Instead, I can just use a standard zip file! -David R On 8/11/06, Claus Wahlers [EMAIL PROTECTED]

Re: [Flashcoders] OT: Flashmaps - anybody used it before?

2006-08-16 Thread David Rorex
FYI, Yahoo Maps also provides maps in flash, and they have a developer site, and free API and everything. I didn't look at flashmaps much, but they may work for you. -David R On 8/16/06, Anggie Bratadinata [EMAIL PROTECTED] wrote: One of my prospective clients want to have flash app with US

Re: [Flashcoders] Actionscript 3.0 compiler Qs

2006-08-21 Thread David Rorex
On 8/21/06, Martin Wood [EMAIL PROTECTED] wrote: Does the compiled code get recompiled during runtime to machine code (like a JIT compiler) or does it get interpreted? Some Adobe presentation on the subjet was saying that all the code get JIT'ed, except the $iinit and $cinit functions which

Re: [Flashcoders] Better XML parsin

2006-08-21 Thread David Rorex
I kinda like XMLShortcuts: http://www.shockwave-india.com/blog/?search=XMLShortcuts On 8/21/06, Johannes Nel [EMAIL PROTECTED] wrote: xpath On 8/21/06, Flash Mel [EMAIL PROTECTED] wrote: Hello everyone, There has to be a better way to parse XML. Using for loops seems antiquated. Could

Re: [Flashcoders] RE: Better XML parsin

2006-08-21 Thread David Rorex
I've used JSON (http://json.org/) before, not for config files, but for exchanging data between flash, java, and php. It's quite easy to use for someone with actionscript/javascript experience, and there are parsing libraries for most other languages as well. On 8/21/06, R.A. Williamson [EMAIL

Re: [Flashcoders] ANN: Screenweaver HX - Version 1.0

2006-08-31 Thread David Rorex
I hope you're not giving up because you think you have to use haXe for all of your apps: On top of 'standard' haXe-to-haXe communications, Screenweaver HX features a Flash library that allows communications between a haXe written back-end and a Flash IDE developed front-end. Both AS2 and AS3

Re: [Flashcoders] Hex to HSB

2006-09-15 Thread David Rorex
No, pretty much the way hsb -- rgb works, you need to have the numbers separate. You could probably create some awkward transform that tries really hard not to break them up, but it would end up being a lot more complicated, and not worth it. Besides, going from 0xRRGGBB to 0xRR, 0xGG, 0xBB is

Re: [Flashcoders] Flashdevelop and moviecliploader

2006-09-15 Thread David Rorex
I use MovieClipLoader all the time, and I just did a quick test (mtasc 1.12, standalone flash player 9, windows xp sp2): file Test.as --- class Test { static function main(root:MovieClip) { var txt:TextField = root.createTextField('txt', 0, 0, 0, 200, 200); var

Re: [Flashcoders] Flash upload problems

2006-09-15 Thread David Rorex
I've had the same problem with the empty uploads, using PHP on the server. For every file I upload, flash makes 2 requests, the first request with 0 data, and the second one with the actual file. I think it's been replicated by many people. The solution is to just ignore invalid uploads on the

Re: [Flashcoders] Hiding MD5 shared secret

2006-09-20 Thread David Rorex
hide the secret in many different places throughout the swf, and then combine them together to produce the actual code (using some odd formula). name them things that make it seem related to something else. part of the shared secret should also come from the server, so that it is different every

Re: [Flashcoders] Close/exit browser AS event?

2006-09-21 Thread David Rorex
The only way I know to do it is from javascript, and then call to flash using ExternalInterface, which is synchronous, thus the browser cannot exit until the flash function call finishes (so it wont 'zap' the flash object in the middle of your cleanup) -David R On 9/21/06, Michel Gaudette

Re: [Flashcoders] swf to svg

2006-09-25 Thread David Rorex
I believe most vector drawing tools will let you export/save as SVG. For example, http://www.inkscape.org/ is a free vector editing tool. Another popular tool is Adobe's Illustrator. If you really want to use flash to make SVG, another option is to save as something besides SWF. For example,

Re: [Flashcoders] PDF2SWF - or other means to convert bytestream PDF to SWF??

2006-09-29 Thread David Rorex
On 9/27/06, Ettwein, Josh [EMAIL PROTECTED] wrote: I have a need to consume PDFs with the flash player - no problem in the past - just use PDF2SWF to convert to multiframe SWF and loadMovie. The problem I'm having now is that the specs I've been given require that no PDF files be stored on the

Re: [Flashcoders] PDF2SWF - or other means to convert bytestream PDF to SWF??

2006-09-29 Thread David Rorex
By the way, using flashpaper in an automated server environment violates the license agreement. Though if you are a small operation, adobe may not bother to go after you. -David R On 9/28/06, Ray Chuan [EMAIL PROTECTED] wrote: Hi, you might want to look at FlashPaper:

Re: [Flashcoders] OT- subscribe to Flashcomm list

2006-09-30 Thread David Rorex
I haven't gotten any messages from the flashcomm list since 8/25 On 9/20/06, Wade Arnold [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [a /] Sent: Wednesday, September 20, 2006 8:01 AM To: 'Flashcoders mailing list' Subject:

Re: [Flashcoders] ActionScript 3 API Poster (PDF download @ Flex.org)

2006-10-18 Thread David Rorex
Problem seems to be that there is some weird encryption on the file. Try these fixed versions: http://davr.org/flash/posters.rar Note: I had to change the page size, but it still looks ok to me. The fixed versions even open in xpdf, so it should be ok. -David R On 10/17/06, Jason Jiang [EMAIL

Re: [Flashcoders] simulating mouse clicks

2006-10-20 Thread David Rorex
Hi, I researched this extensivly in the past, there is just no good way which works well in all cases, such that it will even work on 3rd party code. If you control all of the code, you can make it foolproof by adding a line of code to each click handler, but this can be time consuming, and not

Re: [Flashcoders] Webservices with Zinc and a certificate

2006-10-20 Thread David Rorex
I am pretty sure Zinc has nothing to do with SSL, it is all done by the flash plugin. So it may just work (why not try it to find out?). -David R On 10/19/06, Jim Kremens [EMAIL PROTECTED] wrote: Interesting thanks for the reply! I'll look into it. Still, this thing is largely built

Re: [Flashcoders] fileUpload - suprise

2006-10-20 Thread David Rorex
Finally...that was a huge annoyance before, every time I would upload a file it made me mad. I will have to try with the new version when I get a chance. I don't know how they could have missed this the first time around. (Though it is a common windows problem, many dialog boxes are not

Re: [Flashcoders] Upload speedometer without FileReference?

2006-11-27 Thread David Rorex
Other options are using Java, which has more flexibility, or perhaps using XML or LoadVars, and sending a specific amount of POST data. simply divide amount sent by time taken, to get the speed. On 11/27/06, Timothee Groleau [EMAIL PROTECTED] wrote: I know upload has nothing to do with files.

Re: [Flashcoders] real time flash interface.

2007-01-06 Thread David Rorex
A more efficient way might be to write a standalone socket server, in some easy scripting language (php, python, etc), which sits on your server and monitors the flat file. Since there is no network delay, it can check very often, once a second or even faster. It will accept conenctions from

Re: [Flashcoders] apollo is in macromedia labs

2007-03-19 Thread David Rorex
Yes, you can write AS3-only apps that don't use any part of flex at all. You can even do it for free with the Flex 2 SDK. I've heard that you can use AS2 apps in apollo, but that it is a pain because you do not have direct access to the apollo API. On 3/19/07, hank williams [EMAIL PROTECTED]

Re: [Flashcoders] Sending binary data to server - NO HEADERS

2007-03-28 Thread David Rorex
It seems like you are doing a lot of work, because of a poorly-designed server script. I would really try and see if you can get permission to modify the script. If not, perhaps you can have a 'bridge' script, that recieves the data from flash, formats it correctly for the other script, then

Re: [Flashcoders] ActionScript3, Socket, readObject

2007-03-28 Thread David Rorex
Perhaps read the data bytes into a separate ByteArray first and keep a copy, then if the readObject fails, you can wait for the next packet from the socket, and combine it with the original bytes in the ByteArray? On 3/22/07, Michael Mudge [EMAIL PROTECTED] wrote: I'm using ActionScript3 in

Re: [Flashcoders] Sending binary data to server - NO HEADERS

2007-03-29 Thread David Rorex
your disk) - Kipp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Rorex Sent: Wednesday, March 28, 2007 11:34 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Sending binary data to server - NO HEADERS It seems like

Re: [Flashcoders] Rotating, skewing and coloring TextFields using device fonts.

2007-07-24 Thread David Rorex
Personally I think you should keep it as compatible as possible. Otherwise, someone might develop a SWF, only checking against gnash, and not realize that it doesn't work correctly in the official player (which the majority of users will be using). This means that gnash would not be as useful for

Re: [Flashcoders] Synchronized game timing

2007-08-08 Thread David Rorex
Just have the server send the clear message at the same time to all clients. Assuming it sends all the messages in the same order to everyone, then there will be no problem. Don't even put any kind of timer on the client side, have the server time it. eg: A = client A B = client B S = server

<    1   2