Go Back   Webmaster Desk Forum | Voice of webmasters > Development Desk > Programming

Reply

 

LinkBack Thread Tools Display Modes

action script 2.0 extending Button
  #1  
Old 12-06-2008, 09:31 AM
thosecars82 thosecars82 is offline
Junior Member
 
Join Date: Apr 2008
Posts: 9
thosecars82 is on a distinguished road
Default action script 2.0 extending Button

Hello there
I have this class:

class TestButton
extends Button
{
public function onRollOver()
{
trace("onRollOver");
}
}

I want to create an instance of this class by using the flash 8 environment. Nevertheless, when I choose convert to symbol, I just can choose among Graphic, Button and MovieClip. Does anyone know how could I create a shape liek a square and make it an instance of TestButton?
Thanks in advance
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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 On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:32 AM.




Webmaster Desk forum is a concern of Graffias Web service network

Skin by: eXtremepixels Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.