RE: [Flashcoders] Taking a "screenshot" from a FLVPlayback compon entusing AS

2006-05-04 Thread Bart Zonneveld
Thanks for the pointer. I currently am using ffmpeg a lot (for automatically
encoding movies), so I decided to use that to write a screenshot to disk.
I'll clean up my code soon, and send it to the list/whoever is interested.
It's a Flash based uploading/encoding/editing proof of concept for videos,
using ffmpeg and flvtool2.

> -Original Message-
> From: Oleg Filipchuk [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 03, 2006 6:19 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Taking a "screenshot" from a FLVPlayback
> compon entusing AS
> 
> 
> You may send data to some server side script, but currently 
> in FP8 it is not
> really efficient due to the size of data sent over wire. There is an
> interesting example from Alessandro Crugnola -
> http://sephiroth.it/tutorials/flashPHP/print_screen/
> 
> Cheers,
> Oleg
> ___
> 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 Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> 
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] XRAY breaks my movie

2006-05-04 Thread eugen pflüger

hello xray professionals,

i really need your help!

i installed xray with the extension manager. everythings fine.
then i put the xray component on stage on frame 1 (theres only 1  
frame) (classes export to frame 1).

then i did "test movie".

trace window says this:
"(1014) Connections: true | true
256 levels of recursion were exceeded in one action list.
This is probably an infinite loop.
Further execution of actions has been disabled in this movie."

now its getting interesting:
i did uninstall the component with extension manager. restarted flash.
and when i test movie i get the same trace message!

file size of swf before installation was: 136 kb
after xray it is: 151 kb. the difference is about 16k. (thats whats  
said on the website).


so that thing is still in my fla/swf!
how do i get rid of it

i also did "delete aso files and test movie". no change.

tia
eugen


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Fwd: XRAY breaks my movie

2006-05-04 Thread eugen pflüger

oh, i forgot to mention:
i am on mac and use flash 8.

downloaded the latest version of xray:
standalone: 1.2.5
connector: 1.4.5



Anfang der weitergeleiteten E-Mail:


Von: eugen pflüger <[EMAIL PROTECTED]>
Datum: 4. Mai 2006 09:22:08 MESZ
An: Flashcoders mailing list 
Betreff: XRAY breaks my movie

hello xray professionals,

i really need your help!

i installed xray with the extension manager. everythings fine.
then i put the xray component on stage on frame 1 (theres only 1  
frame) (classes export to frame 1).

then i did "test movie".

trace window says this:
"(1014) Connections: true | true
256 levels of recursion were exceeded in one action list.
This is probably an infinite loop.
Further execution of actions has been disabled in this movie."

now its getting interesting:
i did uninstall the component with extension manager. restarted flash.
and when i test movie i get the same trace message!

file size of swf before installation was: 136 kb
after xray it is: 151 kb. the difference is about 16k. (thats whats  
said on the website).


so that thing is still in my fla/swf!
how do i get rid of it

i also did "delete aso files and test movie". no change.

tia
eugen




___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] FMS Service STOPS??

2006-05-04 Thread Francesco

Hi all.
I am recently experiencing a strange behavior on our Breeze installation 
with the FMS service stopping (the only one out of 4).
I visited FMS support forum on MM's just to find out that others are 
dealing with this but still we haven't worked this out.


http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=578&threadid=1148846&enterthread=y

my Master log reports:
FMS has detected system time is going backwards; shutting down server.

Has anyone ever heard it before?
thanks
francesco
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Solved: XRAY breaks my movie

2006-05-04 Thread eugen pflüger

hello,

ok i am stupid! i deleted the component from the library and now my  
movie compiles again.

but i still wonder what that recursive problem is about.






Anfang der weitergeleiteten E-Mail:


Von: eugen pflüger <[EMAIL PROTECTED]>
Datum: 4. Mai 2006 09:25:14 MESZ
An: Flashcoders mailing list 
Betreff: [Flashcoders] Fwd: XRAY breaks my movie
Antwort an: Flashcoders mailing list  



oh, i forgot to mention:
i am on mac and use flash 8.

downloaded the latest version of xray:
standalone: 1.2.5
connector: 1.4.5



Anfang der weitergeleiteten E-Mail:


Von: eugen pflüger <[EMAIL PROTECTED]>
Datum: 4. Mai 2006 09:22:08 MESZ
An: Flashcoders mailing list 
Betreff: XRAY breaks my movie

hello xray professionals,

i really need your help!

i installed xray with the extension manager. everythings fine.
then i put the xray component on stage on frame 1 (theres only 1  
frame) (classes export to frame 1).

then i did "test movie".

trace window says this:
"(1014) Connections: true | true
256 levels of recursion were exceeded in one action list.
This is probably an infinite loop.
Further execution of actions has been disabled in this movie."

now its getting interesting:
i did uninstall the component with extension manager. restarted  
flash.

and when i test movie i get the same trace message!

file size of swf before installation was: 136 kb
after xray it is: 151 kb. the difference is about 16k. (thats  
whats said on the website).


so that thing is still in my fla/swf!
how do i get rid of it

i also did "delete aso files and test movie". no change.

tia
eugen




___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com










plugisto
...
eugen pflüger

alexanderstr. 109
70180 stuttgart

fon +49.711.6739797
mobil   +49.177.6428272
e-mail  [EMAIL PROTECTED]
...
http://www.plugisto.net
http://itself.pmalc.de
http://www.lifeperformance.net


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Solved: XRAY breaks my movie

2006-05-04 Thread ryanm
ok i am stupid! i deleted the component from the library and now my  movie 
compiles again. but i still wonder what that recursive problem is about.


   Xray "crawls" your project, getting info about all of the objects (movie 
clips, arrays, etc). You need to turn off autoupdate so that it isn't 
constantly trying to loop through everything. It happened to me on a big 
project too.


ryanm 


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] XML Parsing

2006-05-04 Thread Mars Spider - Upgrade Multimediale Srl

Anyone knows something about a ***non* *recursive* XML parser??

--
Mars Spider
Flash Developer
http://www.marsspider.net

Latest release
http://www.take-two.it
http://www.replay.it (FWA Sotd)
http://www.dolcenera.com (new)


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] XML Parsing

2006-05-04 Thread Steven Sacks
> Anyone knows something about a ***non* *recursive* XML parser??

Why?? 

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] XML Parsing

2006-05-04 Thread Danny Kodicek



Anyone knows something about a ***non* *recursive* XML parser??


Why??


Actually, I'd be interested too. I get frustrated with XML because sometimes 
one uses it for a tree-based structure and sometimes for a linear markup 
structure, and the two don't naturally go together very well. The XML 'I 
like coffee and I love tea' is logically a 
single node with markup, but in a recursive structure the words 'coffee' and 
'tea' are both one level down. This is particularly problematic when parsing 
things like 'one two three four five'.


Flash's XML parser actually deals with this pretty well, but I'm yet to find 
an XML editor which is comfortable with it.


Danny 


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] calendar application

2006-05-04 Thread Michael Stuhr

does anyone know some OS calendar application (done in flash), like google 
calendar ?

micha
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] XML Parsing

2006-05-04 Thread Mars Spider - Upgrade Multimediale Srl

Steven Sacks wrote:

Anyone knows something about a ***non* *recursive* XML parser??



Why?? 


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

  

I'm experiencing some recursion limit problem with a large XML...

Mars Spider


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Help needed for Novice

2006-05-04 Thread Jim Robson
Loren,

The stop() command is commented out on frame 5 ("Start"). That would explain
why the movie blows by that frame. If I am reading it correctly, this is
what is happening: When the movie gets to frame 5, it loads start.swf and
keeps playing until it gets to frame 15, where it loads objectives.swf into
the same movie clip ("screen"), thereby replacing start.swf.

By the same token, it looks as though the stop() command on frame 15
("Objectives") will prevent the movie from progressing to the "Introduction"
frame, and therefore the code to load intro.swf is never reached - unless
you have some code inside objectives.swf that instructs the main timeline to
resume playing when objectives.swf is finished, which of course I can't see.

Regarding your play control buttons, they are not addressing the movie clip
that you are trying to control. You are trying to control start.swf,
objectives.swf, and intro.swf. However, your control buttons are all
addressing _root.screen, which is the container into which you load the
others. To fix this, you could assign an instance name for the loaded movie
clips, and use the same name for each clip, and change the code in the
control buttons to address it. For example, if you assigned them all the
instance name "foo" you could change the code in the playme.onRelease
function to _root.screen.foo.play();

