Hi,
I have a external.swf set up with custom event firing after
certain process. I tried to capture the event in the parent.swf
but it fires "TypeError: Error #1034: Type Coercion failed: cannot convert".
sample.events::[EMAIL PROTECTED] を sample.events.TestEvent.
So I guessing, having same name
On Mon, Jun 23, 2008 at 11:45 PM, Patrick Matte | BLITZ <
[EMAIL PROTECTED]> wrote:
> Ok I've found a way to do it, but it's not really clean. Would there be any
> way to make the code better?
>
>
Oh, right, you already found that out... That slow mail server from mine...
_
Never really tried that, but an interesting question!
Here's all I got so far:
var c:Class = getDefinitionByName("MyClass") as Class; // or: var c:Class =
MyClass;
trace( c["parse"]("false") );
I'll keep trying, maybe I can find a cleaner way
On Mon, Jun 23, 2008 at 11:16 PM, Patrick Matte |
Ok I've found a way to do it, but it's not really clean. Would there be any way
to make the code better?
So writing this :
var ClassReference:Class = getDefinitionByName("Test") as Class;
var bool:Boolean = ClassReference["parse"]("false"); // returns false
is the same as this :
var bool:Boole
Aha! That seems highly likely. I shall continue with renewed vigour. Cheers.
2008/6/24 Kerry Thompson <[EMAIL PROTECTED]>:
> Yes, those sporadic bugs can be the dickens to find and fix, usually because
> the code that's causing the problems is far removed from the place where it
> actually crashes
Does anybody know if it's possible to call a static method of a reference to a
class created with getDefinitionByName without actually creating an instance of
the object?
Something like this simple example:
var ClassReference:Class = getDefinitionByName("Test") as Class;
var bool:Boolean = Cl
Also, I'm not sure what you are trying to do with 'this.clip = clip;',
but you cannot instantiate or associate a MovieClip inside an Object
(which Test is), and have successful access to its properties and
methods.
He's using composition, which is sometimes preferable to extending
MovieClip i
It's a "rare" bug that is unacknowledged by Macromedia/Adobe.
If you name the package folder that contains your class the same as your
class name (case doesn't matter), AS2 will behave like a dumbass. It
does randomly buggy behavior, and it's impossible to track down what it
is because there'
Because of the way everything in AS2 is centred around the MovieClip
class, in order to create any kind of MVC architecture, which I gather
you are trying to do, it's all about the MovieClip. You can have your
Model be an Object, but your View and Controller classes, and any
other visual disp
My first though is that you would have your class structure as:
/[ClassTest].fla
/test/Test.as
/test/Model.as
But that would give you a compiler error, because you're not importing Model. So
you must be using
/[ClassTest].fla
/test/Test.as
/Model.as
Here's the files I am using;
/Test_class_sc
Yes, those sporadic bugs can be the dickens to find and fix, usually because
the code that's causing the problems is far removed from the place where it
actually crashes. I remember spending a couple of days once on a crash bug.
I'd find a problem, only to find that it was being caused by something
Tr ythis
import test.Test;
// old:var test:Test = new Test(this);
var test:Test = new Test();
test.init( );
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Hello :)
- http://code.google.com/p/vegas/
EKA+ :)
2008/6/23 Pedro Taranto <[EMAIL PROTECTED]>:
> - GameDataStructure: http://code.google.com/p/as3ds/
> - Lowra: http://code.google.com/p/lowra/
>
> --
> Pedro Taranto
>
>
> On Mon, Jun 23, 2008 at 1:59 PM, August Gresens <
> [EMAIL PROTECTED]> w
- GameDataStructure: http://code.google.com/p/as3ds/
- Lowra: http://code.google.com/p/lowra/
--
Pedro Taranto
On Mon, Jun 23, 2008 at 1:59 PM, August Gresens <
[EMAIL PROTECTED]> wrote:
> Hello
>
> Wondering what is out there as far as open source (or otherwise) AS3
> frameworks for Game Devel
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Hello
Wondering what is out there as far as open source (or otherwise) AS3
frameworks for Game Development.
Looking for something that works for desktop and web based apps.
I'm looking for something like AS-HIVE (which doesn't seem too active right
now), with support for:
* state/navigation man
you should get compiler errors over this but did you import Model?
On Mon, Jun 23, 2008 at 8:24 AM, Paul Evans <
[EMAIL PROTECTED]> wrote:
> untested suggestion?!...
>
> On 23 Jun 2008, at 10:20, paul cunningham wrote:
>
>> If I have this on the flash timeline, (CS3 or Flash 8)
>> import test.Tes
Is there a tutorial out there somewhere on how to use the debugger? I
am fairly new to Flash and just use trace statements to find my
problems... but would like to learn more about the debugger.
gregb
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kerry
untested suggestion?!...
On 23 Jun 2008, at 10:20, paul cunningham wrote:
If I have this on the flash timeline, (CS3 or Flash 8)
import test.Test;
var test:Test = new Test(this);
*test.init( );*
is test (the variable) being confused with test (the package) ?
my next step would be to try this
Thanks for the response Kerry. Makes me appreciate even more the work
that gets done in Flash. And although blaming the tool is easy enough
I'm pretty sure its in my code somewhere. However, all the problems
you mentioned I encounter often enough to spot. Plus Flash is helpful
enough to tell you wh
Ashim D'Silva wrote:
> I'm using the Flash IDE CS3 to produce a project in AS3, and Flash is
> continually crashing erratically. Is there a way for me to figure out
> what's causing it?
I've had similar problems, and it has always turned out to be an infinite
loop, memory management, a null valu
Hi everyone,
I'm happy to tell you that you can use the second version of BaseUI.
It will help you to handle the positions and sizes; it makes things easy
when you want to manage backgrounds and assets behaviors in a liquid or
fixed flash site.
In this new version, I reproduce what the Flex B
If I have this on the flash timeline, (CS3 or Flash 8)
import test.Test;
var test:Test = new Test(this);
*test.init( );*
--
and then the class code has this
class test.Test
{
private var m:Model;
private var clip:Movie
Oh, its very easily an issue with memory management because
regrettably that's one of the parts of AS3 I continue to have trouble
with. I try hard to pick up after myself (listeners, bitmapdata,
cancel loaders, close connections), and run ActiveGraph to get an
estimate. But how do you track it down
Memory management not done right = garbage collector piling up
I noticed Flash crashes very quickly when memory management is not
done right. I am NOT implying that you did something wrong. I am
just adding my observations to the thread.
Could it be memory management ?
Cedric
I believe Fl
I noticed Flash crashes very quickly when memory management is not
done right. I am NOT implying that you did something wrong. I am just
adding my observations to the thread.
Could it be memory management ?
Cedric
I believe Flash Cs3 is not ready for serious projects.
Nowadays I am really h
26 matches
Mail list logo