to determine if a competing copy of the class from another SWC
> is newer or older.
>
> -Alex
>
> On 5/29/15, 6:30 AM, "Left Right" wrote:
>
>>Hello list,
>>
>>Recently I wanted to do the following: take a SWF file, and extract
>>each of the symbo
Hello list,
Recently I wanted to do the following: take a SWF file, and extract
each of the symbols it defines into a separate SWF file. Sometimes I
also have a matching SWC file for the input SWF file, in which case I
can simply do something like this:
compc -library-path input.swc -ic class.to.
private List< String > extractMetaDataLines()
{
final ArrayList< String > metaDataLines = new ArrayList< String >();
int currentLineIndex = 0;
int start = 0;
int end = 0;
for ( final String line : getLines() )
{
if ( line.contains( METADATA_TAG ) )
{
if ( lin
Sorry to bump an old thread. I'm now trying to build FlexPMD project.
Obviously it doesn't build and I can't find any build instructions
(I've checked the flexpmd-pmd-update branch from
git://git.apache.org/flex-utilities.git). My goal is really to have
the FlexPMD bindaries (I'm not going to work
[mxmlc] Error: enableTelemetry
BUILD FAILED
build.xml:367: The following error occurred while executing this line:
build.xml:256: mxmlc task failed
at flex.ant.FlexTask.executeInProcess(FlexTask.java:309)
at flex.ant.FlexTask.execute(FlexTask.java:240)
at org.apache.tools.ant.UnknownElement.ex
;
>
>
>> Could this be improved to have a better interface?
>
> Darrell, don't -error-problems, -warning-problems, and -ignore-problems allow
> the problems to be specified either by fully-qualified class name or by
> numeric problem code? And isn't the numeric
ot;get:" label
>>>from
>>> the anonymous function to see it that compiles. I'm assuming this code
>>> works in the old compiler.
>>>
>>>
>>> -Darrell
>>>
>>> On Tue, Dec 30, 2014 at 11:40 AM, Alex Harui wro
see the ProblemSettingsFilter class. This class handles the
> filtering and implements mxmlc options that ignore warnings.
>
>
> -Darrell
>
> On Tue, Dec 30, 2014 at 11:41 AM, Alex Harui wrote:
>
>> I don’t know for sure. Maybe Gordon or Darrell know if warning
>&
e, Dec 30, 2014 at 6:43 PM, Alex Harui wrote:
>
>
> On 12/30/14, 3:50 AM, "Left Right" wrote:
>
>>PS. Is there a way to control what compression algorithm is chosen by
>>the compiler to produce SWFs?
>>
>>On Tue, Dec 30, 2014 at 1:49 PM, Left Right wrot
f the project.
This allowed me to keep all paths intact.
How much work it would be to add this to the current build script -
I'm not yet ready to tell, but I'll look into this in the next few
days.
...
On Tue, Dec 30, 2014 at 6:10 PM, Alex Harui wrote:
>
>
> On 12/30/14, 1:06 AM,
Tue, Dec 30, 2014 at 5:03 PM, Left Right wrote:
> I'm getting an error:
>
> TypeError: Error #2022: Class PlayerResource$ must inherit from
> DisplayObject to link to a symbol.
>
> for the class, which looks like this:
>
> package com.powtoon.assets
> {
>
I'm getting an error:
TypeError: Error #2022: Class PlayerResource$ must inherit from
DisplayObject to link to a symbol.
for the class, which looks like this:
package com.powtoon.assets
{
import flash.utils.ByteArray;
[Embed(source="../../../../assets/hx-player.swf",
mimeType="applicati
PS. Is there a way to control what compression algorithm is chosen by
the compiler to produce SWFs?
On Tue, Dec 30, 2014 at 1:49 PM, Left Right wrote:
> I understand that not all LZMA variants are understood by ByteArray,
> but it would be super-friendly if Flex SDK generated such SWFs
I understand that not all LZMA variants are understood by ByteArray,
but it would be super-friendly if Flex SDK generated such SWFs which
could be read using ByteArray...
Attached SWF was compiled using Falcon, but can't be read using ByteArray.
Thanks!
timeline.swf
Description: application/sho
, ApplicationDomain.currentDomain));
}
}
With the above commented, the compilation succeeds.
On Tue, Dec 30, 2014 at 11:23 AM, Left Right wrote:
> [mxmlc]
> /home/wvxvw/workspace/hx-player/player/as3/com/powtoon/ui/Stylable.as
> [mxmlc] Error: Internal error in ABC
I looked into mxmlc -help warnings but I don't see an option to void
the warning issued on assignment inside while (and maybe other such
places). Is there one, or it simply isn't implemented yet?
Thanks!
[mxmlc]
/home/wvxvw/workspace/hx-player/player/as3/com/powtoon/ui/Stylable.as
[mxmlc] Error: Internal error in ABC generator subsystem, when
generating code for:
/home/wvxvw/workspace/hx-player/player/as3/com/powtoon/ui/Stylable.as:
java.lang.IllegalArgumentException: Label
org.apache.flex
on on Mac or Windows.
Best,
Oleg
On Mon, Dec 29, 2014 at 11:37 PM, Alex Harui wrote:
> Good to know you got it working. Patches to fix case-sensitivity issues
> are welcome.
>
> -Alex
>
> On 12/29/14, 8:43 AM, "Left Right" wrote:
>
>>Case sensitivity als
ar
Thanks!
On Mon, Dec 29, 2014 at 6:26 PM, Alex Harui wrote:
>
>
> On 12/29/14, 8:12 AM, "Left Right" wrote:
>
>>Apparently it copied it to a wrong place... where should it be? After
>>the build I have it in $FALCON_HOME/../lib/ but that doesn't seem to
&
ittent but rare problems with sound).
On Mon, Dec 29, 2014 at 6:12 PM, Left Right wrote:
> Apparently it copied it to a wrong place... where should it be? After
> the build I have it in $FALCON_HOME/../lib/ but that doesn't seem to
> be the proper place for it, or is it?
> Actuall
it tests
> don’t. It might also be possible to launch a browser on Linux instead of
> standalone player.
>
> -Alex
>
> On 12/29/14, 2:12 AM, "Left Right" wrote:
>
>>Another question: what do I miss if some junit tests fail
>>(specifically those related to ru
I'm trying to build a project previous built with SDK 4.6 and I'm getting this:
[mxmlc] /home/wvxvw/projects/flex-sdk/frameworks/flex-config.xml(65):
Error: unable to open '{playerglobalHome}/11.1/playerglobal.swc'
[mxmlc]
[mxmlc]
The "missing" SWC is here:
/home/wvxvw/projects
indClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> ... 13 more
>
> What is this?
>
> Thanks
>
> On M
va:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 13 more
What is this?
Thanks
On Mon, Dec 29, 2014 at 11:00 AM, Left Right wrote:
> OK, I figured out that par of the problem.
>
> Ant defines macro to have JFlex.jar, but downloads jflex.jar,
> that would probably wo
f all the dependency
> downloads as well as the copying of the relevant parts of the SDK,
> etc.
>
> EdB
>
>
>
> On Mon, Dec 29, 2014 at 9:41 AM, Left Right wrote:
>> Actually, I've checked, CacheBuilder isn't in that guava.jar.
>>
>> On Mon, Dec 29,
I had what git clone brought me.. but now I replaced it with whatever
yum had installed and it finds Guava, so that's ok.
Next problem, however:
[javac]
/home/wvxvw/projects/flex-falcon/compiler/generated/src/org/apache/flex/compiler/internal/parsing/mxml/RawMXMLTokenizer.java:339:
error: ca
Actually, I've checked, CacheBuilder isn't in that guava.jar.
On Mon, Dec 29, 2014 at 10:38 AM, Left Right wrote:
> Hi Alex,
>
> I've tried to build from develop branch, and I think I could get
> further than before, however, there're problems with dependencies
Hi Alex,
I've tried to build from develop branch, and I think I could get
further than before, however, there're problems with dependencies:
[javac] Compiling 1777 source files to
/home/wvxvw/projects/flex-falcon/compiler/generated/classes
[javac] warning: [options] bootstrap class path n
h the effort?
Thanks,
Oleg
On Sun, Dec 28, 2014 at 6:55 PM, Alex Harui wrote:
> Where did you get the source for Falcon? If the repo, make sure you are
> pulling from the “develop” branch and not “master”.
>
> On 12/28/14, 8:31 AM, "Left Right" wrote:
>
>>So
OK... it appears that isn't the JFlex Ant task, but
just a macro defined in the same build file... how quaint...
On Sun, Dec 28, 2014 at 6:31 PM, Left Right wrote:
> Some more info: jflex -d
> /home/wvxvw/projects/flex-falcon/compiler/generated/src/org/apache/flex/compiler/internal
make
it add jars to the classpath?
Thanks!
On Sun, Dec 28, 2014 at 6:02 PM, Left Right wrote:
> I figured this might be useful too:
>
> $ yum info java_cup
> Loaded plugins: auto-update-debuginfo, langpacks, refresh-packagekit
> Installed Packages
> Name: java_cup
>
rom repo : fedora
Summary : Java source interpreter
URL : http://www.cs.princeton.edu/%7Eappel/modern/java/CUP/
License : MIT
Description : java_cup is a LALR Parser Generator for Java
On Sun, Dec 28, 2014 at 5:57 PM, Left Right wrote:
> Hello,
>
> I was wondering, what
Hello,
I was wondering, what do I need to build Falcon, and if possible, on Linux :)
I've got as far as this:
raw.as.tokenizer:
[echo] Generating RawASTokenizer
[java] Executing
'/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.4.1.fc19.x86_64/jre/bin/java'
with arguments:
[java] '-ja
bout are used when 'printing' a SWF? SWFEncoder could just plain be
> broken and MXMLC (and SWFDump) never calls that broken method.
>
> I agree the specs are confusing. Again, you might be able to triangulate
> by looking at how the Falcon code base writes out Matrix.
>
her on the left (i.e. when Haxe
writes -2, it'll write #b101, but the code above expects it to be
#b11.
Best,
Oleg
On Fri, Aug 22, 2014 at 9:16 PM, Left Right wrote:
> This code is used in swfdump (this is how I found it), but I didn't
> know whether it's used by mxml
> -Alex
>
> On 8/18/14 3:07 AM, "Left Right" wrote:
>
>>http://pastebin.com/KjvksPDX
>>
>>I think, I'm getting closer: when Flex compiler code encodes, and when
>>Flash player decodes /negative/ 16.16 fixed point numbers, it is
>>mistaken b
http://pastebin.com/KjvksPDX
I think, I'm getting closer: when Flex compiler code encodes, and when
Flash player decodes /negative/ 16.16 fixed point numbers, it is
mistaken by one bit, so the whole part becomes doubled.
On Sun, Aug 17, 2014 at 5:26 PM, Left Right wrote:
> Sorry, t
Sorry, the table looks crooked, here's a better view:
http://pastebin.com/rhw9sFtQ
Best,
Oleg
On Sun, Aug 17, 2014 at 5:23 PM, Left Right wrote:
> https://git-wip-us.apache.org/repos/asf/flex-sdk/repo?p=flex-sdk.git;a=blob;f=modules/swfutils/src/java/flash/swf/SwfEncode
https://git-wip-us.apache.org/repos/asf/flex-sdk/repo?p=flex-sdk.git;a=blob;f=modules/swfutils/src/java/flash/swf/SwfEncoder.java;h=03a100dda92989d537b00b96033d614c73c47801;hb=HEAD#l320
This is the code I'm talking about.
What is strange about it: it doesn't do what the comment above it
says. For
being only one of them, but I'm not
in a decision making position, at most I could suggest.
Best,
Oleg
On Sun, Jul 20, 2014 at 10:37 AM, Alex Harui wrote:
> On 7/18/14 7:17 AM, "Left Right" wrote:
>
>>I'm using SDK 4.6.0 (the last version officially released b
I'm using SDK 4.6.0 (the last version officially released by Adobe),
the RSLs load fine on machines with older players, but not on Windows
with FP14. Frankly, I'm looking for reasons to update. Cached RSLs had
been a major argument against updating so far, so I'm looking to gain
some confidence whe
Hi list,
I know this isn't strictly on topic, but hopefully, close enough.
Would anyone happen to know whether there had been changes in Flash
Player 14 preventing it from loading RSLs from Adobe CDN?
I work on Linux machine and I don't have the latest FP version. In FP
12 RSLs load without a war
Oh, I see, thanks, I think I've got MXMLC to compile, haven't tried
Falcon yet. But if I get this job, I'll probably have to, so will also
have to look into what's possible to do with the compiler :)
Best,
Oleg
On Mon, Nov 25, 2013 at 8:39 PM, Alex Harui wrote:
> 'ant modules' should just build
43 matches
Mail list logo