[Flashcoders] Loader bytesTotal equals to 0

2008-12-04 Thread Christian Giordano
I've a strange bug which seems on the Flash Player. Basically on Windows / IE when the page is reloaded, the preloader logs the progress of the bytesLoaded correctly, but the totalBytes are incredibily 0. I tried both to check the ProgressEvent or the loader.contentLoaderInfo itself, the result

[Flashcoders] Pseudo 3D car games

2008-12-02 Thread Christian Giordano
Hi guys, I remember there is a technique used by some car games, like I presume here: http://www.2flashgames.com/f/f-3D-Rally-Racing-4621.htm Which allows you to have realistic car games without a real 3D engine. Does anyone remember the name of this technique and have some information about

[Flashcoders] Flex 2 SDK command line compiling on mac

2008-01-14 Thread Christian Giordano
Hi guys, I'm moving some AS3 projects from Win to Mac. I work on Eclipse + FDT and for compiling I used ANT scripts quering mxmlc. When trying to compile on mac I get: command line: Error: unknown configuration variable '' I'm trying all the possible options in the world but the error is not so

[Flashcoders] Re: Flex 2 SDK command line compiling on mac

2008-01-14 Thread Christian Giordano
chr On Jan 14, 2008 4:05 PM, Christian Giordano [EMAIL PROTECTED] wrote: Hi guys, I'm moving some AS3 projects from Win to Mac. I work on Eclipse + FDT and for compiling I used ANT scripts quering mxmlc. When trying to compile on mac I get: command line: Error: unknown configuration

Re: [Flashcoders] OT:How was this done?

2007-06-05 Thread Christian Giordano
If you want to be updated with his works you have to read his blog: http://toxi.co.uk/blog/ or check his flickr account: http://flickr.com/photos/toxi/ As far as I remember he rendered it at very high definition, I'm quite sure it wasn't happening in real-time (sometimes he uses a high

[Flashcoders] [JOB] Permanent role available for central London for Flash developer

2007-02-27 Thread Christian Giordano
Here the post about an open position in my team, I'm posting on behalf my team leader. - My team at LBi is dedicated to creating the RIA bits of cutting-edge online and offline user experiences... meaning that we build everything from RIA components for large CMS-driven websites to insane

Re: [Flashcoders] Q: Performance of AS3 vs Java

2006-12-07 Thread Christian Giordano
I recently completed a project using LWJGL (http://www.lwjgl.org) and it was blistering fast. In fact, I'm going to be open-sourcing it sometime today if you're interested. It was a game, but I wrote lots of code that could be applied anywhere, including tweening and shape primitive drawing

Re: [Flashcoders] Q: Performance of AS3 vs Java

2006-12-07 Thread Christian Giordano
Scott Hyndman wrote: Oh, that was the Ruby version. I just tried the Java version and I'm getting about 2000 fps. 4x faster doesn't REALLY suck in my book. And what would you expect? Java's pretty speedy. 4x faster? well, it's also 11 times smaller :) where do u read 2000 frs? My eyes, that

Re: [Flashcoders] Q: Performance of AS3 vs Java

2006-12-06 Thread Christian Giordano
slangeberg wrote: Regarding performance, FP9 is showing some nice 3D potential (for a 1-2meg VM): http://www.papervision3d.org/demos/seahorse/ Papervision is for Flash 8 and as far as i know, in terms of graphics, the performance between AS2 + FP8 and AS3 + FP9 are almost the same. Then of

Re: [Flashcoders] Q: Performance of AS3 vs Java

2006-12-05 Thread Christian Giordano
If you really want to get into doing 3d viz work, use Java and OpenGL - and skip Processing unless you just want to jump right in and be able to see your results faster. As Jon says, OpenGL could easily be the best solution, or Java3D at least. Look these examples without opengl:

Re: [Flashcoders] shared objects wrong needed size

2006-04-24 Thread Christian Giordano
JesterXL wrote: Nope. Just because it asks for a meg doesn't mean it'll use a meg. Ok but if I were a user I would think: What a f*** does he want to save on my PC of a meg size? when unfortunately it is *only* 100 kb. chr --

[Flashcoders] shared objects wrong needed size

2006-04-23 Thread Christian Giordano
Hi guys, in a project I'd like to give the option to the users to save as shared object around 110 Kb of data. The problem is that the player asks to the user to increment the storage size at 1 MB! Is there any way to make the player ask to increment the storage *only* for the needed size and

Re: [Flashcoders] OT: PSP getting the Flash Player this spring!

2006-03-19 Thread Christian Giordano
Interestingly, Sony still refers to the Flash Player in the PSP as Macromedia Flash. To be honest I'm more wondered about this: http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash :) -- ___

[Flashcoders] overlay swf over swf

2006-03-08 Thread Christian Giordano
Since the browsers render swfs in a top layer over the html, and the last swf updated is the one on top, the style z-index attribute is not enough to overlay a swf over another. Does anyone know if it is possible, and maybe how? Googling around I just found swf over html (so using z-index).

