SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Evangelist silversurfer5150's Avatar
    Join Date
    Aug 2010
    Posts
    532
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ActionScript and Javascript Integration

    Hi there,

    I recently began work on a custom chrome(controls) for YouTube chromeless player and I realized that in order to accomplish some of the things I wanted, I had to make calls to AS3 from Javascript.

    I am only beginning to explore AS and I was wondering whether this is an advisable thing to do? If so is there a standard way of doing it?

    thanks
    "Persistence is the path to perfection"

  2. #2
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,514
    Mentioned
    37 Post(s)
    Tagged
    1 Thread(s)
    Have a look at the externalInterface class. Popular video players like longtailvideos integrate with JavaScript, so that's another source of information worth exploring

  3. #3
    SitePoint Evangelist silversurfer5150's Avatar
    Join Date
    Aug 2010
    Posts
    532
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey thanks very much thats very kind
    "Persistence is the path to perfection"

  4. #4
    Non-Member
    Join Date
    Jan 2008
    Location
    N43 44.4824', W079 13.9408
    Posts
    2,220
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is action script almost identical to JS ? Always wondered, never asked

  5. #5
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,514
    Mentioned
    37 Post(s)
    Tagged
    1 Thread(s)
    At a basic non object-orientated level, javascript is similar to as1/2 (they are both based on the ecmascript standard), however as3 in particular is more advanced, with a far wider ranging api, typing and object orientation features from later ecmascript revisions that haven't made their way into mainstream javascript

  6. #6
    Non-Member
    Join Date
    Jan 2008
    Location
    N43 44.4824', W079 13.9408
    Posts
    2,220
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the info.


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
  •