Re: [Flashcoders] Flash CS3 an Mac - compiler errors with SVN-folders

2007-08-30 Thread Nick Johnston
You can filter out the .svn files using gProject 
(http://gskinner.com/products/gProject/). In the settings you can filter 
out single character strings (such as the . in .svn)


I hope this helps, as it has helped me in development.

Cheers,
Nick

mathis wrote:

Hi there,

anybody found a workaround for the following scenario? When checking out larger 
svn-projects, Flash CS3 on Mac OSX seems to get confused by the .svn-folders. 
E.g. it doesn't find classes. When removing those .svn-folders, everything 
works fine - but this isn't an option for working professionally... :)

Any help would be greatly appreciated.
Thanks,
Mathis

Btw. - is there a bugzilla for the Adobe Suite?

___
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] Q: runtime error:TypeError: Cannot access a property or method of a null object reference.

2007-08-22 Thread Nick Johnston

Hi,

Turn on debugging. You should get a stackTrace with line numbers as to 
where the error originates from.


Nick

[EMAIL PROTECTED] wrote:

Hi
Trying to simply get a PV3D AS3 demo running. No compile time errors, but when 
launching the swf get:

TypeError: Error #1009: Cannot access a property or method of a null object 
reference.


Can anyone help?
thanks


[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] Desktop app that uploads files to server usingbinarydata

2007-07-05 Thread Nick Johnston

Paul,

In order to send the files to the server you must use a POST HTTP 
request. Therefore the bitmap data has to be encoded in Base 64. Muzak 
posted a link to upload images to the server below. :)


- Nick

Paul Steven wrote:

Do I need to convert the data to Base64? I am curious as to why I cannot
just send the binary data as it is?

Thanks

Paul


Subject: Re: [Flashcoders] Desktop app that uploads files to server
usingbinarydata

The reason why're you're not finding much info is probably because you more
or less have to know what to look for ;-)

Try looking for Base64Encoder
http://tools.assembla.com/flexsdk/browser/mx/utils/Base64Encoder.as

mx.utils.Base64Encoder class is an undocumented Flex 2 AS3 class, which will
be documented in Flex 3.

an example sending an image to server:
http://djangonflex.wordpress.com/2007/06/30/sending-images-from-flex-to-a-se
rver/

These might come in handy as well:
- JPEGEncoder
- PNGEncoder
They're available in the as3corelib:
http://code.google.com/p/as3corelib/
http://as3corelib.googlecode.com/svn/trunk/src/com/adobe/images/

So basically what you'll need to do when a file is dropped on your app is
load that file as raw Binary data

fileLoader = new URLLoader();
fileLoader.dataFormat = URLLoaderDataFormat.BINARY;

Once the file is loaded, convert it to a binary string (using Base64Encoder)
and then send it to your server script using 
HTTPService (not sure what the Flash CS3 equivalent is).


By the way, you can use Flex with Zinc.

regards,
Muzak

- Original Message - 
From: Paul Steven [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, July 03, 2007 3:24 PM
Subject: [Flashcoders] Desktop app that uploads files to server using
binarydata


  

I am building a desktop app (mac and pc) and it has to upload a bunch of
files - pdf's, word docs and images - to a server side script. This has to
be done via HTTP and cannot be FTP.

The problem arises because I do not want the user to have to select the
file/s before uploading so I cannot use the flash 8 FileReference class.

The user should be able to drag the required files onto the application.

I believe it is possible to upload binary data using AS3 but I cannot find
any examples of this and as I have not as yet looked at AS3, some examples
or advice on where to start would be much appreciated.

As far as I am aware I will need to use Zinc to package the application as
this will provide additional functionality such as the ability to drag and
drop files onto the application.

Apollo / Air is out of the question as it is only in beta stage and also
this application needs to be run from a flash drive without any preinstall
on the users hard drive.

Thanks in advance

Paul






___
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] FileReference

2007-06-21 Thread Nick Johnston

Paul,

