![]() |
![]() |
![]() |
![]() |
|
|
#1 |
|
Junior Member
Join Date: Feb 2012
Posts: 10
|
After browsing the forums and collecting all the various docs (FSCommand guide, sample swfs, etc) I think I'm ready to try a project.
My question is, does anyone build using a free tool chain? I don't really want to drop the cash Adobe wants for Flash just for this project so I was thinking of going the swfmill/MTASC/pure ActionScript route. Also as a result, I am at a bit of a disadvantage because I can't view .fla files so the decompiled J3 UIs are useless to me. Are there any off-board coding resources/sources to look at? Lastly the first real problem I can't figure out is how to actually ACCESS the Cowon fscommand fuctions. I can't really compile a swf if I cannot import/load those functions Thanks in advance. |
|
|
|
|
#2 | |||
|
S9/J3 Flash Developer
Join Date: Jan 2010
Location: Earth
Posts: 398
|
Quote:
Quote:
Also, I think cowon's samples UCI's (on their website) have separate .as files. They will be hard to decipher without the corresponding fla, but you should be able to get something out of looking at those. Quote:
__________________
Apps = [BrainFail] [Lava!] [Nyan Widget] [Cube Widget] Tools = [Album Art Optimizer] [ Cowon S9 | Titanium | 32GB ] + Audio Technica ATH-ANC7B ![]() |
|||
|
|
|
|
#3 | |
|
Senior Member
Join Date: Oct 2007
Location: Finland
Posts: 454
|
Quote:
|
|
|
|
|
|
#4 |
|
(A)rrogance (B)reeds (I)gnorance
Join Date: Jan 2011
Posts: 975
|
aye, adobe software is pretty pricey, and thanks for adding this thread, i think a collection of alternatives and some basic intro's will be a great addition to this forum, i got more than a lil lost when i last took a stab at it a few months ago and gave up.
|
|
|
|
|
#5 |
|
Feel free to call me 'Kizu' ;)
![]() ![]() |
This is a program I additionally use (besides Adobe Flash): http://www.flashdevelop.org/
And here are some guides to get started: http://www.flashdevelop.org/wikidocs....php?title=AS2 (Only Workflow 3 will work for you, the others require Adobe Flash)
__________________
me @ Google+ | Twitter | Flickr | deviantART audio setup: Cowon J3 32gb | Cowon Z2 16gb | Audio Technica ATH-M50 other: Galaxy Nexus | Nexus 7 |
|
|
|
|
#6 |
|
Junior Member
Join Date: Feb 2012
Posts: 10
|
@chickenbellyfinn
Time limited trials won't work that well for me as I don't have time to sit down and use it everyday so I'd end up wasting half the trial period, but thanks anyway. @el_maco Very helpful. Glad to see it is possible to do without Adobe. Also the forward declaration of ext_fscommand2 was exactly what I was missing to compile. Wasn't sure where to put it. Thanks. @Kizune Yes I was aware of FlashDevelop when I was searching for Adobe alternatives. That's what led me to the free toolchain workflow. FD is nice but just another Windows only IDE. I can just as easily get more power out of vim with a few tweaks to my config files. Thanks guys, if you've got anymore tips keep 'em coming. If I create anything worthwhile I'll throw it up on github so everyone can grab the source. |
|
|
|
|
#7 |
|
Junior Member
Join Date: Feb 2012
Posts: 10
|
After reading through the S9 boards I've found out that there is a lot more I did not know. Here are a couple questions I hope a few experienced devs might know:
1) Is it possible to get the key states directly from the lower level through ext_fscommand2 (e.g. ext_fscommand2("GetKeyState", PLAY_BUTTON)) or some other undocumented feature? I assume it is impossible from what I've read because it seems like the launcher.swf controls input and just creates ActionScript Key events that it tunnels to the loaded UCI. 2) Is it possible at boot to load another mode other than mainmenu by default? I'm not really interested in recreating a mainmenu and would rather boot directly to music mode. Thanks in advance. |
|
|
|
|
#8 |
|
Senior Member
Join Date: Oct 2007
Location: Finland
Posts: 454
|
1) AFAIK, no. But what's wrong with onKeyDown event?
2) again, I don't think so. The same thought passed my mind as well. For me the main menu is mostly just an unnecessary obstacle on my way to the music mode. I even thought about naming the music UCI as mainmenu but then there are those rare occasions (e.g. when I need the radio etc) when this approach would not work. |
|
|
|
|
#9 |
|
Member
Join Date: Oct 2011
Posts: 182
|
"2) Is it possible at boot to load another mode other than mainmenu by default? I'm not really interested in recreating a mainmenu and would rather boot directly to music mode."
rename the music.swf to mainmenu3 and set the j3 to choose that menu on startup. you still have mainmenu1 and mainmenu2 left to select the other modes if needed. |
|
|
|
|
#10 |
|
Feel free to call me 'Kizu' ;)
![]() ![]() |
But how would you reach those mainmenus?
__________________
me @ Google+ | Twitter | Flickr | deviantART audio setup: Cowon J3 32gb | Cowon Z2 16gb | Audio Technica ATH-M50 other: Galaxy Nexus | Nexus 7 Last edited by Kizune; 05-14-2012 at 02:48.. |
|
|
|
|
#11 |
|
Member
Join Date: Oct 2011
Posts: 182
|
good point.
i would imagine he'd have to code the large M to open one of the other main menus - although im not sure if the power slider will appear. (might try it tonight when i get home) |
|
|
|
|
#12 |
|
Member
Join Date: Oct 2011
Posts: 182
|
yep.
search for case 2: { saveConfig(); _global.LoadSWF(_global.MODE_MAIN); break; } and insert ext_fscommand2("EtcUsrSetMainmenu", "1"); after saveConfig(); pressing the M button takes you back to the list main menu http://www.mediafire.com/?a3aa75k80cirrxx |
|
|
|
|
#13 | |
|
Junior Member
Join Date: Feb 2012
Posts: 10
|
Quote:
It only triggers on 1 key down. For multikeys I have to script the state logic. Not difficult but would be nicer to just poll the entire state of the device at once which I'm sure the C-side does anyway. Sorry for all the questions. Right now I'm still reading and writing down info to I'll finally hit the code in a few days and try some of this stuff out on my own. |
|
|
|
|
|
#14 |
|
Member
Join Date: Oct 2011
Posts: 182
|
http://bruce-lab.blogspot.co.uk/2010...compilers.html
FSCommand reference guide v1.5 (which is in korean) lists further uci commands i didnt try everything in the renamed music.swf but it seemed to work ok - i'll check tonight when i get home. or you can download the mediafire file and let me know if it doesnt work. Last edited by jpgr; 05-15-2012 at 01:34.. Reason: added footnote |
|
|
|
|
#15 |
|
Junior Member
Join Date: Feb 2012
Posts: 10
|
Got a link to the V1.5 guide? I searched Cowon.com, but all I found was 1.3 under the J3 section.
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|