Jlg Flash Code

0 views
Skip to first unread message

Henoch Holverson

unread,
Aug 5, 2024, 8:42:28 AM8/5/24
to nyasanqueli
Ifound a Flash program online that would be perfect for a project I'm working on. Obviously with web content you can usually just use your browser to view the source code of whatever HTML, PHP, etc that you may be looking at. But when it comes to Flash it seems we're left in the dark in terms of viewing source code.

What do you need the source code for? If it's for a particular effect (some 3D voodoo you have no clue about), ask the author how it's done instead of trying to reverse-engineer yourself. That'd be easier, anyway.


It is actually possible for Flex SWFs to be compiled with the source code bundled inside, although this is at the discretion of their author and is typically only done for tutorials or didactic examples (as it increases SWF size slightly). Right-click on a SWF in a web page and if the "View Source Code" option appears, then you're in luck.


The flash programmer for you device is integrated into CCS so the only thing you need to do is to have the linker allocate your code to the flash region of your device. This is often done with the linker command file. I would suggest taking a look at the default flash linker command file for your device (.\ccsv7\ccs_base\c2000\include\2837x_FLASH_lnk_cpu1.cmd). Note how it places most of the code in flash (.text section). Once you build an application that is configured to load/run from flash, just load it in CCS like you were loading it before. CCS figures out from the generated executable where to load/flash the various sections of code.

3a8082e126
Reply all
Reply to author
Forward
0 new messages