Base64Encoder problem

7 views
Skip to first unread message

alec

unread,
May 6, 2009, 12:32:43 PM5/6/09
to ActionScript 3 Core Library
Dear all,

Hopefully someone can help me as I'm currently stumped.

In FDT, with a checkout of the core library I get errors because the
Base64Encoder class is not included within the src. If I use the swc
that goes away since Base64Encoder is wrapped into the swc

Unfortunately, I also need to publish one swf through Flash CS3 that
imports and uses the Base64Encoder. Here I appear stumped. I can't put
the swc in the components folder because it's not a UI SWC, and so
I've got nothing to 'drag on stage' to import the relevant classes. I
can't put it in the classpath (that silently breaks your swf under all
circumstances, it appears). I can't use the src folder because it
doesn't include Base64Encoder.

Hopefully I'm being monumentally stupid, but it appears to be a widely
reported problem, albeit in a different context. I'm really reluctant
to take one of the Base64Encoder classes that are floating around on
the web, because that will require me to hack the src code of the
corelib library, which will inevitably bite me in the ass sometime
later.

To avoid wasting more than an afternoon on this crazy problem, I ended
up decrypting the swc and extracting the Base64Encoder class, and
putting that back into the source code. I can't find it anywhere else
so desperate time scales called for desperate measures.

Does anyone have a better idea?

Thanks in advance,

Alec McEachran
Reply all
Reply to author
Forward
0 new messages