0
votes

I have a problem using Sociodox BASE64 LIBRARY library. I’m totally newbie in Flash so please help.

I’ve connected the library with

import com.sociodox.utils.Base64;

After that I try to compile my project but get the following error:

Base64.as, Line 146: 1100: Syntax error: XML does not have matching begin and end tags. Base64.as, Line 146: 1084: Syntax error: expecting rightbrace before end of program.

Here is a screenshot of the errors: clip2net.com/s/5Jbzlt

Please advise!

1

1 Answers

0
votes

It looks like the code uses short Vector initialisation syntax: new <int>[] which your compiler tries to interpret as XML. What are you using to compile? Flash or Flash Builder? I know that Flash Builder 4.7 should be able to handle this syntax, at least when you're compiling with an AIR SDK that contains the new ASC2 compiler.