HTH

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Loren R.
Elks
Sent: Wednesday, May 03, 2006 3:36 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Help needed for Novice

Hi:
I need to load external swfs into a mc.  They will play in sequence, as soon
as one ends, the next one will start.  When running it blows by the first
external swf (start.swf) and the rest of the external swfs will not continue
to load and play after the objectives.swf.  Could someone take a look at my
code and tell me what I'm doing wrong?

I've created controls that will allow me to play, pause and stop the
external swfs while they're playing (however, these buttons do not seem to
have any effect on the external swf when it is playing).  I think it is a
scope issue, but I am not sure.  

Also, there's a combo box at the bottom, which allows the user to jump to
any external swf (it actually jumps to certain labels on the main timeline)
at any time.  The combo box appears to work OK.

The FLA is located at:  www.digitalhorizonstudios.com/exstream/newplayer.fla


By the way, this presentation is a fullscreen .exe file when in use, not a
swf played in an html file.

Thanks SO MUCH for any help on this one.

Please reply to the list AND email me directly if you have a solution.


Loren Elks
 "The only real mistake is the one from which we learn nothing." - John
Powell
 
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] retrieving names of external files in a folder(oristhere something similar to Directors getNthFileNameInFolder())

2006-05-04 Thread Boris
If you don't need to use the flash outside the IDE you could use the
jsfl FLfile.listFolder() function.

e.g.
function init(srcURI){
alert(FLfile.listFolder(srcURI, "directories"));
return(FLfile.listFolder(srcURI, "directories"));
}
init("file:///D:/Documenten/swf/VersoPlugin/_versoDev/_projects/");

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Mikael Wirén
Verzonden: donderdag 4 mei 2006 8:11
Aan: Flashcoders mailing list
Onderwerp: SV: [Flashcoders] retrieving names of external files in a
folder(oristhere something similar to Directors
getNthFileNameInFolder())

Thanx for the input guys.
Will explore some more and probably find a load of other Qs, thats the
best thing with teaching =)
This is the first time in 10 years i´ve had enough time to learn new
things outside a mad tight deadline.
 
Regards
 
/Micke



Från: Viktor Berzsinszky [mailto:[EMAIL PROTECTED]
Skickat: on 2006-05-03 16:10
Till: Flashcoders mailing list
Ämne: Re: [Flashcoders] retrieving names of external files in a
folder(oris there something similar to Directors
getNthFileNameInFolder())



"Die machen..."
mit "Die machen..." meinte ich Alprausch. Alprausch macht Pullis,
Carharrtt macht Plastiksäcke aber ganz angenehm zum Rumlaufen.


/v

Pedro Furtado schrieb:
> Well there's no way to access local files, that's been a security
issue for
> a long time now. You can however use any of the flash wrappers around
and
> they will provide you with the functionality. Some of them are free
some
> aren't. But they all support what you're looking for.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Britton
> Sent: quarta-feira, 3 de Maio de 2006 14:32
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] retrieving names of external files in a
folder
> (oris there something similar to Directors getNthFileNameInFolder())
>
> I made a very basic "directory scraper" class way back.  I use this
with
> AMFPHP.
>
> http://www.randomusa.com/flash/downloads/directoryScraper.zip
>
> hth,
>
> Mike
>
>
> On 5/3/06, Mikael Wirén <[EMAIL PROTECTED]> wrote:
>  
>> Hi gang,
>> I´m slowly finding the pros (can admit there are some =) and cons of
Flash
>>
>> I´m lookning for a method similar to Directors getNthFileInFolder().
>> Atm, i´m using a dirty solution, SendAndLoad("myFiles.php", myObj,
POST)
>>
> with a PHP file returning a variable containing the files in that
folder.
>  
>> Works well enough for the web but it feels like overkill for a
standalone
>>
> player, or?
>  
>> Is there a simpler way to do this?
>>
>> /Micke
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ___
>> 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 Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>>
>>
>
>
> --
> Mike
> --
> http://www.mikebritton.com
> http://www.mikenkim.com
> ___
> 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 Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>
>
> ___
> 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 Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>  





-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.5.3/331 - Release Date: 3/05/2006

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.5.3/331 - Release Date: 3/05/2006
 

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] External Interface Class + form tag

2006-05-04 Thread Sumeet Kumar
Hi All

 

I m facing problem in JavaScript to flash communication (using External
Interface Class in flash8)

The Problem is as follows

 

The object tag is inside the form tag in a aspx page.

 

I m not able to call a function from JavaScript to flash

 

But if I remove the form tag it works fine

Is this a known issue?

 

Any Work around to this issue

 

Any help would be great

 

 

Regards

Sumeet Kumar

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] External Interface Class + form tag

2006-05-04 Thread Bernard Visscher
If I'm correct they use something like:
Flash = window.flashObject; 
Or
Flash = window.document.flashObject;
To call the object.

Try setting this to flash = document.getElementById("flashObject");

This works with all browser, at least all browsers that support the
ExternalInterface.

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Sumeet Kumar
> Verzonden: donderdag 4 mei 2006 14:31
> Aan: Flashcoders mailing list
> Onderwerp: [Flashcoders] External Interface Class + form tag
> 
> Hi All
> 
>  
> 
> I m facing problem in JavaScript to flash communication 
> (using External Interface Class in flash8)
> 
> The Problem is as follows
> 
>  
> 
> The object tag is inside the form tag in a aspx page.
> 
>  
> 
> I m not able to call a function from JavaScript to flash
> 
>  
> 
> But if I remove the form tag it works fine
> 
> Is this a known issue?
> 
>  
> 
> Any Work around to this issue
> 
>  
> 
> Any help would be great
> 
>  
> 
>  
> 
> Regards
> 
> Sumeet Kumar
> 
> ___
> 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 Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
> 

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] External Interface Class + form tag

2006-05-04 Thread Geoff Stearns
if you look at the livedocs page for externalinterface there are a  
few comments about this problem, and i think there is a workaround.



On May 4, 2006, at 8:31 AM, Sumeet Kumar wrote:


Hi All



I m facing problem in JavaScript to flash communication (using  
External

Interface Class in flash8)

The Problem is as follows



The object tag is inside the form tag in a aspx page.



I m not able to call a function from JavaScript to flash



But if I remove the form tag it works fine

Is this a known issue?



Any Work around to this issue



Any help would be great





Regards

Sumeet Kumar

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] External Interface Class + form tag

2006-05-04 Thread Sumeet Kumar
Hi 
I have tried those livedocs
But I m not able to get that code work for me 

It will be a great help if u send me a example regarding this at
[EMAIL PROTECTED]

Thanks And Regards
Sumeet Kumar




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Geoff
Stearns
Sent: Thursday, May 04, 2006 6:44 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] External Interface Class + form tag

if you look at the livedocs page for externalinterface there are a  
few comments about this problem, and i think there is a workaround.


On May 4, 2006, at 8:31 AM, Sumeet Kumar wrote:

> Hi All
>
>
>
> I m facing problem in JavaScript to flash communication (using  
> External
> Interface Class in flash8)
>
> The Problem is as follows
>
>
>
> The object tag is inside the form tag in a aspx page.
>
>
>
> I m not able to call a function from JavaScript to flash
>
>
>
> But if I remove the form tag it works fine
>
> Is this a known issue?
>
>
>
> Any Work around to this issue
>
>
>
> Any help would be great
>
>
>
>
>
> Regards
>
> Sumeet Kumar
>
> ___
> 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 Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] 8th May Sydney Developers Group study group

2006-05-04 Thread Chris Velevitch

On Monday 8th May, we'll be looking at the External API and
theFileReference API. Please read the articles prior to the meeting
(see http://www.flashdev.org.au/program). At the meeting, the
moderator will lead discussion and with questions about the topic. The
meeting is on at 6:30pm for 7pm start and finishes around 8:30pm.

Details about the group, venue and program are available from
http://www.flashdev.org.au. Please note, whilst the meetings and the
use of the club are free, the club does require us to purchase
beverages and/or snacks in exchange.

Please RSVP at http://www.flashdev.org.au/rsvp.


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] destructors...

2006-05-04 Thread Tyler Wright

Ian's right.