FileReference allows for the upload and download of files. You first 
have to upload the file (with use of a backend script (PHP or whatever). 
Once the file is uploaded you can use the FileReference's download() 
method to download the file. You should then be able to open the file 
and display it's contents in the TextInput.


You are not able to get the fully qualified file path on the person's 
local machine.


Cheers,
Nick

Paul Chang wrote:
I was happy to see a FileReference Class finally in Flash so that the 
upload of basic files could be accomplished without the use of backend 
scripts.


However, I want to use FileReference in a slightly different way and I 
feel like it should be possible but can't quite get there.


Here's the goal:

Allow the user to select a text file from their local file system to 
populate a text field on the stage.


Solution?:

I used FileReference.browse() to allow the user to find the file of 
interest, once selected, I have access to the FileReference properties 
including file name. If I had the path to the file in addition to 
name, I could use URLLoader to pull in the text file, but I only have 
name.


Questions:

Is there a way to get at the full qualified path for the file? Or 
better, since I have the FileReference object, is there a way to 
access its contents?


Thanks in advance,
Paul


___
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] AS2.0 Class Question

2007-06-19 Thread Nick Johnston
Try importing Class B into Class A. If you have already done so, check 
the package name of ClassB.


- Nick

[EMAIL PROTECTED] wrote:

Hello All ---



I have what is probably a simple question, but possibly difficult to spell out in email. 




I have a SFW(A) which is loading Class A I have another SWF(B) which is
loading Class B. Both FLAs exist in seperate directories and utilize
their own classes. At some point SWF(A) gets loaded into SWF(B) and
Class A makes a call to Class B. Everything runs according to plan. 




However the problem I run into is that when I publish SWF(A) with Class
A attempting to call Class B, I get an error in the output panel that
states more or less that Class B doesn't exist. Again, if I just ignore
the error, everything runs fine. I don't really want to drop Class A
into the folder where Class B is as there are about 15 other class
files and SWF(A)/Class A doesn't really need them to run. Is there a
way to avoid this issue?



Hope that somewhat makes sense. Thanks for any and all replies.
___
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] little hep with my very first AS project in flex2

2007-06-19 Thread Nick Johnston

Hey Gustavo,

It looks like your class name is Button. Your constructor is called 
button. Rule of thumb when dealing with classes: all classes are to be 
capitalized. Try fixing that and it should work fine :)


Cheers,
- Nick

Gustavo Duenas wrote:




Ok, coder I'm trying to set up a menu using  an array as I used to in 
flash 8, but this is as3, and I didn't figured out how hard this would 
be  this is the class for the buttons.as:


