Results 1 to 2 of 2

Thread: qt and swf object

  1. #1
    Join Date
    Jan 2007
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default qt and swf object

    hi, can i launching swf (flash file) inside qt software? and when i clicked a button in swf, can i launching a function at qt?

    can i use externalinterface.call method?

    The ExternalInterface class is the External API, an application programming interface that enables straightforward communication between ActionScript and the Flash Player container; for example, an HTML page with JavaScript, or a desktop application with Flash Player embedded. Use of ExternalInterface is recommended for all JavaScript-ActionScript communication.

    Thank you for helps,

  2. #2
    Join Date
    Jul 2008
    Posts
    139
    Thanks
    9
    Thanked 18 Times in 15 Posts
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: qt and swf object

    Hi,
    I am not sure about actionscript. I think the correct method would be to use Phonon, it is a multimedia player in QT. There is a player called 'swfdec', google it, that may help.
    My flashplayer API is in another application, and I use a communication method between the two processes to play the swf file.
    In my flashplayer API application I reserve a region of the framebuffer when an SWF object is playing. Of course the main qt app cannot access this region at the time the SWF object is playing.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.