A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Read/Access objects from external SWF files

  1. #1
    Junior Member
    Join Date
    Apr 2008
    Posts
    1

    Read/Access objects from external SWF files

    I have for weeks been trying to access/read objects from external SWF files without any success.
    I load SWF file into my Flex application, but how do I go further to access all objects of that MovieClip?
    Is there any way to parse all objects of loaded MovieClip(SWF) in order to read the text?

    I basically want to search SWF files as if it was PDF files. FlashPaper2 has this function and its only 1 SWF files so some how it must be possible. I just have no idea where to look or where to start.

    I can get the text out of SWF using swfstring or swfdump - but that is almost useless as it cant be used to mark words with "live" search...

    SWF example
    http://dev.rb.no/pdf2swf.swf

    Thank you

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    Hi,

    it seems that flashpaper relies on MovieClip.getTextSnapshot() to search text

    Musicman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center