I'm trying to wrapped a textfield in order to write in the loop the 
strings on the array(I'm quite a newbie...Am I?).



code for the button AS:

package classes.objects
{
import flash.display.SimpleButton;
import flash.text.TextField;


public class Button extends SimpleButton
{
private var _label:TextField = new TextField();
public function button(){
this._label;
}
   
}

}

but it seems an error in the code like like I have no return value for 
the function button (I'm clueless)


and this is the loop in my main as application.

public function buttons():void{
for (var i:uint=0; imyArray.length; i++){
var myButtons:Button = new Button();
addChild(myButtons[i]);
myButtons.x=100+i;
myButtons.y=0;
   
   
}
   
if one of you could help me out I'd apreciate I have to run faster to 
the nearest library and bought a book about flex,

This is my very first AS3 project in flex.


Regards





Gustavo Duenas

___
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] books for as3 projects under flex

2007-06-19 Thread Nick Johnston

Hey Gustavo,

/Programming Flex 2 /by O'Reilly is a good read.

http://www.amazon.com/Programming-Flex-comprehensive-creating-applications/dp/059652689X

Cheers,
Nick

Gustavo Duenas wrote:
Hi coders, would anyone recommend me a good book or books to resolve 
all my questions about customizing components in AS3 using flex and 
doing AS3 projects in flex...
Because it seems a very dumb questions the ones I did, but the true, 
I'm clueless.


Regards


Gustavo Duenas

___
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] Transform Gradient tool in Flash 9 ...

2007-05-17 Thread Nick Johnston

Stephen Ford wrote:

Is it me or doesn't the transform gradient tool in Flash 9 not work 
???___
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

  

Stephen,

What version of Flash are you using? In the new CS3, you have to select 
the Gradient Transform Tool (hold down on the Free Transform Tool in the 
Tools panel, or just press f)

Don't forget to select the gradient (break apart first)

I haven't ran into any issues with the Gradient Transform Tool in Flash 
9. If that doesn't help could you please be more specific as to your 
problem?


Cheers,
Nick
___
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: AW: [Flashcoders] - Array memory performance

2007-05-17 Thread Nick Johnston

Jeremy Sachs wrote:

Hmm... what do you mean here by configurator, Cryzto?

Well my plan was to fill up the array with object's-name that are 
visible in

the configurator (active ones)...


Remember that some objects have name as a property- it's a String. If 
by name you mean the name of the reference you're using when 
you're referring to an object, then you mean the definition.


See, every data type in Flash is an object, and the variables you're 
creating are all just references to the objects. By assigning a new 
Array object to my_array, you're automatically deleting the reference 
to the old Array (so the line where you delete my_array isn't actually 
necessary). If that was the only reference to it, it'll be cleaned up 
by the GC.


I believe that Arrays and other simple data types are deallocated 
almost immediately. More complicated objects tend to take a little 
longer. There's a lot of info out there regarding the GC, but what it 
comes down to is, you never know exactly when the GC will run, or 
whether it'll remove all your garbage. It's a leap of faith. But you 
can help the GC operate faster by removing all the references to the 
objects you want to delete. For instance, if you write:


var a:Array = new Array();
var b:Array = a, c:Array = b, d:Array = c;

...then you've got four references to the same Array object. That 
Array won't be deallocated until each reference is deleted or set to 
equal null.



Sorry, but I don't know which assignement you exactly refer to, do 
you mean

 my_array.push(z)=z; ?


Yes, push() is a method of Array objects that takes a value passed to 
it and adds an element with that value to the very end of the array. 
You don't need the =z, which, well, doesn't make much sense in the 
first place. :D


I hope that helps. Regards,

Rezmason
___
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

To Rezmason: The simple data types are called primitives. These include 
Numbers, ints, uints, Strings. Complex data types include everything 
else (Objects, Arrays etc.)

Primitives are cleaned up immediately (using the delete keyword or null)

For more information you can find a great article on Garbage Collection 
(GC) and Resource Management here:

http://www.gskinner.com/talks/resource-management/

Cheers,
Nick
___
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] Dynamic E4X

2007-05-16 Thread Nick Johnston

Chris Hill wrote:

The as3 examples for XML show the following:
var node:String = zip;
trace(employees.employee[0].address[node]); // 98765

What I'd like to do is something like this:
var node:String = zip;
trace(employees..[node]); // 98765

ie: Find all nodes that are called 'zip' in the document, but do it 
dynamically.


any ideas?
C
___
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


Hey Chris,

You could do something like this:

for each(var n:String in employees..zip) {
   trace(n);
}

That will loop through your XML and find all nodes with the name zip.

For more information go 
here:http://livedocs.adobe.com/cfusion/search/index.cfm?loc=en_UStermPrefix=site%3Alivedocs.adobe.com%2Fflash%2F9.0++term=site%3Alivedocs.adobe.com%2Fflash%2F9.0++%22E4X%22area=search_text=E4Xaction=Search


Cheers,
Nick
___
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] border styles for TextArea component

2007-05-02 Thread Nick Johnston

Leandro Amano wrote:

Hello,
Change border width I don't know

but try this:

myTextArea.label.border = true;
myTextArea.label.borderColor = 0x99;

However label (textField object) is a private member of the TextArea
Component

regards.
--
Leandro Amano
Digital Bug
Chief Creative Officer
Adobe Certified Expert
Adobe Certified Instructor
Adobe User Group Leader

On 5/2/07, john robinson [EMAIL PROTECTED] wrote:


Hello all -

I'm using the TextArea component in Flash 8. I need to give the
component a border that is 1 pixel wide. I've found that using
setStyle(borderStyle, solid) gives me a solid border but it is
wider than I need. Can anyone give me a hint as to how to change the
width of the border?

Thanks!
John

___
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



To change the thickness of a border set these properties:

