IT Community - Software Programming, Web Development and Technical Support

Destructor in ActionScript Class

This is a discussion on Destructor in ActionScript Class within the Flash Actionscript Programming forums, part of the Web Development category; Please can any one tell , How to define the destructor in Flash ActionScript Class ?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Flash Actionscript Programming

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 08-08-2007, 03:16 AM
seesamjagan seesamjagan is offline
D-Web Programmer
 
Join Date: Aug 2007
Location: Chennai
Posts: 66
seesamjagan is on a distinguished road
Send a message via AIM to seesamjagan Send a message via Yahoo to seesamjagan
Question Destructor in ActionScript Class

Please can any one tell ,
How to define the destructor in Flash ActionScript Class ?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 12-14-2007, 04:21 AM
aramesh aramesh is offline
D-Web Programmer
 
Join Date: Mar 2007
Posts: 72
aramesh is on a distinguished road
Default Re: Destructor in ActionScript Class

Hi,
AS does not have them... not exactly. If you make one, you would need to call them manually. In terms of MovieClip subclasses, you can just override removeMovieClip since that is probably what you would use to destroy the instance anyway.

aramesh.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
misbehaving in Actionscript 3 gkumar Flash Actionscript Programming 0 08-06-2009 10:33 PM
ActionScript 3 PaulSch Interview Questions & Answers and Tips 0 07-15-2008 07:19 AM
Explain the need for virtual destructor prasath C and C++ Programming 1 07-17-2007 05:01 AM
Actionscript 3.0 Reverend Flash Actionscript Programming 6 04-20-2007 07:43 PM
e-book for actionscript nssukumar Flash Actionscript Programming 1 04-05-2007 06:59 PM


All times are GMT -7. The time now is 01:39 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0