ActionScript is a dynamic language with its own garbage collection, for
better or for worse. If you try to apply all the same practices and
rulesfrom strict-typed languages that requre manual memory management
you'll go
crazy. The best thing to do is to realize this type of languages strengths
and weaknesses and try to build on them. It's really up to the ActionScript
Virtual Machine now to do ALL memory management, along with your good
practices of making variables local when they can be local and dereferencing
them when you're done using them.

delete myObject;

by itself does not actually destroy myObject. Rather it dereferences the
variable name 'myObject' from the actual data. Later garabage collection
will take care of it if 'myObject' was the last reference to the data. Doing
a delete in this way on a local variable doesn't actually do anything, as
all local variables should clean on their own once their code block
finishes.

Tyler

On 5/3/06, Ian Thomas <[EMAIL PROTECTED]> wrote:


Um - I'm not sure it is beside the point. :-) Given that you are at
the mercy of the garbage collector, implementing a function like:

class MyClass
{
  function cleanup()
  {
delete _someProp;
delete _someOtherProp;
  }
}

is pointless anyway, because if you delete an object of MyClass (or
rather _mark_ it for deletion by calling delete() - that's all
delete() does, and only then if there are no other references to the
class) then its properties are automatically marked for deletion.
Again, unless there are any other references.

The only time I've had to worry about destructors in a
garbage-collected language (such as Flash) is when dealing with
connections to resources - for example, connections to databases, or
closing open socket streams, or releasing handles to video memory
buffers, that sort of thing.

Those sort of things should be pretty rare in Flash... which is why I
asked what you're trying to achieve, because in most cases you can
find a way around it.

If you are dealing with some sort of resource that you want to make
sure shuts down properly when no-one is referring to it, one method is
to explicitly request/release access to the resource and implement
reference counting.

For example, here's a singleton resource class:

class MyResource
{
  private static var _refCount:Number=0;
  private static var _instance:MyResource;

  public function MyResource()
  {
  }

  public static function getResource():MyResource
  {
if (_refCount==0)
{
  _instance=new MyResource();
}
_refCount++;
return _instance;
  }

  public static function freeResource()
  {
_refCount--;
if (refCount==0)
{
  _instance.doCleanup();
  _instance=null;  // You could do delete here if you really wanted
to.
}
  }
}

and then access it like so:

var res:MyResource=MyResource.getResource();

and when you're done
MyResource.freeResource();

But that's really long-winded, and breaks as soon as someone does this:

var res:MyResource=MyResource.getResource();
var res2:MyResource=res; // Took a copy
MyResource.freeResource();

res2.doSomething() // Breaks, because doCleanup() will have been called.

This sort of thing used to crop up quite a lot in C++; which is why
smart pointers and the like were invented.

I can't think of too many situations where you might need that sort of
thing in Flash; which is why I asked what you were trying to
achieve...

Ian


On 5/3/06, Andreas Rønning <[EMAIL PROTECTED]> wrote:
> Kind of besides the point really. The real point is, in my humble
> opinion, that it should be possible to do it without myClass.cleanup();
> delete(myClass);
> It becomes double naughty if your class instance is in an array.
> It's just a question of keeping the amount of fluff down to a minimum.
>
> This is not a critical problem. I am merely asking for people's
> methodologies in self destroying classes.
>
> - A
>
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] calendar application

2006-05-04 Thread mailinglists

There's a really nice looking one as an OpenLaszlo example.

direct link:
http://www.laszlosystems.com/lps/sample-apps/calendar/calendar.lzo?fb=1&lzt=html

The rest of the OpenLaszlo explorer:
http://www.openlaszlo.org/lps-latest/laszlo-explorer/

-david


Quoting Michael Stuhr <[EMAIL PROTECTED]>:

does anyone know some OS calendar application (done in flash), like 
google calendar ?


micha



___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] destructors...

2006-05-04 Thread elibol

Wait though, isn't a class part of the swf compilation? Technically, you
really cannot delete it unless you load the class in via an external swf.
That might be one way of accually doing it.

M.


On 5/3/06, Andreas Rønning <[EMAIL PROTECTED]> wrote:


Kind of besides the point really. The real point is, in my humble
opinion, that it should be possible to do it without myClass.cleanup();
delete(myClass);
It becomes double naughty if your class instance is in an array.
It's just a question of keeping the amount of fluff down to a minimum.

This is not a critical problem. I am merely asking for people's
methodologies in self destroying classes.

- A

Ian Thomas wrote:
> Hi Andreas,
>  To turn it on its head...
>
>  What are you trying to achieve? In what circumstances do you need to
> destroy a class?
>
> Ian
>
> On 5/3/06, Andreas Rønning <[EMAIL PROTECTED]> wrote:
>
>> has anyone got a good way for an as2 class to destroy itself? I know
>> it's not "possible", but my heart tells me someone has devised some
kind
>> of good methodology.
>>
>> - A
>
> ___
> 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 Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com

--

- Andreas Rønning

---
Flash guy
Rayon Visual Concepts, Oslo, Norway
---
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Solved: XRAY breaks my movie

2006-05-04 Thread mailinglists

How do you turn on autoupdate?  I've installed the latest xray connector and
standalone, and looked at all the menus in the standalone app, and looked at
the parameters on the connector.  I don't see autoupdate anywhere.  If
autoupdate would keep me from having to take screenshots repeatedly, I would
really like that.

-david


Quoting ryanm <[EMAIL PROTECTED]>:

   Xray "crawls" your project, getting info about all of the objects 
(movie clips, arrays, etc). You need to turn off autoupdate so that 
it isn't constantly trying to loop through everything. It happened to 
me on a big project too.


ryanm ___


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] calendar application

2006-05-04 Thread Chad Mefferd

very cool

On May 4, 2006, at 9:05 AM, [EMAIL PROTECTED] wrote:


There's a really nice looking one as an OpenLaszlo example.

direct link:
http://www.laszlosystems.com/lps/sample-apps/calendar/calendar.lzo? 
fb=1&lzt=html


The rest of the OpenLaszlo explorer:
http://www.openlaszlo.org/lps-latest/laszlo-explorer/

-david


Quoting Michael Stuhr <[EMAIL PROTECTED]>:

does anyone know some OS calendar application (done in flash), like  
google calendar ?


micha



___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] destructors...

2006-05-04 Thread Ian Thomas

Good point.

I assumed - Andreas - that you were talking about deleting _instances_
of a class; not actual classes. :-)

Ian

On 5/4/06, elibol <[EMAIL PROTECTED]> wrote:

Wait though, isn't a class part of the swf compilation? Technically, you
really cannot delete it unless you load the class in via an external swf.
That might be one way of accually doing it.

M.

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] destructors...

2006-05-04 Thread Tom Lee
Usually, when someone asks "how do I delete a class?" I assume they mean
"how do I remove an instance of a class from memory?", rather than "How do I
delete a class so new instances of it can not be made".

I'm pretty sure you can delete the constructor of a class just by saying

delete myClass;

and that will remove the constructor from memory and prevent further
instantiation of objects based on that class.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of elibol
Sent: Thursday, May 04, 2006 10:09 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] destructors...

Wait though, isn't a class part of the swf compilation? Technically, you
really cannot delete it unless you load the class in via an external swf.
That might be one way of accually doing it.

M.


On 5/3/06, Andreas Rønning <[EMAIL PROTECTED]> wrote:
>
> Kind of besides the point really. The real point is, in my humble
> opinion, that it should be possible to do it without myClass.cleanup();
> delete(myClass);
> It becomes double naughty if your class instance is in an array.
> It's just a question of keeping the amount of fluff down to a minimum.
>
> This is not a critical problem. I am merely asking for people's
> methodologies in self destroying classes.
>
> - A
>
> Ian Thomas wrote:
> > Hi Andreas,
> >  To turn it on its head...
> >
> >  What are you trying to achieve? In what circumstances do you need to
> > destroy a class?
> >
> > Ian
> >
> > On 5/3/06, Andreas Rønning <[EMAIL PROTECTED]> wrote:
> >
> >> has anyone got a good way for an as2 class to destroy itself? I know
> >> it's not "possible", but my heart tells me someone has devised some
> kind
> >> of good methodology.
> >>
> >> - A
> >
> > ___
> > 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 Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
>
> --
>
> - Andreas Rønning
>
> ---
> Flash guy
> Rayon Visual Concepts, Oslo, Norway
> ---
> ___
> 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 Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] destructors...

