Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Help]Decompiling Flash File

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
sunbinyuan
Newbie cheater
Reputation: 0

Joined: 17 Oct 2008
Posts: 22

PostPosted: Thu Oct 10, 2013 5:43 pm    Post subject: [Help]Decompiling Flash File Reply with quote

I have a flash ebook loader that load the ebook pages on an external website. I found out that the pages was a bunch of SWFs but aren't flash files. The loader actually take the datas in thoses file and render it to a readable image. Is there some way to decompile the file and retrieve the render function

Loader: http://wowcraft(.)tk/ebooks/test/sec4intersectionsn.php
Edit: I found this function in the loader caller SavePdf. How can I activate it or something?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8586
Location: 127.0.0.1

PostPosted: Mon Oct 14, 2013 6:27 pm    Post subject: Reply with quote

The page you linked to loads the swf from:
wowcraftdot tk/ebooks/test/lib/Flipbook_Demo/OrganizerSupport.swf

Afterward the main list seems to load books using:
Code:
        public function itemChange(event:ListEvent) : void
        {
            var _loc_4:* = undefined;
            var _loc_2:* = event.currentTarget as TileList;
            var _loc_3:* = _loc_2.selectedItem;
            if (parentApplication.itemClickeStatus == false)
            {
                Application.application.cBookID = _loc_3.bID;
                Application.application.cCollID = _loc_3.cID;
                _loc_4 = Application.application.collectionPath + "collection/" + _loc_3.cID + "/" + _loc_3.bID + "/";
                getAnnotation();
                openBook(_loc_4, _loc_3.bookName);
            }
            return;
        }// end function


openBook is:
Code:
        public function openBook(param1, param2:String) : void
        {
            BookURL = param1;
            BookWindow_obj = new BookWindow();
            BookWindow_obj.setTitle(param2);
            setBookSize();
            popupref = PopUpManager.addPopUp(BookWindow_obj, this, false);
            return;
        }// end function


With that, you can scan the rest of the ActionScript to find the collection path is:
Code:
public var collectionPath:String = "http://www.webplus.cheneliere.ca/";


More into this, you can find how each book is added tracing the addBook function, which leads back to using:
Code:

http://www.webplus.cheneliere.ca/bd_phil/organizer.php


The code makes some sort of POST request to it to gain the XML list of books, etc.

After that you're on your own.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites