[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 doe

[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 how

[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: Er

[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 h

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 quality

[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 st

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-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 too

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: http://jame

[Flashcoders] beginBitmapFill makes IDE crash if texture has alpha channel

2006-04-28 Thread Christian Giordano
As you can imagine it is quite difficult to debug, especially because it happens often (not always) and of course because Flash closes in a mo. But after hundreds of tests it seems so. It happens during intensive calculates and if played outside the IDE nothing bad happens. Did anyone encounter

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 n

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 :) -- ___

Re: [Flashcoders] overlay swf over swf

2006-03-08 Thread Christian Giordano
The "which browsers support wmode?" issue is a hard one... every now and then a Macromedia document is rewritten describing what we've seen among various current browser brands, platforms and versions, along with varied authoring features (in DIV, with printing, etc), but I know of no updated t

[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). T

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 }

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);

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 trac

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

[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 } _

[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] 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 } __

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 - http://nuthinking.com/f8/

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
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 -- ___ { Christia

Re: [Flashcoders] 32bit gradient mask performances

2006-02-09 Thread Christian Giordano
possibly then you'd need to create image_bd only once, since it's static. So create image_bd, mask_bd , picture_bd only once and each frame only update mask_bd and picture_bd. sorry, I meant image_pd in the last post, and of course it works for static movieclips, but not for animated :( I co

Re: [Flashcoders] 32bit gradient mask performances

2006-02-09 Thread Christian Giordano
- draw with draw api a gradient fill in a movieclip (mask_mc), 0x00ff to 0x - create a new BitmapData (mask_bd) to copy the content of the gradient mask - draw mask_mc in mask_bd - create a new BitmapData (image_bd) to contain the movieclip to be masked - draw the movieclip in image_

[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 proced

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] swf height and width

2005-12-01 Thread Christian Giordano
Salvatore Fusto wrote: Hi all, how can i find, using javascript, height and width of a swf file, given its path? I think you just can't. javascript is client code, in that case you should need of a serverside code able maybe to read the headers of the .swf. cheers, chr -- _

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 Giordan

[Flashcoders] Tabbing inside AS2 UIComponent

2005-11-17 Thread Christian Giordano
In a project I'm supporting a form has been build inside a class that extends UIComponent (so in AS2, in Flash8, but I had the same problem in Flash7). I tried in very different ways on implementing the tabbing inside (using tabIndex, setFocus on killFocus, also with a delay) but everytime I ta