setStyle('borderStyle', 'solid');
setStyle('borderThickness', 1);
setStyle('borderColor', 0x99);

Cheers,
Nick J


___
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] MouseEvent.MOUSE_WHEEL event not working for me.

2007-04-25 Thread Nick Johnston

Daniel Freeman wrote:

I can't get mouse wheel events to work.

stage.addEventListener(MouseEvent.MOUSE_WHEEL,mousewheel);
trace('mousewheel event set');

function mousewheel(ev:MouseEvent):void {
trace('localX='+ev.localX+' localY='+ev.localY');
trace('stageX='+ev.stageX+'
stageY='+ev.stageY);
}

When I run this simple test, and move two fingers over
my trackpad (Apple mousewheel) - nothing happens. 
Why?



Send instant messages to your online friends http://au.messenger.yahoo.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

  

Hey Daniel,

The Flash Player on a Mac does not detect mouse wheel events. Should 
work on a PC fine.


I did manage to find a solution though: 
http://blog.pixelbreaker.com/2006/11/08/flash/swfmacmousewheel/




Cheers,
Nick Johnston
___
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] mc alpha not effecting static text

2007-04-24 Thread Nick Johnston

Andrew Sinning wrote:

Figured it out:  I don't have the font's installed on this machine.  duh.

Andrew Sinning wrote:

When I change the alpha of a movie clip, the alpha of static text 
inside the clip remains at 100%.  It looks just fine within Flash, 
but in the Player it stays at 100%.


I'm using MX04.

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



___
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


Hey Andrew,

Embed the fonts. That will work.

Cheers, Nick
___
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] Constructors in AS2 SWFs not being called when loaded by AS3

2007-04-07 Thread Nick Johnston

Is there any reason why you aren't porting over the Thingy class from AS2 to
AS3? It might be easier to rewrite the class using AS3.

Nick

On 4/6/07, Michael Mudge [EMAIL PROTECTED] wrote:


I've got an AS 2.0 (Flash 8) SWF that creates a class, and traces a
property on that class... Something like this:

foo = new Thingy();
trace(foo.test);

All the class does is initialize that property; something like this:
class Thingy {
  public var test:String;
  public function Thingy() {
test = hello;
  }
}

This is pretty basic stuff -- and it works as expected.  When run, it
simply traces hello.  I then create an AS3 / Flash 9 app that loads
the aforementioned SWF... Something like this:

As2thing = new Loader();
addChild(As2thing);
As2thing.load(new URLRequest(as2thing.swf));

Then suddenly, as2thing.swf doesn't quite behave the same; the Thingy's
constructor doesn't get called -- it traces undefined instead.  Any
idea why?

- Kipp

___
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] [AS3] Timers behaving erratically

2007-02-27 Thread Nick Johnston

How many instances are getting recreated? If you are creating a Singleton,
only one instance is getting created. That could be an issue. Either that or
you are probably removing the EventListener. Correct me if I am wrong.

Hope that helps. :)

Nick

On 2/24/07, badi malik [EMAIL PROTECTED] wrote:


i've had this happen many times and even posted to the list about iti
use the debugger that comes with the flash ide alot and only then can i see
what's happening...if you look at the instances using the debugger you can
see that the instances haven't cleared their values. what i've done in the
past is make sure that i call removeMovieClip as well as call delete, and
pray! :)

hope this helps

- Original Message 
From: Daniel Thompson [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, February 23, 2007 6:13:07 PM
Subject: RE: [Flashcoders] [AS3] Timers behaving erratically

 classes. The second time this class is instantiated, the
 timers don't fire. Any reason why this is happening?

Actually, nowhere in the application they aren't firing.
Here's the code that disables the application:



public static function disable(message:String):void {
  with (_instance) {
var snapshot:Bitmap = takeSnapshot();

destroyForm();

_container.addChildAt(snapshot, 0);
_container.addChildAt(drawCurtains(), 1);
_container.stage.addEventListener(MouseEvent.CLICK,
mouseClickHandler);

showAlert(message);

_container.stage.invalidate();

_enabled = false;
  }
}


private function destroyForm():void {
  _container.removeChild(_container.getChildByName(form));
  _form = null;
}


___
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