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 7629273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:47:48+00:00 2026-05-31T05:47:48+00:00

in flash/actionscript you can provide flashvars to the movie. in actionscript you can access

  • 0

in flash/actionscript you can provide flashvars to the movie.

in actionscript you can access them like this:

var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;

then i can check a parameter like this:

if (paramObj["somekey"] == someValue)
{
}

now i want to make this check case-insensitive. so that it matches SomeKey or soMekEY, etc.

what is the best way to do this?

  • 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-05-31T05:47:50+00:00Added an answer on May 31, 2026 at 5:47 am

    I faced this problem a few years ago when I was working with ColdFusion and Flash, because ColdFusion is case insensitive whereas AS3 is not.

    So here’s what I did to get around that problem.

    public class ObjectUtil {
    
        public static function getParameter(obj:Object, name:String):Object {
            if(obj==null || name="" || name=="undefined") {
                return null;
            }
    
            for (var key:String in obj) {
                if(key.toLowerCase() == name.toLowerCase()) {
                    return obj[key]
                }
            }
            return null;
        }
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm from a Flash ActionScript background. Where I'm from, I can set a dictionary-like
Is it possible to call my ejbs from Flash actionscript? If yes, can anybody
How can I check if a string contains another string in flash / Actionscript
I am a complete beginner in Flash & Actionscript. My pet project is this:
I am coding a simple movie timeline in Flash CS5 actionscript 3.0. I have
I've got this actionscript flash file i'm trying to make work. when a person
I want to create template in flash using actionscript 3, this template will call
I am new to flash and actionscript. I have added some movie clips to
I have a flash (ActionScript 3.0) which uses socket connection to send data to
How do I change text color using flash actionscript 2?

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.