Re: [Flashcoders] There is no method with the name 'super'

2006-10-30 Thread Quinten [ :: MediaMonks :: ]

Hi Muzak,

i tried your approach without succes.

My version is here:

http://stuff.mediamonks.net/quinten/SuperError02.rar

--
regards,

Quinten

==\\
Quinten Beek ; Game Monk
MediaMonks BV ; Interactive Art
Schapenkamp 2 | 1211 PA, Hilversum
The Netherlands | Europe
email : [EMAIL PROTECTED]
gsm : +31 (0) 6 23384020
tel : +31 (0) 35 6212150
fax : +31 (0) 35 6242720
internet address : http://www.mediamonks.com
||
* Member of the Creative Brotherhood.
||
* Please quote all replies in correspondence.
||



Muzak wrote:

No MovieClip is attached to the RectangleExt class and doesn't need to be.
It's used by Tester class (which is attached to a MovieClip).

I can clearly see the trace in the constructor of RectangleExt, so the class is 
loaded.

regards,
Muzak

- Original Message - 
From: Quinten [ :: MediaMonks :: ] [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, October 27, 2006 10:23 AM
Subject: Re: [Flashcoders] There is no method with the name 'super'


  
The reason why your error goes away is because the movieclip on the stage is not extended by 'RectangleExt' and the class is never 
loaded. So there is no error.


Some findings:

- the only way to get rid off the error is to completely remove all the 
actionscript on the frames.
- Compiling in Mtasc will remove the error
- Running without the actionscript on the frames works fine (and i can use all the functionality of the rectangle class) So 
extending intrinsic classes is possible

- It is not just the Rectangle class, other classes like Point for example will 
give the same error

my conclusion: There is a serious bug in the Flash compiler.

but i am open for suggestions.

--
regards,

Quinten





___
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] There is no method with the name 'super'

2006-10-30 Thread Muzak
Delete mcLinker from library and recreate it.

regards,
Muzak

- Original Message - 
From: Quinten [ :: MediaMonks :: ] [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October 30, 2006 11:06 AM
Subject: Re: [Flashcoders] There is no method with the name 'super'


 Hi Muzak,

 i tried your approach without succes.

 My version is here:

 http://stuff.mediamonks.net/quinten/SuperError02.rar

 -- 
 regards,

 Quinten



___
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] There is no method with the name 'super'

2006-10-30 Thread Quinten [ :: MediaMonks :: ]
If you delete the mcLinker from the library, there is no more 
actionscript on a timeline. And the actionscript was causing the problem 
for some reason:


.Everything works fine until i put actionscript on a frame. (just a 
simple stop(); on the first frame)




Muzak wrote:

Delete mcLinker from library and recreate it.

regards,
Muzak

- Original Message - 
From: Quinten [ :: MediaMonks :: ] [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October 30, 2006 11:06 AM
Subject: Re: [Flashcoders] There is no method with the name 'super'


  

Hi Muzak,

i tried your approach without succes.

My version is here:

http://stuff.mediamonks.net/quinten/SuperError02.rar

--
regards,

Quinten





___
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

  


--
regards,

Quinten

==\\
Quinten Beek ; Game Monk
MediaMonks BV ; Interactive Art
Schapenkamp 2 | 1211 PA, Hilversum
The Netherlands | Europe
email : [EMAIL PROTECTED]
gsm : +31 (0) 6 23384020
tel : +31 (0) 35 6212150
fax : +31 (0) 35 6242720
internet address : http://www.mediamonks.com
||
* Member of the Creative Brotherhood.
||
* Please quote all replies in correspondence.
||

___
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] There is no method with the name 'super'

2006-10-30 Thread Muzak
Yeah, seems to popup again after I delete ASO files.
Have you reported this already?

regards,
Muzak

- Original Message - 
From: Quinten [ :: MediaMonks :: ] [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October 30, 2006 2:51 PM
Subject: Re: [Flashcoders] There is no method with the name 'super'


 If you delete the mcLinker from the library, there is no more actionscript on 
 a timeline. And the actionscript was causing the 
 problem for some reason:

 .Everything works fine until i put actionscript on a frame. (just a 
 simple stop(); on the first frame)



 Muzak wrote:
 Delete mcLinker from library and recreate it.

 regards,
 Muzak


___
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] There is no method with the name 'super'

