[Flashcoders] list file into a remote folder

2006-05-22 Thread riccardo.roasio
Hi, how can i list all files contained into a remote folder? Thanks,Riccardo ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig

[Flashcoders] problems loading an image into a movieclip

2006-05-22 Thread riccardo.roasio
Hi, i have a movie with a button and a movieclip. I want that when i click the button an external image is visualized into the movieclip. I called the movieclip instance ic and in add this code to the button : on(click) { loadMovie(penguin.bmp,ic); } the problem is that the movieClip became

[Flashcoders] datagGRid elements alignment

2006-05-15 Thread riccardo.roasio
Hi, there is a way to align a datagrid column on the left ? i mean dispose all elements of a certain row on the left? Thanks,Riccardo ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] dynamic creation of a datagrid

2006-05-10 Thread riccardo.roasio
Hi, i need to put into a datagrid data coming from a db. The problem is the number of columns is variable. I use addColumn to add n new columns with their names, but when is time to use assItem i don't know what to do... The use of addItem is addItem( { col1: val1,col2:val2 } ) but i know col1

RE: [Flashcoders] dynamic creation of a datagrid

2006-05-10 Thread riccardo.roasio
I use a perl script that give me a big string with | as row delimiter and # as cell delimiter. I'm able to spit it by rows and split every row . I also have another string with all headers. I'm able to add headers but i don't know how to add data...

[Flashcoders] LoadVars problems

2006-05-03 Thread riccardo.roasio
Hi, i have a perl cgi that pass variables to a flash movie. Usually i use c++ but this time i need to use perl, so... Tha problem is that when i run onLoad method it loads but i'm unable to take variables values. So i tried the LoadVars.toString method and it return [type Function] ... what

RE: [Flashcoders] LoadVars problems

2006-05-03 Thread riccardo.roasio
Here is the code : list_lv.onLoad=function(success:Boolean) { if(success) { //test is the var associated to a text area test = list_lv.contentType+ +list_lv.toString; } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription

Re: [Flashcoders] LoadVars problems

2006-05-03 Thread riccardo.roasio
I did it, ialways do it with c++ and it works but in perl it doesn't... but if in the perl script i simply do print var1=1var2=2var3=3 flash reads them. So i thinks is something passed to flash from perl when it dinamicalli create the string and i'm trying to get more informations using

RE: [Flashcoders] LoadVars problems

2006-05-03 Thread riccardo.roasio
Thanks , now it works... Now i only need to understand what's appening here ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by

[Flashcoders] Flash and perl script

2006-05-03 Thread riccardo.roasio
Hi, anyone uses flash with perl cgi as server side application? I have problems with it ,seems that the script doesn't pass values to flash. here is the perl cgi (is very simple) : #!/bin/perl print Content-type: text/html\n\n; $out=_service_=; for($i=0;$i20;$i++) { $out .=$i.#; } print

[Flashcoders] hitTest

2006-03-26 Thread riccardo.roasio
Is possible to use hitTest function to check if a particolar pixel is inside a run-time created shape? Thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] hitTest

2006-03-26 Thread riccardo.roasio
It return me always true...is it possible??? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier

Re: [Flashcoders] hitTest

2006-03-26 Thread riccardo.roasio
Here is my code : this.createEmptyMovieClip(tempShape,20,1): tempShape.lineStyle... tempShape.moveTo(x1,y1): tempShape.lineTo ... this tempShape is a shape with a strange form... i need to know if a particualr pixel hit this shape for(i=0:in:i++) { for(y=0:ym:y++) {

[Flashcoders] duplicate movieclip?

2006-03-25 Thread riccardo.roasio
I have a big probelm, i need to draw a lot of points in my movie (like 1) . I tryed creating at run time a little square for every point and moving it in a certain position. It works but is very slow. My question is if i can use duplicatemovie clip to duplicate this little square

Re: [Flashcoders] duplicate movieclip?

2006-03-25 Thread riccardo.roasio
Ok, i will give more details. I need to plot a big number of points on a graph. The first time i symply created every time a new movievlip ( too slow) Now, afeter RuneImp suggestions i'm using attachmovie and it seems to work. But, returning to the main issue... i need to plot these series

[Flashcoders] draws and regions

2006-03-24 Thread riccardo.roasio
I have a big (for me) problem, i have a grpah made of a series of point (of one pixel). I need taht the user can draw a series of line on this graph to make a shape or region. This is the first problem: how to permit to the user to draw... The second is this one : there is a way to check if a

[Flashcoders] array of movieCLip

2006-03-24 Thread riccardo.roasio
If i create n movieclip with the createEmptyMovieClip giving to anyone a different name is possible to know the x and y value from another function? To me seem no , if i create for example 10 movie clip and in another function i write trace(x : +movieclip1._x) trace(y : +movieclip1._y)

RE: [Flashcoders] array of movieCLip

2006-03-24 Thread riccardo.roasio
I tryed to trace the movieclip ?width and height properties and it works, but if i try with x and y it write 0 ... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] array of movieCLip

2006-03-24 Thread riccardo.roasio
I found the problem... i solve it adding the .x and .y properties to every movieclip and passing them the movie clip position. In this way i can retrieve these values with movieclip.x and movieclip.y ___ Flashcoders@chattyfig.figleaf.com To change

[Flashcoders] save as bitmap

2006-03-24 Thread riccardo.roasio
Hi, there is the possibility to save a movie as a Bitmap? Something like printAsBitmap but that permit to save as image or to copy as image? Thanks,Riccardo ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

[Flashcoders] draw a graph

2006-03-23 Thread riccardo.roasio
Hi, i need to draw a graph made of a series of points . I Know the x and y values of every point only at run-time because i take them from a cgi script. I tryed creating a movieclip at run-time in a for statement .but at the end i view only oone point... the code is this one:

[Flashcoders] control two text area with one scrollbar

2006-03-18 Thread riccardo.roasio
Hi, is possible to control the scroll of two text area using only one scrollBar+ Thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to

[Flashcoders] flash8 and cgi

2006-03-17 Thread riccardo.roasio
Hi, anyone know how to connect a flash movie to a cgi script? I tried to use sendAndLoad but when i check with the onLoad function it gives me an unsuccess... Thanks,Riccardo ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or