2006-05-04 Thread jeboothjr
The way I understand it, classes are loaded as global variables.  You 
can see them when you test the movie and click Debug-->List Variables.  
I was on a project with multiple developers. The Shell loaded many 
different swf files. Some of the developers used the same classes and 
slightly modified them for their needs. The issue was that the class 
paths were identical, but even though they were used in separate swf 
files Flash would not replace the first loaded class with the new ones 
from the newly loaded swf files and cause the file to "break".  This 
only happens if the class path is the same.  Also, after using the app 
for a while you can check the "List Variables" again and see that Flash 
had amassed every class ever loaded.  I ended up writing a Class 
Cleaner class to delete the global class variables and it works.  It 
fixed the broken program files.  I don't completely understand the 
details of Flash's garbage collection, but this solved my problem.

I based my class after the idea that I found here:

http://www.helpqlodhelp.com/blog/archives/2003_04.html

- Original Message -
From: Tyler Wright <[EMAIL PROTECTED]>
Date: Thursday, May 4, 2006 9:36 am
Subject: Re: [Flashcoders] destructors...
To: Flashcoders mailing list 

> Ian's right.
> 
> ActionScript is a dynamic language with its own garbage 
> collection, for
> better or for worse. If you try to apply all the same practices and
> rulesfrom strict-typed languages that requre manual memory management
> you'll go
> crazy. The best thing to do is to realize this type of languages 
> strengthsand weaknesses and try to build on them. It's really up 
> to the ActionScript
> Virtual Machine now to do ALL memory management, along with your good
> practices of making variables local when they can be local and 
> dereferencingthem when you're done using them.
> 
> delete myObject;
> 
> by itself does not actually destroy myObject. Rather it 
> dereferences the
> variable name 'myObject' from the actual data. Later garabage 
> collectionwill take care of it if 'myObject' was the last 
> reference to the data. Doing
> a delete in this way on a local variable doesn't actually do 
> anything, as
> all local variables should clean on their own once their code block
> finishes.
> 
> Tyler
> 
> On 5/3/06, Ian Thomas <[EMAIL PROTECTED]> wrote:
> >
> > Um - I'm not sure it is beside the point. :-) Given that you are at
> > the mercy of the garbage collector, implementing a function like:
> >
> > class MyClass
> > {
> >   function cleanup()
> >   {
> > delete _someProp;
> > delete _someOtherProp;
> >   }
> > }
> >
> > is pointless anyway, because if you delete an object of MyClass (or
> > rather _mark_ it for deletion by calling delete() - that's all
> > delete() does, and only then if there are no other references to the
> > class) then its properties are automatically marked for deletion.
> > Again, unless there are any other references.
> >
> > The only time I've had to worry about destructors in a
> > garbage-collected language (such as Flash) is when dealing with
> > connections to resources - for example, connections to 
> databases, or
> > closing open socket streams, or releasing handles to video memory
> > buffers, that sort of thing.
> >
> > Those sort of things should be pretty rare in Flash... which is 
> why I
> > asked what you're trying to achieve, because in most cases you can
> > find a way around it.
> >
> > If you are dealing with some sort of resource that you want to make
> > sure shuts down properly when no-one is referring to it, one 
> method is
> > to explicitly request/release access to the resource and implement
> > reference counting.
> >
> > For example, here's a singleton resource class:
> >
> > class MyResource
> > {
> >   private static var _refCount:Number=0;
> >   private static var _instance:MyResource;
> >
> >   public function MyResource()
> >   {
> >   }
> >
> >   public static function getResource():MyResource
> >   {
> > if (_refCount==0)
> > {
> >   _instance=new MyResource();
> > }
> > _refCount++;
> > return _instance;
> >   }
> >
> >   public static function freeResource()
> >   {
> > _refCount--;
> > if (refCount==0)
> > {
> >   _instance.doCleanup();
> >   _instance=null;  // You could do delete here if you really 
> wanted> to.
> > }
> >   }
> > }
> >
> > and then access it like so:
> >
> > var res:MyResource=MyResource.getResource();
> >
> > and when you're done
> > MyResource.freeResource();
> >
> > But that's really long-winded, and breaks as soon as someone 
> does this:
> >
> > var res:MyResource=MyResource.getResource();
> > var res2:MyResource=res; // Took a copy
> > MyResource.freeResource();
> >
> > res2.doSomething() // Breaks, because doCleanup() will have been 
> called.>
> > This sort of thing used to crop up quite a lot in C++; which is why
> > smart pointers and the like were invented.
> >
> > I can't think of too many situations 

Re: [Flashcoders] destructors...

2006-05-04 Thread Ian Thomas

Yep - that works perfectly well. But it's always better to avoid
situations like this:

Some of the developers used the same classes and
slightly modified them for their needs.

by assigning different package names to different modules, if you know
they'll all
be running in the same 'container' app. (Apart from shared utility
classes and the like, which you shouldn't be rewriting the behaviour
of every time you alter them...)

Ian

On 5/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

The way I understand it, classes are loaded as global variables.  You
can see them when you test the movie and click Debug-->List Variables.
I was on a project with multiple developers. The Shell loaded many
different swf files. Some of the developers used the same classes and
slightly modified them for their needs. The issue was that the class
paths were identical, but even though they were used in separate swf
files Flash would not replace the first loaded class with the new ones
from the newly loaded swf files and cause the file to "break".  This
only happens if the class path is the same.  Also, after using the app
for a while you can check the "List Variables" again and see that Flash
had amassed every class ever loaded.  I ended up writing a Class
Cleaner class to delete the global class variables and it works.  It
fixed the broken program files.  I don't completely understand the
details of Flash's garbage collection, but this solved my problem.

I based my class after the idea that I found here:

http://www.helpqlodhelp.com/blog/archives/2003_04.html

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] [JOB] Domani Studios seeks flash developers

2006-05-04 Thread Corey Szopinski

We're looking for some talented people to work onsite in Brooklyn on
some exciting up-coming projects. We work with top clients in the
automotive, beer, travel, and luxury industries.


Domani Studios seeks an inspired, motivated, and solid flash developer
to join our team. Responsibilities include creating and implementing
flash experiences guided by a creative and technical lead. You will
create games, animations, banners, sites, videos, and tons of other
interactive components using flash. AS 2.0 and XML knowledge required.

Additionally, each developer will be directly involved in concepting,
evolving, and pitching marketing concepts - both viral and traditional
that help push clients in exciting new directions. We're looking for
freelancers and full-timers with agency experience. While this is
predominantly a developer's position, design knowledge is a huge plus.
Locals only please. No agencies.

If you are looking to work in a growing 20-person shop with little ego
and lots of drive please your resume and a list or URLS (or portfolio
site) clearly explaining your involvement on each project to:
[EMAIL PROTECTED] with FLASH DEVELOPER as the subject. Thanks!
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] XML Parsing

2006-05-04 Thread Jason Lutes
> I'm experiencing some recursion limit problem with a large XML...

How are you currently reading in the XML -- what kind of code structures,
etc?

What specifically is the recursion limit problem you're having? Are you
getting an error message of some kind? Do you think it's a question of the
nesting depth for nodes in your XML document, or could it be the sheer
quantity of nodes causing the problem?

Reason for the questions: I could go into a lengthy explanation about what
I've done in the way of XML parsing, but I think it best to first find out
if my suggestions can actually apply.


-
pixelTwiddler, a.k.a. Jason

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] destructors...

2006-05-04 Thread James Booth
I totally agree.  I had no control over it.  This still helps with the
amassing of the _global's as well, which is something that anyone could run
into.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas
Sent: Thursday, May 04, 2006 10:56 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] destructors...

Yep - that works perfectly well. But it's always better to avoid
situations like this:
> Some of the developers used the same classes and
> slightly modified them for their needs.
by assigning different package names to different modules, if you know
they'll all
be running in the same 'container' app. (Apart from shared utility
classes and the like, which you shouldn't be rewriting the behaviour
of every time you alter them...)

Ian

On 5/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> The way I understand it, classes are loaded as global variables.  You
> can see them when you test the movie and click Debug-->List Variables.
> I was on a project with multiple developers. The Shell loaded many
> different swf files. Some of the developers used the same classes and
> slightly modified them for their needs. The issue was that the class
> paths were identical, but even though they were used in separate swf
> files Flash would not replace the first loaded class with the new ones
> from the newly loaded swf files and cause the file to "break".  This
> only happens if the class path is the same.  Also, after using the app
> for a while you can check the "List Variables" again and see that Flash
> had amassed every class ever loaded.  I ended up writing a Class
> Cleaner class to delete the global class variables and it works.  It
> fixed the broken program files.  I don't completely understand the
> details of Flash's garbage collection, but this solved my problem.
>
> I based my class after the idea that I found here:
>
> http://www.helpqlodhelp.com/blog/archives/2003_04.html
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Help needed for Novice