2006-10-30 Thread Quinten [ :: MediaMonks :: ]

Hi Again,

I never reported anything before, but i just reported this 'bug' on this 
url:


http://www.adobe.com/cfusion/mmform/index.cfm?name=wishformproduct=15

I'll hope thats the correct place to report bugs.

In ieder geval bedankt voor je hulp Muzak :) ;

Muzak wrote:

Yeah, seems to popup again after I delete ASO files.
Have you reported this already?

regards,
Muzak

- Original Message - 
From: Quinten [ :: MediaMonks :: ] [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October 30, 2006 2:51 PM
Subject: Re: [Flashcoders] There is no method with the name 'super'


  
If you delete the mcLinker from the library, there is no more actionscript on a timeline. And the actionscript was causing the 
problem for some reason:


.Everything works fine until i put actionscript on a frame. (just a simple 
stop(); on the first frame)



Muzak wrote:


Delete mcLinker from library and recreate it.

regards,
Muzak
  



___
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

  


--
regards,

Quinten

==\\
Quinten Beek ; Game Monk
MediaMonks BV ; Interactive Art
Schapenkamp 2 | 1211 PA, Hilversum
The Netherlands | Europe
email : [EMAIL PROTECTED]
gsm : +31 (0) 6 23384020
tel : +31 (0) 35 6212150
fax : +31 (0) 35 6242720
internet address : http://www.mediamonks.com
||
* Member of the Creative Brotherhood.
||
* Please quote all replies in correspondence.
||

___
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] There is no method with the name 'super'

2006-10-30 Thread Muzak
Yeah that's the correct place.
And sorry about the confusion I may have caused.

Oh en graag gedaan ;-)

Muzak

- Original Message - 
From: Quinten [ :: MediaMonks :: ] [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October 30, 2006 5:12 PM
Subject: Re: [Flashcoders] There is no method with the name 'super'


 Hi Again,

 I never reported anything before, but i just reported this 'bug' on this url:

 http://www.adobe.com/cfusion/mmform/index.cfm?name=wishformproduct=15

 I'll hope thats the correct place to report bugs.

 In ieder geval bedankt voor je hulp Muzak :) ;

 Muzak wrote:
 Yeah, seems to popup again after I delete ASO files.
 Have you reported this already?

 regards,
 Muzak


___
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] There is no method with the name 'super'

2006-10-27 Thread Quinten [ :: MediaMonks :: ]
The reason why your error goes away is because the movieclip on the 
stage is not extended by 'RectangleExt' and the class is never loaded. 
So there is no error.


Some findings:

- the only way to get rid off the error is to completely remove all the 
actionscript on the frames.

- Compiling in Mtasc will remove the error
- Running without the actionscript on the frames works fine (and i can 
use all the functionality of the rectangle class) So extending intrinsic 
classes is possible
- It is not just the Rectangle class, other classes like Point for 
example will give the same error


my conclusion: There is a serious bug in the Flash compiler.

but i am open for suggestions.

--
regards,

Quinten

==\\
Quinten Beek ; Game Monk
MediaMonks BV ; Interactive Art
Schapenkamp 2 | 1211 PA, Hilversum
The Netherlands | Europe
email : [EMAIL PROTECTED]
internet address : http://www.mediamonks.com
||
* Member of the Creative Brotherhood.
||
* Please quote all replies in correspondence.
||




Muzak wrote:

Change the name of the classs RectangleExtender to something else and the error 
will go away.

import flash.geom.Rectangle;
class RectangleExt extends Rectangle {
 function RectangleExt() {
  super();
  trace(RectangleExt);
 }
}

As soon as I change RectangleExt to RectangleExtender, I get the same error 
(code or no code in timeline).
Must be a naming conflict with some internal/hidden class.

regards,
Muzak

- Original Message - 
From: Quinten [ :: MediaMonks :: ] [EMAIL PROTECTED]

