Results 1 to 4 of 4

Thread: Error in AS3??

  1. #1
    Member
    Join Date
    Mar 2010
    Location
    Ho Chi Minh
    Posts
    5

    Error in AS3??

    When I use AS3, I use: include "lsjavascriptbridge.as" then create
    var bridge = new JavaScriptBridge("flashObject") but have a error like that: Method cannot be used as a contructor. Does the lsjavascriptbridge.as library appropriate to AS3 language???

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,

    sorry but lsjavascriptbridge.js is an AS2 class.

  3. #3
    Hi,

    Does LS support AS3 for Flash clients by now? If yes, from which version?

    BR,
    Dejan Milosevic

  4. #4
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi Dejan,

    we support AS3 through the Flex client
    http://www.lightstreamer.com/distros...nce/index.html

    on the other hand, the Flash client, that's the one that gets its data from the JavaScript client, is still an AS2 component
    http://www.lightstreamer.com/distros...nce/index.html

    So you can either use the flex client, or, instead of using our Flash client, use the FABridge.
    Its original documentation is here: http://help.adobe.com/en_US/flex/usi...1f3a-7ffd.html
    I've not checked but I think that even after the migration to apache the FABridge is still available directly in the sdk. Here is its bugtracking: https://issues.apache.org/jira/brows...-summary-panel

    Would that work for you?

 

 

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
  •  
All times are GMT +1. The time now is 12:53 PM.