A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Combobox breaks b/c of no stage access

  1. #1
    Retired SCORM Guru PAlexC's Avatar
    Join Date
    Nov 2000
    Location
    NJ
    Posts
    1,387

    Combobox breaks b/c of no stage access

    So I've got a swf that's loaded from one domain into another, without the host swf setting Security.allowdomain.

    The problem is I'm using comboboxes in the guest swf, which try to add a few listeners to the stage.

    I'm able to work around one issue by setting a flag when a CB is opened, then having a catch-all mc listen for clicks, see if they're open, and close them and use focus manager to shift focus.

    However, the scrollbars in the list boxes don't work. Any ideas how to work around using a combobox without stage access?
    "What really bugs me is that my mom had the audacity to call Flash Kit a bunch of 'inept jack-asses'." - sk8Krog
    ...and now I have tape all over my face.

  2. #2
    Senior Member
    Join Date
    Jul 2006
    Location
    San Jose, CA
    Posts
    334
    I'm guessing you don't have access to alter the guest swf?

    There's the Event.ADDED_TO_STAGE event that is suited for this sort of thing...
    I (Love | Hate) Flash.
    ----
    Save a version back so others may help you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center