To: Flashcoders@chattyfig.figleaf.com
Sent: Thursday, October 26, 2006 6:03 PM
Subject: [Flashcoders] There is no method with the name 'super'


  

I have 2 classes: 'Tester' wich extends a linked movie on the stage. And 
RectangleExtender wich is called in Tester

class Tester extends MovieClip
{
   public function Tester()
   {
   var objRectangleExtender:RectangleExtender = new RectangleExtender();
   }
}

and:

import flash.geom.Rectangle;

class RectangleExtender extends Rectangle
{
   public function RectangleExtender()
   {
   super();
   }
}

Everything works fine until i put actionscript on a frame. (just a simple 
stop(); on the first frame)

then i get this error:

**Error** H:\temp\SuperFoutmelding\RectangleExtender.as: Line 7: There is no 
method with the name 'super'.
super();

Total ActionScript Errors: 1  Reported Errors: 1


I really have no idea why flash suddenly throws this error. does anyone has 
experience with this kind of error?

I put the source files here: http://stuff.mediamonks.net/quinten/SuperError.rar

just remove the stop() command in the 'mcLinker' movieclip and you will see 
that it works fine.

--
regards,

Quinten





___
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] There is no method with the name 'super'

2006-10-27 Thread Muzak
No MovieClip is attached to the RectangleExt class and doesn't need to be.
It's used by Tester class (which is attached to a MovieClip).

I can clearly see the trace in the constructor of RectangleExt, so the class is 
loaded.

regards,
Muzak

- Original Message - 
From: Quinten [ :: MediaMonks :: ] [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, October 27, 2006 10:23 AM
Subject: Re: [Flashcoders] There is no method with the name 'super'


 The reason why your error goes away is because the movieclip on the stage is 
 not extended by 'RectangleExt' and the class is never 
 loaded. So there is no error.

 Some findings:

 - the only way to get rid off the error is to completely remove all the 
 actionscript on the frames.
 - Compiling in Mtasc will remove the error
 - Running without the actionscript on the frames works fine (and i can use 
 all the functionality of the rectangle class) So 
 extending intrinsic classes is possible
 - It is not just the Rectangle class, other classes like Point for example 
 will give the same error

 my conclusion: There is a serious bug in the Flash compiler.

 but i am open for suggestions.

 -- 
 regards,

 Quinten



___
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] There is no method with the name 'super'

2006-10-26 Thread Quinten [ :: MediaMonks :: ]
I have 2 classes: 'Tester' wich extends a linked movie on the stage. And 
RectangleExtender wich is called in Tester


class Tester extends MovieClip
{
   public function Tester()
   {
   var objRectangleExtender:RectangleExtender = new 
RectangleExtender();

   }
}

and:

import flash.geom.Rectangle;

class RectangleExtender extends Rectangle
{
   public function RectangleExtender()
   {
   super();
   }
}

Everything works fine until i put actionscript on a frame. (just a 
simple stop(); on the first frame)


then i get this error:

**Error** H:\temp\SuperFoutmelding\RectangleExtender.as: Line 7: There 
is no method with the name 'super'.

super();

Total ActionScript Errors: 1  Reported Errors: 1


I really have no idea why flash suddenly throws this error. does anyone 
has experience with this kind of error?


I put the source files here: 
http://stuff.mediamonks.net/quinten/SuperError.rar


just remove the stop() command in the 'mcLinker' movieclip and you will 
see that it works fine.


--
regards,

Quinten

==\\
Quinten Beek ; Game Monk
MediaMonks BV ; Interactive Art
Schapenkamp 2 | 1211 PA, Hilversum
The Netherlands | Europe
email : [EMAIL PROTECTED]
internet address : http://www.mediamonks.com
||
* Member of the Creative Brotherhood.
||
* Please quote all replies in correspondence.
||

___
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] There is no method with the name 'super'

2006-10-26 Thread Hans Wichman

Hi,
there is no constructor Rectangle() in Rectangle.as, only function
Rectangle( x : Number, y : Number, w : Number, h : Number );

