You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Download red_0.2.5.0.234.zip
2. Create test.as:
import avmplus.System;
import redtamarin.version;
trace( "hello world" );
trace( "avmplus v" + System.getAvmplusVersion() );
trace( "redtamarin v" + redtamarin.version );
3. Run buildAndRun.bat test.as
What is the expected output? What do you see instead?
I expect to see:
test.abc, 243 bytes written
hello world
avmplus v1.0 cyclone
redtamarin vXXXXX
but I see:
test.abc, 243 bytes written
hello world
avmplus v1.0 cyclone
ReferenceError: Error #1065
What version of the product are you using? On what operating system?
0.2.5.0.234 on Windows 7
Please provide any additional information below.
Original issue reported on code.google.com by mab2...@gmail.com on 28 Jun 2009 at 12:55
The text was updated successfully, but these errors were encountered:
BTW, this test.as works fine:
import avmplus.System;
//import avmplus.redtamarin.version;
trace( "redtamarin v" + avmplus.redtamarin.version );
So perhaps it's more of a documentation issue?
Uncommenting the import does cause a ReferenceError which seems unexpected
though.
Original comment by mab2...@gmail.com on 28 Jun 2009 at 7:25
yes looking at it more closely, the redtamarin class is in the avmplus package
so the usage would be
import avmplus.redtamarin
trace( redtamarin.version );
see
http://code.google.com/p/redtamarin/source/browse/as3/redshell/trunk/src/redtama
rin.as
and
http://code.google.com/p/redtamarin/wiki/AVMPlus
Original issue reported on code.google.com by
mab2...@gmail.com
on 28 Jun 2009 at 12:55The text was updated successfully, but these errors were encountered: