If you only need Base64Encoder, you could include the Class on its own -
download from
https://github.com/apache/flex-sdk/blob/develop/frameworks/projects/framework/src/mx/utils/Base64Encoder.as
and include it as you would any other class file.
On 22/12/2013 07:50, benzmuircroft wrote:
In my main fla file I've linked to:
C:\Program Files (x86)\Adobe\Adobe Flash Builder
4.5\sdks\4.5.0\apache_flex\frameworks\libs\mx\mx.swc
In File / Actionscript Settings / Library Path
But I still get errors for Base64Encoder in my .as class script:
C:\Users\User\Desktop\web-socket-js-master\flash-src\src\net\gimite\websocket\WebSocket.as,
Line 75 1046: Type was not found or was not a compile-time constant:
Base64Encoder.
C:\Users\User\Desktop\web-socket-js-master\flash-src\src\net\gimite\websocket\WebSocket.as,
Line 75 1180: Call to a possibly undefined method Base64Encoder.
C:\Users\User\Desktop\web-socket-js-master\flash-src\src\net\gimite\websocket\WebSocket.as,
Line 75 1180: Call to a possibly undefined method Base64Encoder.
The docs for Flex Apache show Base64Encoder to be in mx.utils but If I also
try
import mx.utils. the only code hints are LoaderUtil, NameUtil, StringUtil
Why?
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/mx-util-Base64Encoder-cannot-be-found-Flash-CS5-tp4243.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
--
Lee Burrows
ActionScripter