Re: [Flashcoders] strange error when removing sprite from parents display list

2009-09-28 Thread Allandt Bik-Elliott (Receptacle)

sorry for the really late reply to this thread but thanks :)

a

On 22 Aug 2009, at 16:07, Juan Pablo Califano wrote:


PS: The place to report bugs:
http://www.flashdevelop.org/community/viewforum.php?f=6

And the rules:
http://www.flashdevelop.org/community/viewtopic.php?f=6t=92

2009/8/22 Juan Pablo Califano califa010.flashcod...@gmail.com

The stack dump looks like .NET, indeed, so it's probably a bug to  
be fixed
in FlashDevelop.  Have you considereded sending a bug report with a  
mininal

sample to reproduce the problem?

Cheers
Juan Pablo Califano
2009/8/22 Allandt Bik-Elliott (Receptacle) alla...@receptacledesign.com 



FYI


This compiles correctly with flexbuilder so it seems it's a  
problem with

flashdevelop (and not the flex sdk or my code)

pity really, - i was really enjoying a flash ide-less workflow  
(could use

flexbuilder - it's awful)

a


On 19 Aug 2009, at 11:42, allandt bik-elliott (thefieldcomic.com)  
wrote:


hi guys

i really hope you can help me with this:

i'm getting the following error from the flex_sdk_3 when  
compiling with

flashdevelop

'undefined' is an unexpected token. Expecting white space. Line 1,
position
58.

at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseAttributes()
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.MoveToContent()
at FlashViewer.Controls.FlashView.FlashMovieFlashCall(Object  
sender,

_IShockwaveFlashEvents_FlashCallEvent e)


it happens when the following method fires

public function destroy():void
{
Debug.add(Destroying preloader);
for (var i:int = 0; i  this.numChildren; i++)
{
removeChildAt(0);
}
_sprPreloader = null;
_tfPercent = null;
_tfmtPercent = null;
_percentBar = null;
_assetLoader = null;
parent.removeChild(this);
}

more specifically, it's this line (i've tested with and without it)
parent.removeChild(this);

this is something i've used numerous times before successfully  
and i

don't
really understand why it would be affecting the XmlTextReader (!!)

could anyone shed some light on this please as it's a bit of a  
mystery to

me

thanks
a
___
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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] strange error when removing sprite from parents display list

2009-08-22 Thread Allandt Bik-Elliott (Receptacle)

FYI

This compiles correctly with flexbuilder so it seems it's a problem  
with flashdevelop (and not the flex sdk or my code)


pity really, - i was really enjoying a flash ide-less workflow (could  
use flexbuilder - it's awful)


a

On 19 Aug 2009, at 11:42, allandt bik-elliott (thefieldcomic.com) wrote:


hi guys
i really hope you can help me with this:

i'm getting the following error from the flex_sdk_3 when compiling  
with

flashdevelop

'undefined' is an unexpected token. Expecting white space. Line 1,  
position

58.

  at System.Xml.XmlTextReaderImpl.Throw(Exception e)
  at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
  at System.Xml.XmlTextReaderImpl.ParseAttributes()
  at System.Xml.XmlTextReaderImpl.ParseElement()
  at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
  at System.Xml.XmlTextReaderImpl.Read()
  at System.Xml.XmlTextReader.Read()
  at System.Xml.XmlReader.MoveToContent()
  at FlashViewer.Controls.FlashView.FlashMovieFlashCall(Object sender,
_IShockwaveFlashEvents_FlashCallEvent e)


it happens when the following method fires

public function destroy():void
{
Debug.add(Destroying preloader);
for (var i:int = 0; i  this.numChildren; i++)
{
removeChildAt(0);
}
_sprPreloader = null;
_tfPercent = null;
_tfmtPercent = null;
_percentBar = null;
_assetLoader = null;
parent.removeChild(this);
}

more specifically, it's this line (i've tested with and without it)
parent.removeChild(this);

this is something i've used numerous times before successfully and i  
don't

really understand why it would be affecting the XmlTextReader (!!)

could anyone shed some light on this please as it's a bit of a  
mystery to me


thanks
a
___
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] strange error when removing sprite from parents display list

2009-08-22 Thread Juan Pablo Califano
The stack dump looks like .NET, indeed, so it's probably a bug to be fixed
in FlashDevelop.  Have you considereded sending a bug report with a mininal
sample to reproduce the problem?

