Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7728773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:48:10+00:00 2026-06-01T05:48:10+00:00

in flashbuilder debugger mode, I can examine all the props/vals of the FacebookSession object

  • 0

in flashbuilder debugger mode, I can examine all the props/vals of the FacebookSession object returned by FacebookDesktop.login when I place a breakpoint in my loginhandler method.

however, I cannot seem to iterate through the FacebookSession object using for…in. I have checked to see if the FacebookSession is dynamic using ObjectUtil.isDynamicObject(…), but it is not, so a for..in should work.

public function gf_handle_facebook_login_return( argl_success : Object ,
                                                 argl_failure : Object  ) : void 
  { // IF I ADD breakpoint here, I get a fully populated argl_success object in flashbuilder's Debugger Variables tab.

    trace( "gf_handle_facebook_login_return , A : " + typeof( argl_success ) + " , " + argl_success[ "uid" ] ) ; // works
    trace( "gf_handle_facebook_login_return , C : " + ObjectUtil.isDynamicObject( argl_success ) ) ; // false ... is NOT a dynamic class

    var lvo_FBS : FacebookSession = FacebookSession ( argl_success ) ; // tried it with and without casting
    var lvn_prop :* ;
    for ( lvn_prop  in lvo_FBS) 
      { trace( "gf_handle_facebook_login_return , D : " + lvn_prop   ) ; // is never called
      }
    for each( lvn_prop   in lvo_FBS) 
      { trace( "gf_handle_facebook_login_return , E : " + lvn_prop   ) ; // is never called
      }
  }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T05:48:12+00:00Added an answer on June 1, 2026 at 5:48 am

    For in will only loop through dynamic properties and as you said it is not a dynamic.

    Try this example

    //Get an XML description of this class
    //and return the variable types as XMLList with e4x
    var varList:XMLList = flash.utils.describeType(myVO)..variable;
    
    for(var i:int; i < varList.length(); i++){
    //Show the name and the value
    trace(varList[i].@name+':'+ myVO[varList[i].@name]);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Flashbuilder 4.6 and can't get sorting of columns in my s:DataGrid to
When I use FlashBuilder to connect to a remote Java object using BlazeDS, FlashBuilder
I'm new to Flex/Actionscript/FlashBuilder, and I don't quite get all the organization concepts. Our
I am hoping someone can help me. I have the following function in FlashBuilder
I've tried everything, firewalls, reinstalling etc etc. I can't get the debugger to connect
I'm working with FlashBuilder 4.6 to develop Android app. In the application there is
I recently upgraded to the latest version of flashbuilder. Imported my the project I
I developed a browser-deployed full-text search app in FlashBuilder which communicates RESTfully with a
It's growing pains time again. Some of our stuff requires FlashBuilder 4 and some
I have a flashbuilder project with a big image. The problem is that the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.