2006-05-04 Thread Francesco

Hi Loren,

   Jim is right. Remove comment from the stop() command on f5 to have 
your movie paly entirely start.swf before advancing.
The onEnterFrame function in frame 1provides automatic advancing when 
the current "screen" mc is completely played.


As for buttons, 1 of them already work (playme), 1 has a misspelled 
instance name ("exit" for "exitme", correct according to the onRelease 
function) and the last (pauseme) isn't defined in the onRollOver 
position (you might want to swap it with the gel Pause symbol in the 
library)


HTH
Good luck,
francesco


Jim Robson wrote:

Loren,

The stop() command is commented out on frame 5 ("Start"). That would explain
why the movie blows by that frame. If I am reading it correctly, this is
what is happening: When the movie gets to frame 5, it loads start.swf and
keeps playing until it gets to frame 15, where it loads objectives.swf into
the same movie clip ("screen"), thereby replacing start.swf.

By the same token, it looks as though the stop() command on frame 15
("Objectives") will prevent the movie from progressing to the "Introduction"
frame, and therefore the code to load intro.swf is never reached - unless
you have some code inside objectives.swf that instructs the main timeline to
resume playing when objectives.swf is finished, which of course I can't see.

Regarding your play control buttons, they are not addressing the movie clip
that you are trying to control. You are trying to control start.swf,
objectives.swf, and intro.swf. However, your control buttons are all
addressing _root.screen, which is the container into which you load the
others. To fix this, you could assign an instance name for the loaded movie
clips, and use the same name for each clip, and change the code in the
control buttons to address it. For example, if you assigned them all the
instance name "foo" you could change the code in the playme.onRelease
function to _root.screen.foo.play();

HTH

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Loren R.
Elks
Sent: Wednesday, May 03, 2006 3:36 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Help needed for Novice

Hi:
I need to load external swfs into a mc.  They will play in sequence, as soon
as one ends, the next one will start.  When running it blows by the first
external swf (start.swf) and the rest of the external swfs will not continue
to load and play after the objectives.swf.  Could someone take a look at my
code and tell me what I'm doing wrong?

I've created controls that will allow me to play, pause and stop the
external swfs while they're playing (however, these buttons do not seem to
have any effect on the external swf when it is playing).  I think it is a
scope issue, but I am not sure.  


Also, there's a combo box at the bottom, which allows the user to jump to
any external swf (it actually jumps to certain labels on the main timeline)
at any time.  The combo box appears to work OK.

The FLA is located at:  www.digitalhorizonstudios.com/exstream/newplayer.fla


By the way, this presentation is a fullscreen .exe file when in use, not a
swf played in an html file.

Thanks SO MUCH for any help on this one.

Please reply to the list AND email me directly if you have a solution.


Loren Elks
 "The only real mistake is the one from which we learn nothing." - John
Powell
 
___

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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

  

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Export Bitmap Data at runtime

2006-05-04 Thread Rifled Cloaca

Flashcoders,

With Flash 8, is there a way to turn a bitmapped movieclip into a PNG or
compress it somehow to send it back to the server as a bitmap at runtime?  I
imagine you could send it as raw bitmap data, but it would be quite large.

Thanks!
-g
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] XML Parsing

2006-05-04 Thread Mars Spider - Upgrade Multimediale Srl

Jason Lutes wrote:

I'm experiencing some recursion limit problem with a large XML...



How are you currently reading in the XML -- what kind of code structures,
etc?

What specifically is the recursion limit problem you're having? Are you
getting an error message of some kind? Do you think it's a question of the
nesting depth for nodes in your XML document, or could it be the sheer
quantity of nodes causing the problem?

Reason for the questions: I could go into a lengthy explanation about what
I've done in the way of XML parsing, but I think it best to first find out
if my suggestions can actually apply.


-
pixelTwiddler, a.k.a. Jason

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

  

i'm using a recursive function to parse the XML
and i'm getting an error about "256 limit of recursion" parsin a 1600 
nodes XML with some childNodes...

The problem is function recursion for sure...

Splitting XML in two and than 'concat' the resulting parsed Array works 
fine, but that's not the solution...


Mars Spider
http://www.marsspider.net


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Re: Iterate through instance methods

2006-05-04 Thread Keith Salisbury

Hi Tom,

No, not using AS3, just AS2. Its seems its not possible, so i've
tackled the problem from the inside using __resolve instead

thanks for your suggestion



On 5/3/06, Tom Lee <[EMAIL PROTECTED]> wrote:

What kind of object are you trying to introspect? A movieclip?  Which
language are you working with?  In ActionScript 3, for...in will only
enumerate dynamic properties of an object.   You will need to use
describeType for static properties and methods.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith
Salisbury
Sent: Wednesday, May 03, 2006 12:25 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Re: Iterate through instance methods

I'm assuming the reason is due to the method existing further up the
prototype chain, but even so, is there really no way to discover what
(public) methods an instance supports??


On 5/3/06, Keith Salisbury <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How do i iterate through the public methods of an instanceusing a
> "for in" seems to result in nothing
>


--
[EMAIL PROTECTED]
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
[EMAIL PROTECTED]
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Export Bitmap Data at runtime

2006-05-04 Thread Tom Lee
You may want to wait for AS3.  At
www.kaourantin.net/2005/10/png-encoder-in-as3.html, you will find a PNG
encoder that one of the Flash Player programmers wrote.  He's also got a JPG
encoder.  Both are written in AS3, because the performance would be too slow
in AS2.

At www.gskinner.com/blog/archives/2006/03/saving_bitmapda.html, Grant
Skinner has posted his AS2 solution.  To get around the performance issues,
his solution works with small images.

Also take a look at www.quasimondo.com/archives/000572.php.

AS3 has native support for ZLIB compression, which will make these kinds of
tasks easier.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rifled
Cloaca
Sent: Thursday, May 04, 2006 12:04 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Export Bitmap Data at runtime

Flashcoders,

With Flash 8, is there a way to turn a bitmapped movieclip into a PNG or
compress it somehow to send it back to the server as a bitmap at runtime?  I
imagine you could send it as raw bitmap data, but it would be quite large.

Thanks!
-g
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Export Bitmap Data at runtime

2006-05-04 Thread Zeh Fernando

With Flash 8, is there a way to turn a bitmapped movieclip into a PNG or
compress it somehow to send it back to the server as a bitmap at runtime? 
I

imagine you could send it as raw bitmap data, but it would be quite large.


This has been discussed a while ago, but briefly --

Yes, you have to send the raw bitmap data. You could send that uncompressed 
data to a form (too large), RLE compressed (simple and efficient, easy to 
code; depending on how your image is, it wouldn't compress much) or 
LZW-compressed (a bit more complex, you'll need to find some LZW extension 
for actionscript; could be slow; similar to the compression used by png, 
gif, zip, etc). Then some server-side script would get that data and 
properly assemble the image using whichever format and save it.


Best solutions are RLE or LZW although it depends on how complex your image 
will be.


Slightly off-topic, Tinic Uro has published on his blog a technique to 
encode the image data into some LZW data using built-in player 
functionality; then with the addition of some simple headers it is turned 
into a PNG image and sent to the server via file upload. That's for 
AS3/Flash8.5+ though.



- Zeh 


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Q:del.icio.us API

2006-05-04 Thread Mike Chambers

http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html#Code401

http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html#Authorization

Basic Authentication basically just base64 encodes the username / pass 
and passes it to the server in the header.


Sorry I wasnt a little clearer.

Also, I am doing this in AS3, not AS2.

mike chambers

[EMAIL PROTECTED]

Weyert de Boer wrote:

It probably is a dumb question, but what do you exactly mean by 'HTTP
basic
authentication'???  :)


I think he means the simplest form of http authentication, meaning the
credentials are able to give up within the string itself.

For example, http://username:[EMAIL PROTECTED]/some/services/link/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 Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Q:del.icio.us API

2006-05-04 Thread Troy Rollins


On May 4, 2006, at 1:01 PM, Mike Chambers wrote:


Also, I am doing this in AS3, not AS2.


You wouldn't happen to be doing this in AS3 on a Mac, would you  
Mike?  ;-)


