Using query strings works on every browser except IE7

I made this file to pass the variables through the url and
then use aps or java to append the variables either to the
flashvars in ex: <param name="flashvars"
value="'+document.location.search+'" or to the filename in ex:
<embed src="swf/cpk_prod_kids.swf'+document.location.search+'"
width="544" height="397" Both methods work on all browsers EXCEPT
IE7 ???? below is all the Actionscript in the file: in advance
thanks for any and all help!!!!
// variables to hold common info....
aspPage = "cpk_prod_kids.aspx?";
sectionNSub ="&section=products&subs=mtcs";
//watch the commercial link...
wtcLink = "
http://www.playalongtoys.com";
// Product array
//change values to store each file name / location. Add to
the array as needed.
prod_a = new Array;
prod_a[0] = "productSWF/1.swf";// number of products in
array. This feature is currently unused....
prod_a[1] = "productSWF/1.swf";
prod_a[2] = "productSWF/2.swf";
prod_a[3] = "productSWF/3.swf";
prod_a[4] = "productSWF/4.swf";
prod_a[5] = "productSWF/5.swf";
prod_a[6] = "productSWF/1.swf";
prod_a[7] = "productSWF/2.swf";
prod_a[8] = "productSWF/3.swf";
prod_a[9] = "productSWF/4.swf";
prod_a[10] = "productSWF/5.swf";
prod_a[11] = "productSWF/1.swf";
prod_a[12] = "productSWF/2.swf";
//sets the dynamic text
dt = new Array;
dt[0] = 1;
dt[1] = "this is text1";
dt[2] = "this is text 2";
dt[3] = "Lorem ipsum dolor sit amet, ";
defaultText = "this is the standard text, either the correct
text has not loaded or will load in a moment";
// button functions
button_mc.button1_but.onPress = function()
getURL(aspPage+"p=1","_self");
button_mc.button2_but.onPress = function()
getURL(aspPage+"p=2","_self");
button_mc.button3_but.onPress = function()
getURL(aspPage+"p=3","_self");
button_mc.button4_but.onPress = function()
getURL(aspPage+"p=4","_self");
button_mc.button5_but.onPress = function()
getURL(aspPage+"p=5","_self");
button_mc.button6_but.onPress = function()
getURL(aspPage+"p=6","_self");
button_mc.button7_but.onPress = function()
getURL(aspPage+"p=7","_self");
button_mc.button8_but.onPress = function()
getURL(aspPage+"p=8","_self");
// DO NOT EDIT BELOW THIS LINE THERE IS NO REASON YOU SHOULD
HAVE TO !!!!!! *
onLoad = function()
productState();
description();
moveScroller();
onEnterFrame = function()
moveScroller();
function productState()
p = parseInt(p, 10); // parses the string "1" to a integer
001 ( 10 = base 10)
if( p >0) // if p = 0 then it defaults to the else
statement below
loader_mc.loadMovie(prod_a[p]); // places the parsed value
of "p" in the selection for the array
else
loader_mc.loadMovie(prod_a[1]); // default product to load.
// calculates the necessarry movement of the scroller when
the page refreshes...
numItems = .25;
movement= p*numItems;
pDivided = p/4;
neededMove = parseInt(pDivided, 10);
if (movement> neededMove)
A= parseInt(movement, 10);
//A= A-1;
leftMove(281* A);
else if (movement = neededMove)
A= parseInt(movement, 10);
A= A-1;
leftMove(281* A);
delete p; // deletes the var, if it is left in 2 p variables
will be passed and the application won't work.
// end Load logic
function moveScroller()
// generates temp vars to hold basic information and makes
it easier to change later if necessary.
tempA = button_mc._width;
tempB = button_mc._x; // distance traveled where it started
- how far it moved
tempC = 168.5;
tempD = tempB - 446.5; // distance traveled where it started
- how far it moved - initial position and its length.
tempE = tempC - tempA; // where it started - total length
// Below actuates the buttons on the Left side of the
screen.
if(button_mc._x > 160)
aRight_but._visible=false;
aRight_mc._visible=false;
aRight_mc._alpha=0;
else
aRight_but._visible=true;
aRight_mc._visible=true;
aRight_mc._alpha=100;
// below statements make the button on the right actuate
if(tempE < tempD)
aLeft_but._visible=true;
aLeft_mc._visible=true;
aLeft_mc._alpha=100;
else
aLeft_but._visible=false;
aLeft_mc._visible=false;
aLeft_mc._alpha=0;
wtcDisplay();
// script to move the scroll left or right
aLeft_but.onPress = function ()
leftMove(281);
aRight_but.onPress = function ()
if(button_mc._x < 169)
if( button_mc._width >= (button_mc._width-281))
rightMove(281);
function leftMove(distance)
button_mc._x = (button_mc._x - distance);
function rightMove(distance)
button_mc._x = (button_mc._x + distance);
// watch the commercials button
wtc_mc.wtc_but.onPress = function()
getURL(wtcLink,"_blank");
function description()
d = parseInt(d, 10);
if(d>0)
dynamicText = dt[d];
else
dynamicText = defaultText;
function wtcDisplay()
if(wtc == "yes")
_root.wtc_mc._visible = true;
_root.wtc_mc._alpha = 100;
else
_root.wtc_mc._visible = false;
_root.wtc_mc._alpha = 0;
// obligitory stop command.
stop();

