RE: [Flashcoders] load many XML files problem

2008-08-24 Thread Cor
Can you trace if you getting a server timeout or are you able to adjust this
timeout setting?

HTH

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pavel Krušek
Sent: zaterdag 23 augustus 2008 23:53
To: Flash Coders List
Subject: [Flashcoders] load many XML files problem

Hi List,

i am trying to load many XML files, all at once (altogether 90 files).
Class PreloadXML works fine, because only cca 40 files are loaded.
I don't understand it No error message, loading simply ends...

thanks,

Pavel



package app.site
{
import flash.display.Sprite;
import flash.events.*;
import flash.net.*;

public class PreloadXML extends Sprite
{
private var _siteXML:XMLList;
private var _xmlLoader:URLLoader;
private var _loadCounter:Number;
private var _totalCounter:Number;

public function PreloadXML( data:XMLList )
{
_siteXML = data;
_loadCounter = 0;
_totalCounter = data.length();

_xmlLoader = new URLLoader();
_xmlLoader.addEventListener( Event.COMPLETE,
onLoadFile, false, 0,  
true );
_xmlLoader.addEventListener( IOErrorEvent.IO_ERROR,
onIOError,  
false, 0, true );

loadXML();
}

private function loadXML() : void
{   
_xmlLoader.load( new URLRequest( data/pages/+  
_siteXML[_loadCounter] +.xml ) );
trace(data/pages/+ _siteXML[_loadCounter]
+.xml);
}


private function onLoadFile(e:Event) : void
{

try {
if( _loadCounter   _totalCounter - 1)
{   
_loadCounter += 1;
loadXML();
}else{

_xmlLoader.removeEventListener(Event.COMPLETE, onLoadFile);
 
_xmlLoader.removeEventListener(IOErrorEvent.IO_ERROR,  
onIOError);
trace(done);
}

} catch ( err:Error ) {
 trace( Could not parse loaded content as XML:\n +

err.message );
}
}


private function onIOError( evt:IOErrorEvent ) : void
{
trace( An error occurred when attempting to load
the XML.\n +  
evt.text );
}

}
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] how many coders here actually have a degree related to computer science?

2008-08-24 Thread Jason Van Cleave
A huge portion of getting a decent job or freelance work is getting your
name out there and building experience by finishing projects.

College was a great place for me to meet people with connections in the
field. I dropped out when one of the adjunct professors hired me, that lead
to a job at an agency, more freelance work, relevant experience, etc. I
eventually finished the degree years later (mostly just to do it).

So yeah, send out the portfolios and see what happens. People should let you
know what they are looking for. Often it takes time so I wouldn't drop out
without having something concrete to go on.

On Tue, Aug 19, 2008 at 5:25 PM, Anthony Pace [EMAIL PROTECTED]wrote:

 Do you have a degree related to computer science? if not, how difficult is
 it getting jobs programming AS3 without one?

 I need a a stable job ASAP; yet, I have two more years to go before I
 complete my degree in computer science; thus, I am wondering how difficult
 it would be to find a programming related job without a degree?  Do all I
 need is a portfolio, or does the piece of paper really make the difference
 at an entry level?

 I also have a background in fine art if that helps.

 Thanks,
 Anthony Pace
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] load many XML files problem

2008-08-24 Thread Pavel Krůšek
I am tracing this issue in flash authoring software, here is trace  
result (last file is 9.xml, cca 30 files mising):


TOTAL 90
=


data/pages/2.1.xml
data/pages/2.2.xml
data/pages/2.3.xml
data/pages/2.4.xml
data/pages/3.1.1.xml
data/pages/3.1.2.xml
data/pages/3.1.3.xml
data/pages/3.1.4.xml
data/pages/3.1.5.xml
data/pages/3.3.1.xml
data/pages/3.3.2.xml
data/pages/3.3.3.xml
data/pages/3.3.4.xml
data/pages/3.4.1.xml
data/pages/3.4.2.xml
data/pages/4.1.xml
data/pages/4.2.xml
data/pages/4.2.1.1.xml
data/pages/4.2.1.2.xml
data/pages/4.2.1.3.xml
data/pages/4.2.1.4.xml
data/pages/4.2.1.5.xml
data/pages/4.2.2.1.xml
data/pages/4.2.2.2.xml
data/pages/4.2.2.3.xml
data/pages/4.2.2.4.xml
data/pages/4.2.2.5.xml
data/pages/4.2.3.1.xml
data/pages/4.2.3.2.xml
data/pages/4.2.3.3.xml
data/pages/4.2.3.4.xml
data/pages/4.2.3.5.xml
data/pages/4.2.4.1.xml
data/pages/4.2.4.2.xml
data/pages/4.2.4.3.xml
data/pages/4.2.4.4.xml
data/pages/4.2.4.5.xml
data/pages/4.2.5.1.xml
data/pages/4.2.5.2.xml
data/pages/4.2.5.3.xml
data/pages/4.2.5.4.xml
data/pages/4.2.5.5.xml
data/pages/4.2.6.1.xml
data/pages/4.2.6.2.xml
data/pages/4.2.6.3.xml
data/pages/4.2.6.4.xml
data/pages/4.2.6.5.xml
data/pages/4.2.7.1.xml
data/pages/4.2.7.2.xml
data/pages/4.2.7.3.xml
data/pages/4.2.7.4.xml
data/pages/4.2.7.5.xml


On Aug 24, 2008, at 9:43 AM, Cor wrote:

Can you trace if you getting a server timeout or are you able to  
adjust this

timeout setting?

HTH

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of  
Pavel Krušek

Sent: zaterdag 23 augustus 2008 23:53
To: Flash Coders List
Subject: [Flashcoders] load many XML files problem