(Still waiting for a flex beta for Mac...)
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Solved: XRAY breaks my movie

2006-05-04 Thread ryanm
How do you turn on autoupdate?  I've installed the latest xray connector 
and
standalone, and looked at all the menus in the standalone app, and looked 
at

the parameters on the connector.  I don't see autoupdate anywhere.  If
autoupdate would keep me from having to take screenshots repeatedly, I 
would

really like that.

   I think it's called "Recursive Searchs?" or something like that on the 
Tools menu. If you turn it off, it won't recursively reflect the whole 
application, you have to click on a node for it to update the children.


ryanm 


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Q:del.icio.us API

2006-05-04 Thread Mike Britton

Mike, can it be done with AS2?

Mike Britton



On 5/4/06, Troy Rollins <[EMAIL PROTECTED]> wrote:


On May 4, 2006, at 1:01 PM, Mike Chambers wrote:

> Also, I am doing this in AS3, not AS2.

You wouldn't happen to be doing this in AS3 on a Mac, would you
Mike?  ;-)

(Still waiting for a flex beta for Mac...)
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Mike
--
http://www.mikebritton.com
http://www.mikenkim.com
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] MM / Adobe Central unavailable?

2006-05-04 Thread John Dowdell
The word I have is that there was some temporary downtime on some of the 
downloads yesterday, and that affected offerings should be back online 
now. I got my info through catching people in the hallway, though, and 
hope to see some longer-term guidance on such issues soon.


jd





--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] SWF, IFrame and z-order

2006-05-04 Thread John Dowdell

Éric Thibault wrote:

... the flash inside the iframe is always on top


The answer, as Geoff noted, is WMODE... searching on this term will 
describe how some-but-not-all browsers accept a parameter in the 
OBJECT/EMBED tags to pipe plugin content to the browser's offscreen 
compositing buffer rather than directly to screen, enabling effects such 
as HTML overlays and background-transparent plugins.


(NB: I do not know of any documentation from browser-makers or 
open-source on how well the various browsers implement this... there 
have been problems in some browsers with upside-down printing or other 
oddities when this ability is toggled... testing your work in the range 
of your audience's browsers is definitely recommended when dealing with 
browser-dependent features.)


jd





--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [FlashCoders] Build Flash8 installer

2006-05-04 Thread John Dowdell

Dimitrios Bendilas wrote:

I need to distribute the Player along with an application I have built
and I could use some guidelines/tutorial etc.


As Peter noted, web distribution is single-source only... Players are 
available on the Adobe site, and if you've got web access, that's the 
place to go.


If you're developing for a closed intranet, however, then you can 
register for a free license to distribute this behind those closed walls:

http://www.adobe.com/licensing/distribution/

(Why? Because things that carry the Adobe brand need to actually be the 
Adobe bits, and various strange websites which carry Adobe-branded 
materials may or may not install the actual Adobe bits. That's why 
there's a single point of web distribution, and contracts with known 
redistributors off the web.)


jd





--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Q:del.icio.us API

2006-05-04 Thread Weyert de Boer

> http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html#Code401
>
> http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html#Authorization
>
> Basic Authentication basically just base64 encodes the username / pass
> and passes it to the server in the header.
>
> Sorry I wasnt a little clearer.


Aha, I have to admit I wasn't really you meant what I said. Anyway good
luck with it, we will see it shine at horizon when it's available. :)

Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

http://www.innerfuse.biz/
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] SWF, IFrame and z-order

2006-05-04 Thread Éric Thibault

I am using the wmode and I have no more problems...

The only thing is that the application that I'm working on wrote the url 
of the SWF, jpeg, pdf directly to the source of the iframe! I had to 
patch in with an actual html content, if I'm dealing with a SWF, with 
the wmode added to it!


Thanks.

John Dowdell a écrit :

Éric Thibault wrote:

... the flash inside the iframe is always on top


The answer, as Geoff noted, is WMODE... searching on this term will 
describe how some-but-not-all browsers accept a parameter in the 
OBJECT/EMBED tags to pipe plugin content to the browser's offscreen 
compositing buffer rather than directly to screen, enabling effects 
such as HTML overlays and background-transparent plugins.


(NB: I do not know of any documentation from browser-makers or 
open-source on how well the various browsers implement this... there 
have been problems in some browsers with upside-down printing or other 
oddities when this ability is toggled... testing your work in the 
range of your audience's browsers is definitely recommended when 
dealing with browser-dependent features.)


jd








--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad 

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Moving animation positions

2006-05-04 Thread Mike Boutin
I am trying to move all my animations so that they arecentered in the 
movieclip they were created in (was created off-centered) except I dont 
want to go through every keyframe and adjust the positioning frame by 
frame.  Is there an easier way of doing this?  I am using flash 8 pro... 
Any suggestions would be of great help!


Thanks!!


Boots
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Moving animation positions

2006-05-04 Thread Helen Triolo
Do you mean moving all the content the same over a range of keyframes?  
If so, see 
http://flash-creations.com/notes/actionscript_componentsintro.php#editmultiple 
And you should probably post questions like this at flashnewbie instead 
since they don't have anything to do with coding.  (Flashnewbie should 
actually be called flashusers -- it isn't just for newbies)


Helen

--
http://flash-creations.com
http://i-technica.com



Mike Boutin wrote:

I am trying to move all my animations so that they arecentered in the 
movieclip they were created in (was created off-centered) except I 
dont want to go through every keyframe and adjust the positioning 
frame by frame.  Is there an easier way of doing this?  I am using 
flash 8 pro... Any suggestions would be of great help!


Thanks!!


Boots




___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Unity vs Flashcom for chat and messaging

2006-05-04 Thread bitstreams
Hi
Developing an online chat system and am considering using either flashcom or 
Moock's Unity server.

other than the price, ca anyone tell me what the pro's and cons are for the two 
options?

Thanks in advance
Jim Bachalo

[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

"...all improvisation is life in search of a style."
 - Bruce Mau,'LifeStyle'
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] XML Parsing

2006-05-04 Thread David Rorex

On 5/4/06, Mars Spider - Upgrade Multimediale Srl <
[EMAIL PROTECTED]> wrote:


Jason Lutes wrote:
>> I'm experiencing some recursion limit problem with a large XML...
>>
>
> How are you currently reading in the XML -- what kind of code
structures,
> etc?
>
> What specifically is the recursion limit problem you're having? Are you
> getting an error message of some kind? Do you think it's a question of
the
> nesting depth for nodes in your XML document, or could it be the sheer
> quantity of nodes causing the problem?
>
> Reason for the questions: I could go into a lengthy explanation about
what
> I've done in the way of XML parsing, but I think it best to first find
out
> if my suggestions can actually apply.
>
>
i'm using a recursive function to parse the XML
and i'm getting an error about "256 limit of recursion" parsin a 1600
nodes XML with some childNodes...
The problem is function recursion for sure...

Splitting XML in two and than 'concat' the resulting parsed Array works
fine, but that's not the solution...



Are you saying the xml is 1600 levels deep?? that's a bit odd to me.
Otherwise, it might be your code which is the problem. Try using a for loop
instead of recursion for example.

-David R
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Unity vs Flashcom for chat and messaging

2006-05-04 Thread Troy Rollins


On May 4, 2006, at 4:32 PM, [EMAIL PROTECTED] wrote:

Developing an online chat system and am considering using either  
flashcom or Moock's Unity server.


Look at ElectroServer as well.

Basically, FCS is a huge media server, and quite expensive. For chat  
systems, it is not needed. ElectroServer and Unity are XML socket  
servers, much more appropriate for chat, which is basically just text.


There are also free socket servers out there, but for the most part,  
you get what you pay for.


--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Solved: XRAY breaks my movie

2006-05-04 Thread Chris Allen

John turned recursive searches off by default now on the latest
version of Xray. Seems like nobody liked this feature as it usually
causes this problem in most larger applications. I know he is thinking
about removing it all together in future versions.

Anyway, that's what I know about it. Are you still having the issue
even with recursive searches turned off?

-Chris

On 5/4/06, ryanm <[EMAIL PROTECTED]> wrote:

