- Forums
- »
- Programming with Haxe
- »
- Parameter default value should be constant
|
Viewing 1 to 5 (5 Total) Parameter default value should be constant |
|
|---|---|
JohnSwordTotal Posts: 27
Joined: April 12, 2012
|
I'm porting the Flint particle engine for AS3 to haxe and I'm getting the "Parameter default value should be constant" error in the following code:
Tags:
Posted on April 12, 2012 at 4:35 PM
|
singmajestyTotal Posts: 2140
Joined: August 25, 2011
|
Re: Parameter default value should be constantI can think of at least two ways this could be solved.
Posted on April 12, 2012 at 5:47 PM
|
JohnSwordTotal Posts: 27
Joined: April 12, 2012
|
Re: Parameter default value should be constantthanks, I guess using a default value will be ok.
Posted on April 13, 2012 at 7:14 PM
|
JohnSwordTotal Posts: 27
Joined: April 12, 2012
|
Re: Parameter default value should be constantanother thing I noticed when compiling to the cpp target is that most of the times i've tested if an event listener is set like this where weak reference is set to true:
Posted on April 15, 2012 at 12:01 PM
|
JohnSwordTotal Posts: 27
Joined: April 12, 2012
|
Re: Parameter default value should be constantthere is also an issue with the BitmapData class in cpp target, when calling the paletteMap function on a BitmapData object I got this error:
Posted on April 15, 2012 at 12:08 PM
|
