473,382 Members | 1,332 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Using flashvar in url using action script 2

347 100+
I have a site that passes a gender selected using a url querystring i know i can get that into flash using

Expand|Select|Wrap|Line Numbers
  1. <param name=FlashVars value="linkvar=<%= genderid %>" />
where <%= genderid %> equals my querysting in classic asp.

I can then get it into a variable in flash using

Expand|Select|Wrap|Line Numbers
  1. var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters.linkvar;
what i want to do then is get the content of the linkvar variable into a url in my flash movie.

in the end if someone clicks on a link to the page with flash movie it will look like this page.asp?gender=boys for boys gender etc

in my flash movie i have lots of links that point to pages called either boys.asp or girls.asp so the content of the variable in flash that would equal boys in the clicked link would appear in my url

'linkvar'.asp

hope this is not to odd how i have written this i know nothing about as2
Nov 5 '13 #1
0 2489

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Czechfish | last post by:
How do I change my script to automatically play, rather than clicking through individual slides? What is the action script to skip to a specific slide in the show via a button? (Right now I have...
2
dizyn
by: dizyn | last post by:
Hi I have 4 scenes in my flash file using following action script but2.onRelease = function() { getURL("http://www.outsourcingi.com/test/1.html", "_blank", "GET"); }; I am trying to open a...
4
by: AshishMishra16 | last post by:
HI friends, I am using the Flex to upload files to server. I m getting all the details about the file, but I m not able to upload it to Server. Here is the code i m using for both flex & for...
8
by: nixboy | last post by:
hi, i really need to know how to close a running swf flash when it reaches the last line of my action script, using actionscript. thanks
0
by: evo27 | last post by:
hi guys. I'm trying to make a navigation menu with AS tweening. So far I have all 4 buttons and a graphic inside a movie clip named "logo_mc" with an instance name of "logo_mc". I have managed...
1
by: nesalot | last post by:
Hello all.. I need help with some code in a Flash CS3 banner using action Script 3.0.. I am using this code below right now on banner ad that I am sending to a site. This code allows someone to...
0
by: swapnasamir | last post by:
I have a shopping page where in left part of page.... section out is mention by java script, and the shopping item count is controlled by flash action script(shopping basket-right side of...
0
by: ericjw316 | last post by:
We are currently searching for an experienced Action Script Programmer who can quickly understand the code of our current web conferencing application developed using Actionscript 2.0 and related...
1
by: apurvaG | last post by:
Hi All, I wanted to know, can I check in action script whether the browser window which loads my swf file has been closed? Basically I wanted to call a action script function which will be...
1
by: gusheneshin | last post by:
hi everyone im Using this code to Creat a Movie Clip and load a movie "SWF" into this Flash ------------ stop(); loady._x = 226.4;this.createEmptyMovieClip("loady",5);
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.