so you cannot call it. You could call super(0,0,0,0);

greetz
JC


On 10/26/06, Quinten [ :: MediaMonks :: ] [EMAIL PROTECTED] wrote:


I have 2 classes: 'Tester' wich extends a linked movie on the stage. And
RectangleExtender wich is called in Tester

class Tester extends MovieClip
{
   public function Tester()
   {
   var objRectangleExtender:RectangleExtender = new
RectangleExtender();
   }
}

and:

import flash.geom.Rectangle;

class RectangleExtender extends Rectangle
{
   public function RectangleExtender()
   {
   super();
   }
}

Everything works fine until i put actionscript on a frame. (just a
simple stop(); on the first frame)

then i get this error:

**Error** H:\temp\SuperFoutmelding\RectangleExtender.as: Line 7: There
is no method with the name 'super'.
super();

Total ActionScript Errors: 1  Reported Errors: 1


I really have no idea why flash suddenly throws this error. does anyone
has experience with this kind of error?

I put the source files here:
http://stuff.mediamonks.net/quinten/SuperError.rar

just remove the stop() command in the 'mcLinker' movieclip and you will
see that it works fine.

--
regards,

Quinten

==\\
Quinten Beek ; Game Monk
MediaMonks BV ; Interactive Art
Schapenkamp 2 | 1211 PA, Hilversum
The Netherlands | Europe
email : [EMAIL PROTECTED]
internet address : http://www.mediamonks.com
||
* Member of the Creative Brotherhood.
||
* Please quote all replies in correspondence.
||

___
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] There is no method with the name 'super'

2006-10-26 Thread Jim Kremens

Seems weird, as your code looks ok.  If it's any comfort, 'super()' is
called automatically, whether you explicitly call it or not... If you want
to override methods of Rectangle, just override them in your new class.

Jim Kremens


On 10/26/06, Hans Wichman [EMAIL PROTECTED] wrote:


Hi,
there is no constructor Rectangle() in Rectangle.as, only function
Rectangle( x : Number, y : Number, w : Number, h : Number );

so you cannot call it. You could call super(0,0,0,0);

greetz
JC


On 10/26/06, Quinten [ :: MediaMonks :: ] [EMAIL PROTECTED] wrote:

 I have 2 classes: 'Tester' wich extends a linked movie on the stage. And
 RectangleExtender wich is called in Tester

 class Tester extends MovieClip
 {
public function Tester()
{
var objRectangleExtender:RectangleExtender = new
 RectangleExtender();
}
 }

 and:

 import flash.geom.Rectangle;

 class RectangleExtender extends Rectangle
 {
public function RectangleExtender()
{
super();
}
 }

 Everything works fine until i put actionscript on a frame. (just a
 simple stop(); on the first frame)

 then i get this error:

 **Error** H:\temp\SuperFoutmelding\RectangleExtender.as: Line 7: There
 is no method with the name 'super'.
 super();

 Total ActionScript Errors: 1  Reported Errors: 1


 I really have no idea why flash suddenly throws this error. does anyone
 has experience with this kind of error?

 I put the source files here:
 http://stuff.mediamonks.net/quinten/SuperError.rar

 just remove the stop() command in the 'mcLinker' movieclip and you will
 see that it works fine.

 --
 regards,

 Quinten

 ==\\
 Quinten Beek ; Game Monk
 MediaMonks BV ; Interactive Art
 Schapenkamp 2 | 1211 PA, Hilversum
 The Netherlands | Europe
 email : [EMAIL PROTECTED]
 internet address : http://www.mediamonks.com
 ||
 * Member of the Creative Brotherhood.
 ||
 * Please quote all replies in correspondence.
 ||

 ___
 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





--
Jim Kremens
___
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] There is no method with the name 'super'

2006-10-26 Thread Mark Lapasa
Your code looks good to me. Mighty weird but it just might be the case
intrinsic classes like Rectangle cannot be extended.

http://www.kirupa.com/developer/oop2/AS2OOPClassStructure8.htm


-mL
http://knowledge.lapasa.net

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jim
Kremens
Sent: Thursday, October 26, 2006 12:40 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] There is no method with the name 'super'