Hi List,

i am trying to load many XML files, all at once (altogether 90 files).
Class PreloadXML works fine, because only cca 40 files are loaded.
I don't understand it No error message, loading simply ends...

thanks,

Pavel



package app.site
{
import flash.display.Sprite;
import flash.events.*;
import flash.net.*;

public class PreloadXML extends Sprite
{
private var _siteXML:XMLList;
private var _xmlLoader:URLLoader;
private var _loadCounter:Number;
private var _totalCounter:Number;

public function PreloadXML( data:XMLList )
{
_siteXML = data;
_loadCounter = 0;
_totalCounter = data.length();

_xmlLoader = new URLLoader();
_xmlLoader.addEventListener( Event.COMPLETE,
onLoadFile, false, 0,
true );
_xmlLoader.addEventListener( IOErrorEvent.IO_ERROR,
onIOError,
false, 0, true );

loadXML();
}

private function loadXML() : void
{   
_xmlLoader.load( new URLRequest( data/pages/+
_siteXML[_loadCounter] +.xml ) );
trace(data/pages/+ _siteXML[_loadCounter]
+.xml);
}


private function onLoadFile(e:Event) : void
{

try {
if( _loadCounter   _totalCounter - 1)
{   
_loadCounter += 1;
loadXML();
}else{

_xmlLoader.removeEventListener(Event.COMPLETE, onLoadFile);

_xmlLoader.removeEventListener(IOErrorEvent.IO_ERROR,
onIOError);
trace(done);
}

} catch ( err:Error ) {
 trace( Could not parse loaded content as XML:\n +

err.message );
}
}


private function onIOError( evt:IOErrorEvent ) : void
{
trace( An error occurred when attempting to load
the XML.\n +
evt.text );
}

}
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Sound/Music

2008-08-24 Thread Patrick J. Jankun

Hello Everyone,

I was wondering if anyone can pinpoint me to some quality stock sounds  
i can pickup for my work.
I was googling around, and found a few links, but most of them are,  
hmm.. quite lousy and not
that interesting that i would like to spend my money. Im looking for a  
site with all the FX, but with some

ambient loops/music to pickup as well.

I would be glad if you people share where you get your nice sounds from!

Thanks in advance,
Patrick
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Sound/Music

2008-08-24 Thread Kevin Bowers
Oh, form the Subject I was expecting this to be something to do with Julie
Andrews and a bunch of kids singing and dancing in Salzburg.

Have you tried www.flashkit.com , lots of sounds on there, some of it might
be ok.

Kev


 
Kevin Bowers
[EMAIL PROTECTED] 
Mobile: +44 (0)7899 081409
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Patrick J.
Jankun
Sent: 24 August 2008 11:04
To: Flashcoder Mailinglist
Subject: [Flashcoders] Sound/Music

Hello Everyone,

I was wondering if anyone can pinpoint me to some quality stock sounds  
i can pickup for my work.
I was googling around, and found a few links, but most of them are,  
hmm.. quite lousy and not
that interesting that i would like to spend my money. Im looking for a  
site with all the FX, but with some
ambient loops/music to pickup as well.

I would be glad if you people share where you get your nice sounds from!

Thanks in advance,
Patrick
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] load many XML files problem

2008-08-24 Thread Eduardo Omine
Who's calling PreloadXML and how (show some code)?

I don't know why you need to load 90 files, but it sure sounds like a
better way could be worked out.
You could concatenate all files with a server-side script and load a
single XML file, for example.

-- 
Eduardo Omine
http://blog.omine.net/
http://www.omine.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] load many XML files problem

2008-08-24 Thread Cor

The problem is solved by setting the useCapture to true.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eduardo
Omine
Sent: zondag 24 augustus 2008 15:52
To: Flash Coders List
Subject: Re: [Flashcoders] load many XML files problem

Who's calling PreloadXML and how (show some code)?

I don't know why you need to load 90 files, but it sure sounds like a
better way could be worked out.
You could concatenate all files with a server-side script and load a
single XML file, for example.

-- 
Eduardo Omine
http://blog.omine.net/
http://www.omine.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] TweenMax help needed

2008-08-24 Thread Jack Doyle
Sure, you can use delay and delayIncrement together in a TweenMax.allTo()
call. They work great together.

Also, I should mention that I'm releasing a pretty significant upgrade to
the TweenLite/TweenFilterLite/TweenMax family soon. Probably the biggest
enhancement has to do with a new OverwriteManager class that gives you lots
of control of how (and if) tweens handle overlaps/conflicts, including an
AUTO mode that only overwrites individual overlapping properties instead
of the entire tweens. There are actually 4 modes from which to choose (NONE,
ALL, AUTO, and CONCURRENT). This means you'll probably never have to type
overwrite:false again. Keep an eye on http://blog.greensock.com for the
announcement.

If anyone would like me to e-mail them when the update is ready, just let me
know by sending me an e-mail with TweenMax update in the subject. 

Jack


-Original Message-
From: allandt bik-elliott (thefieldcomic.com) [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 22, 2008 10:27 AM
To: Flash Coders List
Subject: [Flashcoders] TweenMax help needed

hi folks - i have a quick question

can anyone tell me if i use delay and delayIncrement in the same TweenMax
call, will they clash?

so

will delayIncrement:0.05 and delay:_delay overwrite each other?
TweenMax.allTo(aTilesToMove, .2, {_y:nMoveAmount, ease:Quad.easeIn,
delayIncrement:0.05, overwrite:false, , onStart:nextAnimationFrame,
onStartParams:[_oAnimationObject]});

thanks
a



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders