Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError evaluating redtamarin.version #17

Closed
GoogleCodeExporter opened this issue Sep 18, 2015 · 3 comments
Closed

ReferenceError evaluating redtamarin.version #17

GoogleCodeExporter opened this issue Sep 18, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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

@GoogleCodeExporter
Copy link
Author

seem valid, I didn't replicated on Windows yet but will be fixed next update

Original comment by zwetan on 28 Jun 2009 at 12:43

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

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

@GoogleCodeExporter
Copy link
Author

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 comment by zwetan on 29 Jun 2009 at 6:15

  • Changed state: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant