Skip to main content

  • Login | Forgot Password?
Ribbit Developer logo

Flash 2.6 Release Notes

Simplified Login Method

The login method will now only need two Boolean parameters to pass in whether to load the call manager and/or message manager.

The login fields like username, password will be pasted in as part of the loginParam object.

Login Param Fields

Name

Code View

username

authMgr.loginParam.username

password

authMgr.loginParam.password

appID

authMgr.loginParam.appID

domain

authMgr.loginParam.domain

token

authMgr.loginParam.token

(you can find your appID and domain in the App Configuration section in your developer portal)

After setting the Login Params, you can simply call the login method with the two Boolean parameters like below.

            authMgr.login(true,true);

YouPhone

YouPhone token based calls now work in 2.6.

First, you will need to login into the developer portal and create a youphone token for your account. You can either start a new app or if you have an existing app, then you can click the one you would like to add a token too from the list.

If you don’t already have a user added to the app, then you can add a new user.

Once the user has been added or selected, you can go into the users profile and click the “get token” button to generate a token.

Clicking the “get token” button will bring you to the Token Request page were you will select the user, the number (caller id) you will be calling from, type of token which in this case will be ‘Uphone’, and finally the number you would like call each time the application uses this token.

Now that you have generated a token string, which you can find in the edit user section under tokens, you can now set that in the loginParams.

            authMgr.loginParam.token = “tokenFromDevPortal”;

Note: If you pass in a token string into the loginParam, the username, password, appid and domain will be ignored.

DTMF

Sending DTMF tones has been fixed in the 2.6 version. Now the in the sendDTMF method takes two parameters. The first parameter is the activeCall object that was set when the call was connected. The second is the DTMF digit that is passed into the call object.

            callManager.sendDTMF(activeCall, digit);

Signal Strength

Signal Strength is a new property that was added in 2.6. Now you can display the strength of the connection you have to Ribbit. Signal Strength was added to the Call Manager class and will return an integer between 0 to 5.

            private var ribbitSignal:int;

            ribbitSignal = callManager.signalStrength;

  • Flash

Flash SDK (v. 2.6)

  • Download
  • Release Notes
  • API Documentation
  • API Pocket Guide
  • Sample Apps

Articles & Tutorials

  • Getting Started with Flash
  • Creating an Air Application
  • Creating an Air App with Flash CS3
  • Company
    • Corporate Site
    • About Us
    • Careers
    • Contact Us
    • LegalPrivacy
    • News
    • Media Kit
  • Products
    • Platform
    • Mobile
    • Salesforce
    • Oracle
  • Solutions
    • Digital Agencies
    • Carriers
    • Systems Integrators
    • Hosted Contact Centers
  • Community
    • Corporate Blog
    • Developer Blog
    • CRM Blog
    • Moble Blog
    • Idea Wall
    • Events Calendar
  • Support
    • Developer Help
    • Ribbit for Salesforce Help
    • Ribbit for Oracle Help
    • Ribbit Mobile Help
    • Feedback
    • Developer Forums
    • Ribbit Mobile Forum
  • Developers
    • Developer Center
    • Develop for Ribbit Mobile
    • Register
    • Ribbit Labs

© 2010 Ribbit Corporation. All Rights Reserved.