Re: [Flashcoders] Regex in JSFL?

2006-03-02 Thread Christian Giordano
Ryan Matsikas wrote: yes. I couldn't find any documentation and although it works I get an error as alert. var re = new RegExp(\[^\]+\,gi); var m_arr = re.exec(line); var m = m_arr[0]; var c_string = m.substr(1,m.length-2); fl.trace(found: +c_string); the string is correctly traced but I

Re: [Flashcoders] Regex in JSFL?

2006-03-02 Thread Christian Giordano
var re = new RegExp(\[^\]+\,gi); var m_arr = re.exec(line); var m = m_arr[0]; var c_string = m.substr(1,m.length-2); fl.trace(found: +c_string); I solved in this way: var re = new RegExp(\[^\]+\,gi); var m_arr = re.exec(line); if(m_arr){ var m = String(m_arr); var c_string =

Re: [Flashcoders] Regex in JSFL?

2006-03-02 Thread Christian Giordano
while (result != null) { fl.trace(found: +c_result); var result = re.exec(line); } it makes sense, thanks! chr -- ___ { Christian Giordano's site and blog @ http://cgws.nuthinking.com }

[Flashcoders] parsing all symbols in the timeline with JSFL

2006-02-28 Thread Christian Giordano
Hi Guys, is there a simple way to parse all the symbols (also nested) in the timeline without moving through all the frames (for instance like fl.getDocumentDOM().library.items) ? Or otherwise did anyone do a script that could be useful? Thanks, chr --

[Flashcoders] JSFLTools from bit-101

2006-02-28 Thread Christian Giordano
I'm having issues on mixing AS code and JSFL code in a Panel. A noticed that this project could be helpful, does anyone know what happened to it? best, chr -- ___ { Christian Giordano's site and blog @ http://cgws.nuthinking.com }

Re: [Flashcoders] JSFLTools from bit-101

2006-02-28 Thread Christian Giordano
Christian Giordano wrote: I'm having issues on mixing AS code and JSFL code in a Panel. A noticed that this project could be helpful, does anyone know what happened to it? I found the way to mix all the things (what a mess!). But any news about that project will be welcome :) Cya, chr

[Flashcoders] Kill a PendingCall

2006-02-15 Thread Christian Giordano
If we don't need anymore the result of a PendingCall and so we need to make a different one, is it possible, to optimize the bandwidth, to kill the first one? It would be very handy with big data and also to avoid interferences with the new one. Thanks, chr --

Re: [Flashcoders] image manipulation

2006-02-10 Thread Christian Giordano
I guess I’ll send the issue to macromedia wish list today:) Probably in As3/fp8.5 is already implemented, I suggest you to check it first :) chr -- ___ { Christian Giordano's site and blog @ http://cgws.nuthinking.com }

[Flashcoders] 32bit gradient mask performances

2006-02-09 Thread Christian Giordano
Hi guys, I recently wrote a class to handle this kind of effects in animation context, so applied to movieclips NOT bitmaps, but when the masks I handle start to be bigger the performance sucks. It's obvious but I'm just wondering if there is a better way that the one I'm using. Here my

Re: [Flashcoders] 32bit gradient mask performances

2006-02-09 Thread Christian Giordano
Just a small hand here, the performance actually is quite ok on my pc? it's a question? :) btw, since I'd like to make a more scalable as possible method, it would be nice having better performances. best, chr -- ___ {

Re: [Flashcoders] 32bit gradient mask performances

2006-02-09 Thread Christian Giordano
mc1.cacheAsBitmap = true; mc2.cacheAsBitmap = true; mc1.setMask(mc2); *Posted by:* Tinic Uro at August 9, 2005 02:12 PM The more Bitmap data you're sending around the heavier the processor will be. CacheAsBitmap will do just fine. that's what I was looking for!!! Thanks man, chr --

Re: [Flashcoders] 32bit gradient mask performances

2006-02-09 Thread Christian Giordano
mc1.cacheAsBitmap = true; mc2.cacheAsBitmap = true; mc1.setMask(mc2); I made a test and although is much more simple, it doesn't seem you earn something in performances :( here the two tests: long method - http://nuthinking.com/f8/gradient_mask.html simple method -

Re: [Flashcoders] motion detection

2005-12-08 Thread Christian Giordano
... so I didn't go to far with research, but it seems that motion detection in f8 is pretty strong ... (because of BitmapData) to be honest, from the first tests I did, the getPixel/setPixel method seems to have a very low performance and for this reason I wouldn't define computer-vision with

Re: [Flashcoders] Tabbing inside AS2 UIComponent

2005-11-21 Thread Christian Giordano
I think you might need to disable tabbing to the external component (containing). Actually it makes a lot sense. I'll tell that to the developer that has now the project in the hands. Thanks a lot, chr -- ___ { Christian