> How do you turn on autoupdate?  I've installed the latest xray connector
> and
> standalone, and looked at all the menus in the standalone app, and looked
> at
> the parameters on the connector.  I don't see autoupdate anywhere.  If
> autoupdate would keep me from having to take screenshots repeatedly, I
> would
> really like that.
>
I think it's called "Recursive Searchs?" or something like that on the
Tools menu. If you turn it off, it won't recursively reflect the whole
application, you have to click on a node for it to update the children.

ryanm

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Q:RED5 vs Unity vs Flashcom

2006-05-04 Thread bitstreams
Hi
Follow-up to an earlier post. Forgot to mention RED 5.

Other than price, can anyone summarize the pros and cons of the open source 
RED5 , Moock's Unity and the  Flash Media Server for creating an online live 
chat system?

Any feedback appreciated!

Jim Bachalo

[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

"...all improvisation is life in search of a style."
 - Bruce Mau,'LifeStyle'
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] bitmap.draw problem in flash 8

2006-05-04 Thread Alec Matusis
 
I need to do the following:
 
1) load a jpg image into a movie clip A from a remote server (same as the
server where flash the movie resides)
2) create a bitmap 
3) attach this bitmap movie clip B
4) draw the jpg from movie clip A into the bitmap, so that it appears in
movie clip B
 
This works properly in the Flash composer, but stops working as soon as I
put the swf file on the server.
No security violation dialog appears, and it should not, since the image and
the movie are loaded from exactly the same domain. 
 
 
I use this code
 
 
downloadListener.onLoadInit = function(source:MovieClip){
 var bitmap = new flash.display.BitmapData(source._width,
source._height);
 _level0.mcB.attachBitmap(bitmap, _level0.mcB.getNextHighestDepth());
 bitmap.draw(source);
}
 
var imgLoader:MovieClipLoader = new MovieClipLoader();
imgLoader.addListener(downloadListener);
imgLoader.loadClip(image_url,_level0.mcA);
 
 
When I put the swf on the server, all pixels of mcB (the target) have color
value 16777215 , which is clearly an error, since this is 2^24 - 1, maximum
color value.
In the flash composer, the pixels have correct color values.
 
Any idea why this is happening?  

 
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] destructors...

2006-05-04 Thread Bjorn Schultheiss
I have tried various ways of destroying instances.

I once used this type of implementation

// Parent Class
function buildChild() {
var myClass : MyClass = new MyClass();
myClass.addEventListener( "onDestroyChild", this );
}

function onDestroyChild( evt : Object ) {
if ( HashCodeFactory.getKey( evt.target ) == HashCodeFactory.getKey(
myClass ) )
delete myClass
}

// MyClass
function destroy() {
removeAllEventListeners();
dispatchEvent( { type : 'onDestroyChild', target : this } );
}

So basically it doesn't carry a reference to its parent.

But I'm not really using this implementation at the moment.
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] RE: Green Keyline

2006-05-04 Thread Drew Foehn
Thanks very much for your help guys :) I figured it out. 

I skinned some of the Macromedia V2 Components (combobox & button) and
embedded them into a movie as compiled clips. Then that movie is loaded
into another movie (parent). The _lockroot helped the combobox display
but I still got the keyline. The way I fixed it was to embed the
original macromedia combo box and button into the parent movie and
voila, no keyline.

Damn Macromedia Components!


-Original Message-
From: Drew Foehn 
Sent: Monday, 2006 May 01 9:57 AM
To: 'flashcoders@chattyfig.figleaf.com'
Subject: FW: Green Keyline

So no takers on this?

I find it really strange that no one has encountered this problem
before. 

-Original Message-
From: Drew Foehn
Sent: Friday, 2006 April 28 12:09 PM
To: 'flashcoders@chattyfig.figleaf.com'
Subject: Green Keyline

Hello,

I have built an application that uses extended Macromedia components
(buttons), this application is loaded inside of another swf. In order to
make sure that the _root targets are correct for the app I've used
_lockroot (I know, it's a bad idea). The problem I am having is when the
application is loaded into another swf a green key line appears around
buttons when they are clicked. When the swf is loaded by itself the
problem disappears. 

Has anyone else encountered this issue? 

Regards,

Drew Foehn
Actionscript Developer
HotHouse Interactive
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Taking a "screenshot" from a FLVPlayback componentusing AS

2006-05-04 Thread Jason

Any chance we could take a look at what you are doing, Bart???  ;)

Jason

- Original Message - 
From: "Bart Zonneveld" <[EMAIL PROTECTED]>

To: "'Flashcoders mailing list'" 
Sent: Thursday, May 04, 2006 3:16 AM
Subject: RE: [Flashcoders] Taking a "screenshot" from a FLVPlayback 
componentusing AS



Thanks for the pointer. I currently am using ffmpeg a lot (for 
automatically

encoding movies), so I decided to use that to write a screenshot to disk.
I'll clean up my code soon, and send it to the list/whoever is interested.
It's a Flash based uploading/encoding/editing proof of concept for videos,
using ffmpeg and flvtool2. 



___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: Newbie + New subject: Vista

2006-05-04 Thread Audry Taylor

Sorry for my slow reply; I'm running around getting ready for E3.

You guys have given me exactly the information I needed.  I knew I was 
coming to the right place!


I'm only looking to stop casual hackers (normal users) so cheaper solutions 
are probably the best.  I already know myself that anything can be hacked so 
it's just a matter of convincing my bosses that Flash is safe "within 
reason."


So is anyone here worried about what the hyper-secure Windows Vista might do 
to Flash accessibility for the average user, especially since Microsoft 
hates Adobe?


Audry

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] newbie: nested clips and LoadMovie

2006-05-04 Thread August Gresens

Hello

Is it possible to access (duplicate and use) clips nested inside another
clip you've loaded into a movie via LoadMovie (or using the
MovieClipLoader).

For example, if I want to maintain a clip external to my main flash project
that has a bunch of misc graphics - after I've loaded this external clip,
can I duplicate these graphics somehow and attach them to clips in the main
project? The purpose of this would be to load all of these graphics all in
one shot, as opposed to loading them individually.


From playing around with it - it seems as though the loaded clip is treated

as an independent media element, with no access to it's children. Is this
correct?

Thanks,

August
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Conversion to Flash 8 renders MP3 player useless

2006-05-04 Thread Jonathan Berry

Hello all, I posted this a few days ago and just wanted to know if you could
load it, but I found a problem that I do not understand. I just saved this
file, which was previously MX2004, as Flash 8 in the authoring environment.
I have exported for Player 7/AS 2.0, but for some reason it will no longer
play in player 7. Can you see if there is anything in my code that would
cause this? Thanks in advance.

System.security.allowDomain("www.live365.com");
var up:Boolean = false;
var reloadInt:Number;
function createLoaderText(output){
   _root.createEmptyMovieClip("loader_mc",1000);
   loader_mc.createTextField("p_txt",1100,60,6,160,20);
   loader_mc.p_txt.text = output;
   var loadingFmt:TextFormat = new TextFormat();
   loadingFmt.font = "My Font";
   loadingFmt.color = 0xFF9900;
   loadingFmt.bold = true;
   loader_mc.p_txt.embedFonts = true;
   loader_mc.p_txt.setTextFormat(loadingFmt);
   loader_mc.onEnterFrame = function(){
   if(up == false){
   this.p_txt._alpha -= 5;
   if(this.p_txt._alpha <= 0){
   up = true;
   }
   }else{
   this.p_txt._alpha += 5;
   if(this.p_txt._alpha >= 100){
   up = false;
   }
   }
   }
}
var radio:Sound = new Sound();
var volume:Number = 50;
var marker:MovieClip = volume_mc.slider_mc;
var volTrackFactor = volume_mc.track_mc._width/100;
var stopped:Boolean = false;
var trackLoaded:Boolean;
var stopped:Boolean = false;
vumeter_mc.stop();
function playRadio(){
   if(!loader_mc){
   createLoaderText("loading");
   }
   mute_mc.gotoAndStop(1);
   volume_mc.slider_mc._x = volume_mc.track_mc._x +
volume_mc.track_mc._width/2 - 10;
   if (typeof radio == "object") {
   radio.stop();
   delete radio;
   }
   stopped = false;
   radio = new Sound(this);
   radio.setVolume(volume);
   radio.loadSound("http://www.live365.com/play/signonsandiego/pro ",true);
   stop1_btn.enabled = true;
   stop1_btn._alpha = 100;
   play1_btn.enabled = false;
   play1_btn._alpha = 30;
   var lastPosition = 0;
   vumeter_mc.onEnterFrame = function(){
   if(radio.position > 1 && stopped==false && radio.position >
lastPosition){
   lastPosition = radio.position;
   clearInterval(reloadInt);
   loader_mc.removeMovieClip();
   vumeter_mc.play();
   //delete this.onEnterFrame;
   }else{
   if(!loader_mc){
   createLoaderText("buffering");
   }
   vumeter_mc.gotoAndStop(1);
   }
   }
   reload();
}
play1_btn.onRelease = playRadio;
stop1_btn.onRelease = stopPlay;
function stopPlay(){
   delete vumeter_mc.onEnterFrame;
   clearInterval(reloadInt);
   loader_mc.removeMovieClip();
   mute_mc.gotoAndStop(1);
   vumeter_mc.gotoAndStop(1);
   stopped = true;
   radio.stop();
   play1_btn.enabled = true;
   play1_btn._alpha = 100;
   stop1_btn.enabled = false;
   stop1_btn._alpha = 30;
}
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Unity vs Flashcom for chat and messaging

