I was trying to compile flowplayer.content into Flowplayer. Things were working just fine, in general. I updated ./flowplayer.core/src/actionscript-builtin/BuiltInConfig.as by commenting out all the "content" lines, and I made sure to update the plugin-classes variable in flowplayer.core/build.properties.
Running ant in flowplayer.content works just fine. However, when I try to run ant in flowplayer.core, I get the following error:
I'll admit that I'm not a Flash / ActionScript developer, but for the life of me, I can't find where CloseIcon is defined. I did a "grep -ril CloseIcon" trying to look for it in flowplayer.core and flowplayer.content, and I can't find it anywhere. It's not imported from anywhere that I can see. Since I don't know Flash, I thought maybe it might be in one of the .fla files, but since I'm running Linux, I can't run CS3 to check.
Anyway, I figured out that I don't really need the flashplayer.content plugin, so I just disabled it. I'd still really like to know where CloseIcon is supposed to come from, though.
Here's what my environment looks like:
Happy Hacking!
Running ant in flowplayer.content works just fine. However, when I try to run ant in flowplayer.core, I get the following error:
compile:
[echo] Building binary flowplayer.swf
[exec] Loading configuration file /usr/local/flex_sdk_3.4/frameworks/flex-config.xml
[exec] Recompile: /home/jj/Work/247fps/git/projector/flowplayer.core/src/actionscript/org/flowplayer/view/Launcher.as
[exec] Reason: Its dependent file, /home/jj/Work/247fps/git/projector/flowplayer.core/src/actionscript-builtin/BuiltInConfig.as, has been updated.
[exec] Recompile: /home/jj/Work/247fps/git/projector/flowplayer.core/src/actionscript-builtin/BuiltInConfig.as
[exec] Reason: The source file or one of the included files has been updated.
[exec] Files changed: 1 Files affected: 1
[exec] /home/jj/Work/247fps/git/projector/flowplayer.content/src/actionscript/org/flowplayer/content/CloseButton.as(21): col: 24 Error: Call to a possibly undefined method CloseIcon.
[exec]
[exec] _icon = icon || new CloseIcon();
[exec] ^
[exec]
BUILD FAILED
/home/jj/Work/247fps/git/projector/flowplayer.core/build.xml:81: The following error occurred while executing this line:
/home/jj/Work/247fps/git/projector/flowplayer.core/build.xml:104: The following error occurred while executing this line:
I'll admit that I'm not a Flash / ActionScript developer, but for the life of me, I can't find where CloseIcon is defined. I did a "grep -ril CloseIcon" trying to look for it in flowplayer.core and flowplayer.content, and I can't find it anywhere. It's not imported from anywhere that I can see. Since I don't know Flash, I thought maybe it might be in one of the .fla files, but since I'm running Linux, I can't run CS3 to check.
Anyway, I figured out that I don't really need the flashplayer.content plugin, so I just disabled it. I'd still really like to know where CloseIcon is supposed to come from, though.
Here's what my environment looks like:
$ uname -a
Linux jjinux 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC 2009 i686 GNU/Linux
$ ant -version
Apache Ant version 1.7.1 compiled on June 27 2008
$ javac -version
javac 1.6.0_16
$ mxmlc -version
Version 3.4.0 build 9271
Happy Hacking!