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

  • Home
  • SEARCH
  • 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 8554177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:49:17+00:00 2026-06-11T14:49:17+00:00

I have a problematic piece of code that uses Wordnik API to fetch word

  • 0

I have a problematic piece of code that uses Wordnik API to fetch word definitions. This code works fine in “local trusted” security sandbox, but doesn’t work online – it produces a “security sandbox violation” (but no common ways of solving sandbox violation helped).

I’ve consulted this with Wordnik API creators and they didn’t solve my problem directly but pointed me to a working example. Indeed their example works, but it uses Flex class “Application”.

Same code that doesn’t work in a standalone .as class, does work when used in Flex Application.

My question is: what are the differences (especially security differences) between Flex Application class and normal AS3 class extending Sprite?

I’m using Flashdevelop to compile. That can be important as Wordnik guys said that it worked fine in Flash Builder – although they didn’t provide the details and I couldn’t reproduce it.

I can attach the code if it is needed.

  • 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-11T14:49:18+00:00Added an answer on June 11, 2026 at 2:49 pm

    So, I can’t understand what is going on exactly, but I see what’s happening – and seems, that it is not linked to flash security at all.

    When you use mx app, WordnikClient sends serialized packets, that are different from non-mx app’s packets:

    mx app:

    <object type="flex.messaging.messages.CommandMessage">
    

    fl app:

    <object>
    

    And requests:

    <object type="flex.messaging.messages.HTTPMessage">
    

    vs

    <object>
    

    But when you are in local trusted sandbox, client uses GET requests, for example:

    http://api.wordnik.com/v4/word.xml/drama/definitions?limit=1&useCanonical=true&api_key=148404f291e734bbf372b66b13785d85cb962394b22a8384e
    

    Server returns xml.

    So,

    1) I can propose you to use just GET requests and parse XML ;). At least while this problem happening

    2) Try to send this report to support. I think, that the problem can be in serialization process.

    Hope it will help. Regards

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This has been a rather problematic issue on numerous occasions. We have alot of
I have seen that the situation is very problematic after reading these: IE6/IE7 css
I have this weird issue. I am trying to create a service that synchs
I don't understand why this is occurring. Take the following piece of psuedo code:
I have one problematic question on custom validator at client side in asp.net? This
I have a piece of code in an iPhone app, which removes all subviews
I have a Java Applet that uses AWT. In some (rare) circumstances, the platform
I have been using a specific piece of code to delete files from a
I have this code here, which get a plain text, and turns it to
I have two Document Models that are proving problematic: class Component include Mongoid::Document include

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.