Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
glpete #1
import and extends issue
I have a class that I declared in a file: Classes/charts/BaseChart.as as
class charts.BaseChart { ...
I then have a sub-class in file: Classes/charts/pfi/AreaChart.as as
import charts.BaseChart
class charts.pfi.AreaChart extends BaseChart {...
When I try to compile AreaChartI get the error
The class 'BaseChart' could not be loaded
If I run the SWF where a component is declared to have charts.pfi.AreaChart as
its AS 2.0 class, I DO NOT get the error message, but the following weirdness
happens
1. The constructor of BaseChart is executed (I have a trace statement in it)
2. The constructor of AreaChart is executed (ditto
3. Any call to super.xxx() in AreaChart to invoke the xxx() method in
BaseChart DOES NOT execute.
Is this a BUG? Am I just not getting how to set up the package structure to do
inheritance
Thanks
Pete
glpete Guest
-
How to extends a datagrid
Hi, I want to write my own datagrid. I defined it as: import mx.controls.DataGrid; class MyDataGrid extends DataGrid { } -
CFC extends
I have an application which uses about 7 CFC's that takes care of all my business logic. However they do not relate to each and i would like to... -
dxf import issue
I'm trying to import a dxf (created into Alias Studiotools) back into Illustartor to use as outlines for artwork. I get nothing apart from... -
flash file import issue
Hi- I am trying to import a MX file to 9. I can bring in the file but when I double click the imported file within the cast I was expecting the... -
[PHP] PHP class and extends
You can do one of 2 things. 1. You can comment out the ExecuteQuery Function in the child class. 2. When you call the function in the child...



Reply With Quote