Seems weird, as your code looks ok.  If it's any comfort, 'super()' is
called automatically, whether you explicitly call it or not... If you want
to override methods of Rectangle, just override them in your new class.

Jim Kremens


On 10/26/06, Hans Wichman [EMAIL PROTECTED] wrote:

 Hi,
 there is no constructor Rectangle() in Rectangle.as, only function
 Rectangle( x : Number, y : Number, w : Number, h : Number );

 so you cannot call it. You could call super(0,0,0,0);

 greetz
 JC


 On 10/26/06, Quinten [ :: MediaMonks :: ] [EMAIL PROTECTED] wrote:
 
  I have 2 classes: 'Tester' wich extends a linked movie on the stage. And
  RectangleExtender wich is called in Tester
 
  class Tester extends MovieClip
  {
 public function Tester()
 {
 var objRectangleExtender:RectangleExtender = new
  RectangleExtender();
 }
  }
 
  and:
 
  import flash.geom.Rectangle;
 
  class RectangleExtender extends Rectangle
  {
 public function RectangleExtender()
 {
 super();
 }
  }
 
  Everything works fine until i put actionscript on a frame. (just a
  simple stop(); on the first frame)
 
  then i get this error:
 
  **Error** H:\temp\SuperFoutmelding\RectangleExtender.as: Line 7: There
  is no method with the name 'super'.
  super();
 
  Total ActionScript Errors: 1  Reported Errors: 1
 
 
  I really have no idea why flash suddenly throws this error. does anyone
  has experience with this kind of error?
 
  I put the source files here:
  http://stuff.mediamonks.net/quinten/SuperError.rar
 
  just remove the stop() command in the 'mcLinker' movieclip and you will
  see that it works fine.
 
  --
  regards,
 
  Quinten
 
  ==\\
  Quinten Beek ; Game Monk
  MediaMonks BV ; Interactive Art
  Schapenkamp 2 | 1211 PA, Hilversum
  The Netherlands | Europe
  email : [EMAIL PROTECTED]
  internet address : http://www.mediamonks.com
  ||
  * Member of the Creative Brotherhood.
  ||
  * Please quote all replies in correspondence.
  ||
 
  ___
  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




--
Jim Kremens
___
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] There is no method with the name 'super'

2006-10-26 Thread Muzak
Change the name of the classs RectangleExtender to something else and the error 
will go away.

import flash.geom.Rectangle;
class RectangleExt extends Rectangle {
 function RectangleExt() {
  super();
  trace(RectangleExt);
 }
}

As soon as I change RectangleExt to RectangleExtender, I get the same error 
(code or no code in timeline).
Must be a naming conflict with some internal/hidden class.

regards,
Muzak

- Original Message - 
From: Quinten [ :: MediaMonks :: ] [EMAIL PROTECTED]
To: Flashcoders@chattyfig.figleaf.com
Sent: Thursday, October 26, 2006 6:03 PM
Subject: [Flashcoders] There is no method with the name 'super'


I have 2 classes: 'Tester' wich extends a linked movie on the stage. And 
RectangleExtender wich is called in Tester

 class Tester extends MovieClip
 {
public function Tester()
{
var objRectangleExtender:RectangleExtender = new RectangleExtender();
}
 }

 and:

 import flash.geom.Rectangle;

 class RectangleExtender extends Rectangle
 {
public function RectangleExtender()
{
super();
}
 }

 Everything works fine until i put actionscript on a frame. (just a simple 
 stop(); on the first frame)

 then i get this error:

 **Error** H:\temp\SuperFoutmelding\RectangleExtender.as: Line 7: There is no 
 method with the name 'super'.
 super();

 Total ActionScript Errors: 1  Reported Errors: 1


 I really have no idea why flash suddenly throws this error. does anyone has 
 experience with this kind of error?

 I put the source files here: 
 http://stuff.mediamonks.net/quinten/SuperError.rar

 just remove the stop() command in the 'mcLinker' movieclip and you will see 
 that it works fine.

 -- 
 regards,

 Quinten



___
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