Thanks for the advice, I have tried Javascript to resolve the
problem. In response to the <object> tag missing, There is
one I just included a snippet of the html code sorry for the
confusion. Due to deadlines I abandoned the functionality of the
script and "dumbed" down the script. Thank you again for the help

Similar Messages

  • I have a Hawaiian keyboard that works on every browser except Firefox. It used to work, but now it doesn't. So, I end up having to use Windows products when I would rather use Firefox.

    I have a Keyman Desktop 7.1 Hawaiian keyboard that uses the Alt along with the corresponding letters to make the correct letters. It seems to be compatible with every browser except the one I want to use...Firefox.

    Do you see the names and passwords in the password manager?
    Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
    Make sure that you not run Firefox in [[Private Browsing]] mode.
    In Private Browsing mode some menu items are disabled (grayed) and some features like visited links and others are disabled and not working.
    You are in Private Browsing mode if you see "Tools > Stop Private Browsing".
    See [[Private Browsing]] and http://kb.mozillazine.org/Issues_related_to_Private_Browsing
    You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    To see all History settings, choose: Tools > Options > Privacy, choose the setting '''Firefox will: Use custom settings for history'''
    UnCheck: [[ ] "Automatically start Firefox in a private browsing session"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    http://kb.mozillazine.org/User_name_and_password_not_remembered (bookmarklet)
    http://kb.mozillazine.org/Password_Manager (Troubleshooting)

  • I have a blog with links that work in every browser except Fire Fox

    I have a blog with banners and links. These links will work in every other browser except for FireFox. However, a friend of mine has assured me they worked about 2 days ago.

    All the links that I checked worked fine, as long as JavaScript is turned off for '''blogspot.com''' in Firefox 3.6.12. Allow JavaScript for that domain and the hyperlinks are dead.

  • Re: Satellite L755d - Every browser except IE8 crashes after a few minutes

    Hi,
    i own a Toshiba l755d since a month. Everything works fine except firefox,chrome and opera.
    IE8 works. t first i thought it was just firefox because i just tested firefox.
    SO i wrote a thread in my own language forum for firefox. nobody was able to help me with that problem of crashes. Then i was like test some others browsers which finally doesn't work too.
    So finally after updating everything and no change in anything i decided to reinstall windows so atm there is nothing on my harddrive except windows 7 home premium(64bit), the drivers,recently updatet java,flashplayer,firefox,opera and chrome.
    Short:
    -every browser except IE8 crashes after a few minutes
    -firefox forum couldn't help me
    -the laptop is new
    -everything is updatet to the recent version
    Any ideas?
    cheers!

    IE8 isn't the recent? Shame on me i use the ie9
    I did the recovery (set to delivered status) several times.
    opera crashes too fast, chrome doesn't show anything and firefox shoes this
    A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
    Script: chrome://browser/content/tabbrowser.xml:469
    i can choose between -> continue and stop. :D actually this doens't make any difference but ok. At
    the firefox forum they said this useually is caused by plugins. SO i deactivated and deinstalled everything and started firefox in safemode. still no change.
    i heard this COULD be caused by java script errors.
    (thanks for the fast reply)

  • Printer works on every program except trying to print anything from Firefox. Blank pages everytime.

    Using Windows XPproffesional & current Firefox 4.0.1. Printer works on every program except anything from Firefox,.blank page every time. When I hit File>Print; the "Print Frames" section in lower left hand box has no options checked and is unaccessible. Printing works fine in Explorer.

    edmeister; thanks for trying to help. I reset the printer per the instructions you provided and also checked that I wasn't printing to file. Even unistalled Firefox, and installed 3.6; same thing happened. So, I uninstalled 3.6 and reinstalled 4.0; still having same problem. But, can still print in IExplorer?

  • Flash swf that runs on every browser except in Firefox. Can anyone help me please?

    Hello.
    I have an flash swf in a site that runs on every browser except in Firefox. I get an warning telling me that the page requires a newer version of flash player but i already have the 10,0,32,18 and the swf was published for flash player 9.
    Can anyone help me please?

    The figures you mention only make sense on your intranet.  Are you still using the same wireless router.  The verizon one is somewhat limited as far as max wireless-n performace.  For one thing it only has a 2.4 radio.   I like many people who wanted wireless-n performance before they even added a wireless-n gigabit router, have my own handling my wireless-n network.

  • WRT110 works for every website except ONE after login, help please

    I have a WRT110 version 1.0
    It works for every website, except one. And it works for that one website just fine, until I login. When I enter my username/password it accepts it then redirects me to the companies landing page. I can see that because the URL loading changes and it shows the Title in the page which indicates it connected, but then it just sits there 'loading', in the status bar I see the message: "Waiting for tools.domain.com... to load" or something like that. and it takes like 5 to 10 minutes, no joke, then it loads.
    If I connect my computer directly to the modem and bypass the router, then it loads just fine, very fast like everything else.
    But then when I re-connect my router and refresh the page, it does it again, takes forever, but I can instanly see the title of the page in the title bar.
    It works on every computer that I connect trough the mobile hotspot on my 4G verizon phone. but if it is through the router, every computer takes 5 to 10 minutes. Literrally.
    Anyone have this happen to them? If so, how did you fix it?
    Thanks,
    Richard

    Try the following settings:
    # Open up the browser on the desktop and on the address bar type 192.168.1.1 that will open up the Router setup page…
    # Lower the MTU (Maximum Transmission Unit) from 1500 to 1400 or less (usually found on your router's main/ basic setup page)
    # Then click on Security tab disable SPI Firewall Protection, uncheck Filter Anonymous Internet Requests...
    Now check the connectivity status.

  • My scroll function won't work only when I use ff. Works on every other program. Is there a fix?

    The scroll on my mouse works fine every place except on ff4.0. It was fine before I upgraded a couple days ago. Have been running ff for years with no problems. This is aannoying but your still the best.

    Which operating system do you have installed? Is it Windows XP, Windows Vista, Windows 7, MAC OS (and which flavour), Linux, Ubuntu or some other OS?

  • I'm creating a public website and i have a javascript code that works on all browser except firefox. What should i do?

    Hi,
    I'm creating a public website that has a simple javascript button that will just set an asp.net dropdown value. It works on all browser except firefox...
    website: http://healthcareaustralia-web.sharepoint.com/Doctors/DailyShifts1.aspx
    So when you click on reset button it doesn't set the dropdowns to ALL
    this is the code:
    function resetFilters()
    var dropdown = document.getElementById('ctl00_PlaceHolderMain_DropDownList1');
    var ans = "All";
    dropdown.value = ans.value;
    document.location.href = "/Doctors/DailyShifts1.aspx";
    }

    hello, when i test it with current firefox versions, all works as expected: i choose custom dropdown values & select "filter", when i click "reset" next all dropdowns default back to "all" and the list gets refreshed.
    maybe try to [[Clear the cache - Delete temporary Internet files to fix common website issues|clear the cache]] & and reload the page or for other common troubleshooting steps refer to [[Websites look wrong or appear differently than they should]].

  • Using query strings in links mysite.verizon web pages

    Has anyone had trouble using query strings in links to other web pages your personal web pages?  I have a link to another web page where I pass an ID using query string but when I click on the link I get a 404 error even though the web page exists (the link appears fine).

    Hello jillibee,
    Maybe this link will provide some assistance for you. http://forums.verizon.com/t5/FiOS-Internet/Personal-Website-Access/m-p/277209/highlight/true#M19266
    Thanks,
    Shamika_Vz
    Verizon Support
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan.

  • Receiver SOAP Adapter Use Query String

    Hello everybody,
    I want to include in my Receiver SOAP Adapter the message id as part of the URL String, but I need to include only the MessageId value, if I use the Use Encoded Headers and Use Query String options it includes all the header fields as part of the URL, is there a way to define only the fields that I need?, thanks in advance.
    Regards,
    Julio Cesar

    May be you could try to use adapter specific message attribute "TServerLocation". This will help you set the dynamic URL.
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
    Regards,
    Prateek

  • Pass username and password adfs without using query string

    pass username and password ADFS without using query string, Please help.
    I used query string , but it is unsecured to pass credentials over url, with simple tool like httpwatch , anyone can easily get the password and decrypt it.

    Hello MohitJainMJ,
    You're not in the right forum. Here it's for FIM topics!
    Regards,
    Sylvain

  • Pass username and password ADFS without using query string, Please help.

    pass username and password ADFS without using query string, Please help.
    I used query string , but it is unsecured to pass credentials over url, with simple tool like httpwatch , anyone can easily get the password and decrypt it.

    Hi,
    According to your post, my understanding is that you had an issue about the ADFS.
    As this issue is related to ADFS, I recommend you post your issue to the forum for ADFS.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=Geneva
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding and support.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Purpose  of  Use Query string in communication channel.

    Hi all,
    I have a scenario in which the sender sytem communication channel uses:
    Use Query string,Use encoded header and EOIO.
    What is the purpose of these parameters.
    Please help.
    Thanks,
    Am

    http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm

  • Use query string between two custom New Form

    Hi guys,
    i have a New Form . In this  form i have  a button that open(onClick) another list form (it is a  different list). I have to pass a field value from the first form to the other . How can i do this using query string?Help please!
    Thank you!

    To pass some value with query string, you just need to open the form url with the querystring parameters (jquery needed):
    var url = '<yourlist>/newform.aspx?parameter1=' + $('input[Title="Title"]').val()
    SP.UI.ModalDialog.ShowPopupDialog(url)
    on the second newform.aspx, you can grab the querystring parameters with the Sharepoint native function "_spGetQueryParam('<lower case query key>')"
    var x = _spGetQueryParam("parameter1")
    Note: make sure you use the key as lowercase, even you if pass it with chars in uppercase.

Maybe you are looking for

  • Sol Man Code Page = 4130?

    In a new installation of Solution Manger 7.0, the installer asks me: His "code page is 4130? .. This related AMERICAN_AMERICA.UTF8 user Oracle admin and SAP admin? What is the relationship that exists between the two (code page and UTF8)? What is the

  • HOW to make NI6537 work in 2.5V voltage level

    HI ALL, I just check on datasheet of NI6537, it shows this card work in 2.5V 3.3V kinds of voltage levels for digitial output. But the default setup is 3.3V. So how can we set it to 2.5V (in digital output)  (using C++). I once got one function: int3

  • My Music App not avail for iCloud?

    I just noticed my storage selections for the iCloud does not include the MyMusic App.  Ive tried everything and cant figure out why.  Even bought 10GB more storage space thinking it was the size of my music.  Anybody have this issue and a solution?

  • Apps are not installing on the touch

    I recently run a software upgrade on my ipod touch 4g. it made my games stop working, so i reverted to a version from day before. that completely removed all of my apps and music. i am now trying to get it all back piece by piece. finally got some ap

  • Video Camera Issues after update

    My vid camera app exits when I hit the record button. Worked fine before the update. Anyone else have this problem? Any fixes?