Cheers
Juan Pablo Califano
2009/8/22 Allandt Bik-Elliott (Receptacle) alla...@receptacledesign.com

 FYI

 This compiles correctly with flexbuilder so it seems it's a problem with
 flashdevelop (and not the flex sdk or my code)

 pity really, - i was really enjoying a flash ide-less workflow (could use
 flexbuilder - it's awful)

 a


 On 19 Aug 2009, at 11:42, allandt bik-elliott (thefieldcomic.com) wrote:

 hi guys
 i really hope you can help me with this:

 i'm getting the following error from the flex_sdk_3 when compiling with
 flashdevelop

 'undefined' is an unexpected token. Expecting white space. Line 1,
 position
 58.

  at System.Xml.XmlTextReaderImpl.Throw(Exception e)
  at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
  at System.Xml.XmlTextReaderImpl.ParseAttributes()
  at System.Xml.XmlTextReaderImpl.ParseElement()
  at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
  at System.Xml.XmlTextReaderImpl.Read()
  at System.Xml.XmlTextReader.Read()
  at System.Xml.XmlReader.MoveToContent()
  at FlashViewer.Controls.FlashView.FlashMovieFlashCall(Object sender,
 _IShockwaveFlashEvents_FlashCallEvent e)


 it happens when the following method fires

 public function destroy():void
 {
 Debug.add(Destroying preloader);
 for (var i:int = 0; i  this.numChildren; i++)
 {
 removeChildAt(0);
 }
 _sprPreloader = null;
 _tfPercent = null;
 _tfmtPercent = null;
 _percentBar = null;
 _assetLoader = null;
 parent.removeChild(this);
 }

 more specifically, it's this line (i've tested with and without it)
 parent.removeChild(this);

 this is something i've used numerous times before successfully and i don't
 really understand why it would be affecting the XmlTextReader (!!)

 could anyone shed some light on this please as it's a bit of a mystery to
 me

 thanks
 a
 ___
 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


Re: [Flashcoders] strange error when removing sprite from parents display list

2009-08-22 Thread Juan Pablo Califano
PS: The place to report bugs:
http://www.flashdevelop.org/community/viewforum.php?f=6

And the rules:
http://www.flashdevelop.org/community/viewtopic.php?f=6t=92

2009/8/22 Juan Pablo Califano califa010.flashcod...@gmail.com

 The stack dump looks like .NET, indeed, so it's probably a bug to be fixed
 in FlashDevelop.  Have you considereded sending a bug report with a mininal
 sample to reproduce the problem?

 Cheers
 Juan Pablo Califano
 2009/8/22 Allandt Bik-Elliott (Receptacle) alla...@receptacledesign.com

 FYI

 This compiles correctly with flexbuilder so it seems it's a problem with
 flashdevelop (and not the flex sdk or my code)

 pity really, - i was really enjoying a flash ide-less workflow (could use
 flexbuilder - it's awful)

 a


 On 19 Aug 2009, at 11:42, allandt bik-elliott (thefieldcomic.com) wrote:

 hi guys
 i really hope you can help me with this:

 i'm getting the following error from the flex_sdk_3 when compiling with
 flashdevelop

 'undefined' is an unexpected token. Expecting white space. Line 1,
 position
 58.

  at System.Xml.XmlTextReaderImpl.Throw(Exception e)
  at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
  at System.Xml.XmlTextReaderImpl.ParseAttributes()
  at System.Xml.XmlTextReaderImpl.ParseElement()
  at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
  at System.Xml.XmlTextReaderImpl.Read()
  at System.Xml.XmlTextReader.Read()
  at System.Xml.XmlReader.MoveToContent()
  at FlashViewer.Controls.FlashView.FlashMovieFlashCall(Object sender,
 _IShockwaveFlashEvents_FlashCallEvent e)


 it happens when the following method fires

 public function destroy():void
 {
 Debug.add(Destroying preloader);
 for (var i:int = 0; i  this.numChildren; i++)
 {
 removeChildAt(0);
 }
 _sprPreloader = null;
 _tfPercent = null;
 _tfmtPercent = null;
 _percentBar = null;
 _assetLoader = null;
 parent.removeChild(this);
 }

 more specifically, it's this line (i've tested with and without it)
 parent.removeChild(this);

 this is something i've used numerous times before successfully and i
 don't
 really understand why it would be affecting the XmlTextReader (!!)

 could anyone shed some light on this please as it's a bit of a mystery to
 me

 thanks
 a
 ___
 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] strange error when removing sprite from parents display list

2009-08-19 Thread allandt bik-elliott (thefieldcomic.com)
hi guys
i really hope you can help me with this:

i'm getting the following error from the flex_sdk_3 when compiling with
flashdevelop

'undefined' is an unexpected token. Expecting white space. Line 1, position
58.

   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseAttributes()
   at System.Xml.XmlTextReaderImpl.ParseElement()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlTextReader.Read()
   at System.Xml.XmlReader.MoveToContent()
   at FlashViewer.Controls.FlashView.FlashMovieFlashCall(Object sender,
_IShockwaveFlashEvents_FlashCallEvent e)


it happens when the following method fires

public function destroy():void
{
Debug.add(Destroying preloader);
 for (var i:int = 0; i  this.numChildren; i++)
{
removeChildAt(0);
}
 _sprPreloader = null;
_tfPercent = null;
_tfmtPercent = null;
_percentBar = null;
_assetLoader = null;
 parent.removeChild(this);
}

more specifically, it's this line (i've tested with and without it)
parent.removeChild(this);

this is something i've used numerous times before successfully and i don't
really understand why it would be affecting the XmlTextReader (!!)

could anyone shed some light on this please as it's a bit of a mystery to me

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