road0001 / as3isolib

Automatically exported from code.google.com/p/as3isolib
0 stars 0 forks source link

syntax error in the engine #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I DOWNLOADED THE LATEST VERSION OF THE ENGINE
2. I tried to test the first tutorial sample 
3.

---

What is the expected output? What do you see instead?

i got a syntax error in the class

1084: Syntax error: expecting identifier before lessthan.
private var styleRendererFactories:Vector.<IFactory> = new Vector.<IFactory>();

styl1084: Syntax error: expecting identifier before
lessthan.eRendererFactories = Vector.<IFactory>(value);
------

What version of the product are you using? On what operating system?
this is the version link
http://as3isolib.googlecode.com/svn/trunk/fp10/download/as3isolib.zip

i use flash cs3 on windows Xp
----
Please provide any additional information below.
i have an old version of the engine.
it worked fine in sample 1
but in other samples their was some new features not supported in the old
version

would you please tell me how to over come the issue of the new version

Original issue reported on code.google.com by yaman...@gmail.com on 9 Mar 2010 at 5:48

GoogleCodeExporter commented 8 years ago
I'm using FlashDevelop and when i frist try to compile the first tutorial 
sample i get 
almost the same errors. I managed to make it work. I changed in the project 
properties 
from Flash 9(default one) to Flash 10 and all worked fine.

Original comment by cerebe...@gmail.com on 26 Mar 2010 at 9:14

GoogleCodeExporter commented 8 years ago
I m using Flex Builder 3.0.xxx.... and having the same trouble (even set the 
project
to be published for FP 10.0.0 ). these are 2 sample lines:

static protected const DEFAULT_FILL:IFill = new SolidColorFill(0xFFFFFF, 1);

private var fillsArray:Vector.<IFill> = new Vector.<IFill>();

Not sure if this should work in markup format, i think this needs to be 
replaced by
somthing ?

Original comment by rpkhatri...@gmail.com on 14 Apr 2010 at 6:33

GoogleCodeExporter commented 8 years ago
I have the same problem :s

Original comment by josedani...@gmail.com on 30 Apr 2010 at 1:25

GoogleCodeExporter commented 8 years ago
If you are using any code (not just as3isolib) where Vectors are present then 
you will need to target Flash Player 
10 as FP9 doesn't have a built in Vector class.

Original comment by jwopitz on 18 May 2010 at 12:41

GoogleCodeExporter commented 8 years ago
Okay (regarding '1084: Syntax error: expecting identifier before lessthan.' ) it
worked but with FlashBuilder 4 , I was trying with FlexBuilder 3.0.194161 (have 
set
the player to be 10.0.0) which didn't work, may be it was bcs the particular 
flex
builder of mine don't support FP10! possibly it'll help someone.

Original comment by rpkhatri...@gmail.com on 22 May 2010 at 10:29