2006-05-04 Thread Scott Hyndman
Hey Jim,

Unity, and similar socket servers (WebORB's messaging framework, ElectroServer, 
etc) all use XMLSocket to perform communication AFAIK. This can pose problems 
with firewalls between the client box and the server unless communication 
occurs on open ports. Also, communication is limited to text. Serialization of 
objects into text is quite possible, but you won't be able to transmit 
media-related data such as images (unless encoded), video or audio.

FMS not only allows the ability to broadcast text to other users and the 
server, but also supports video (incl. webcams) and audio (incl. microphones). 
Many of the native ActionScript objects have special features that work with 
FMS, and are documented quite well. The server supports storing objects, media 
and session data in files so they can persist between sessions. FMS is limited 
insofar as serverside scripts must be written in a dialect of ActionScript that 
resembles AS1. You might not even consider that a limitation, as it is quite 
functional and scripts don't have to be too big most of the time, just don't 
expect a rich OOP language to work with. 

FMS has a free version (up to 10 users) and other pricing plans exist to scale 
with any project you may have planned. Some see the prices as too expensive, 
but for any serious project they're really quite reasonable.

Hope that helps,
Scott

-Original Message-
From:   [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent:   Thu 5/4/2006 4:32 PM
To: flashcoders@chattyfig.figleaf.com
Cc: 
Subject:[Flashcoders] Unity vs Flashcom for chat and messaging

Hi
Developing an online chat system and am considering using either flashcom or 
Moock's Unity server.

other than the price, ca anyone tell me what the pro's and cons are for the two 
options?

Thanks in advance
Jim Bachalo

[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

"...all improvisation is life in search of a style."
 - Bruce Mau,'LifeStyle'
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] FMS Service STOPS??

2006-05-04 Thread Asai
Yeah, totally.  At one point I accidentally switched the date on my 
computer one month in advance.  When I realized my mistake, I 
switched it back.  But after that point, FMS quit working, with the 
very same Log report.  Its a real headache because I can't run FMS on 
my local development machine without changing the date back ahead one month.


At 12:25 AM 5/4/2006, you wrote:

Hi all.
I am recently experiencing a strange behavior on our Breeze 
installation with the FMS service stopping (the only one out of 4).
I visited FMS support forum on MM's just to find out that others are 
dealing with this but still we haven't worked this out.


http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=578&threadid=1148846&enterthread=y

my Master log reports:
FMS has detected system time is going backwards; shutting down server.

Has anyone ever heard it before?
thanks
francesco
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


---asai 


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] bitmap.draw problem in flash 8

2006-05-04 Thread Alec Matusis
Actually I solved this problem myself.

Bitmap.draw(source) has an (undocumented) security restriction:  source
movieclip has to be loaded from exactly the same domain as the hosted movie
(including the subdomain).

Otherwise draw() just silently fails, WITHOUT producing a security warning.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alec Matusis
Sent: Thursday, May 04, 2006 4:29 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] bitmap.draw problem in flash 8 

 
I need to do the following:
 
1) load a jpg image into a movie clip A from a remote server (same as the
server where flash the movie resides)
2) create a bitmap 
3) attach this bitmap movie clip B
4) draw the jpg from movie clip A into the bitmap, so that it appears in
movie clip B
 
This works properly in the Flash composer, but stops working as soon as I
put the swf file on the server.
No security violation dialog appears, and it should not, since the image and
the movie are loaded from exactly the same domain. 
 
 
I use this code
 
 
downloadListener.onLoadInit = function(source:MovieClip){
 var bitmap = new flash.display.BitmapData(source._width,
source._height);
 _level0.mcB.attachBitmap(bitmap, _level0.mcB.getNextHighestDepth());
 bitmap.draw(source);
}
 
var imgLoader:MovieClipLoader = new MovieClipLoader();
imgLoader.addListener(downloadListener);
imgLoader.loadClip(image_url,_level0.mcA);
 
 
When I put the swf on the server, all pixels of mcB (the target) have color
value 16777215 , which is clearly an error, since this is 2^24 - 1, maximum
color value.
In the flash composer, the pixels have correct color values.
 
Any idea why this is happening?  

 
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] XML Parsing

2006-05-04 Thread GregoryN
Mars,
The only (well) known solution is about editing SWF bytecode to change
"256 limit of recursion". Broadly used, btw.

David,
I think he means not "xml is 1600 levels deep", but rather "XML has
1600 nodes and some of them have childNodes"  :-)

  

-- 
Best regards,
 GregoryN

http://GOusable.com
Flash components development.
Usability services.



>> -- Mars Spider wrote:
> i'm using a recursive function to parse the XML
> and i'm getting an error about "256 limit of recursion" parsin a 1600 
> nodes XML with some childNodes...
> The problem is function recursion for sure...
> 
> Splitting XML in two and than 'concat' the resulting parsed Array works 
> fine, but that's not the solution...
> 
> 
>> -- David Rorex wrote:
> Are you saying the xml is 1600 levels deep?? that's a bit odd to me.
> Otherwise, it might be your code which is the problem. Try using a for loop
> instead of recursion for example.


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Unity vs Flashcom for chat and messaging

2006-05-04 Thread ryanm

FMS is limited insofar as serverside scripts must be written in
a dialect of ActionScript that resembles AS1. You might not
even consider that a limitation, as it is quite functional and
scripts don't have to be too big most of the time, just don't
expect a rich OOP language to work with.

   The other thing that should be mentioned here is that FCS didn't play 
well with other servers (may have changed in FMS, I haven't upgraded yet). 
There are ways to interact with other servers, like databases and web 
servers, but none of them are easy or convenient. So the chat server is 
effectively in a sandbox, which may or may not matter at all for your 
purpose.


ryanm 


___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Has an SWF file any influence over the file system??????

2006-05-04 Thread Jorge Antonio Diaz Gutierrez
Hi comunity, i'm looking for an answer. Is there any way to acces to my
file system from "Flash" (an SWF) 

Thanks anyway.

Jorge

___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] XML Parsing

2006-05-04 Thread Mars Spider - Upgrade Multimediale Srl

David Rorex wrote:

On 5/4/06, Mars Spider - Upgrade Multimediale Srl <
[EMAIL PROTECTED]> wrote:


Jason Lutes wrote:
>> I'm experiencing some recursion limit problem with a large XML...
>>
>
> How are you currently reading in the XML -- what kind of code
structures,
> etc?
>
> What specifically is the recursion limit problem you're having? Are 
you

> getting an error message of some kind? Do you think it's a question of
the
> nesting depth for nodes in your XML document, or could it be the sheer
> quantity of nodes causing the problem?
>
> Reason for the questions: I could go into a lengthy explanation about
what
> I've done in the way of XML parsing, but I think it best to first find
out
> if my suggestions can actually apply.
>
>
i'm using a recursive function to parse the XML
and i'm getting an error about "256 limit of recursion" parsin a 1600
nodes XML with some childNodes...
The problem is function recursion for sure...

Splitting XML in two and than 'concat' the resulting parsed Array works
fine, but that's not the solution...



Are you saying the xml is 1600 levels deep?? that's a bit odd to me.
Otherwise, it might be your code which is the problem. Try using a for 
loop

instead of recursion for example.

-David R
___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Maybe i write wrong...
i'm not working with a 1600 depth XML
is a 1600 'item' XML with an average depth of 5/6... not costant...

Mars Spider 
www.marsspider.net



___
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com