Help needed on newby and flashvars

  • Brian Walton
  • Born
  • Born
  • Brian Walton
  • Posts: 1

Post 3+ Months Ago

I have a script problem and I'm hoping to solve it regarding integrating a flash map with an asp page.

I have a map page:
which has a flash map embedded on it. I wish to load x and y coordinates for
the pointer on the map in a different place for each property. I have the
coordinates saved in a database which an asp page pulls out. My problem is
how do I put a dynamic querystring into the actionscript:
ie: at the moment i have the following code:

onload() {
onframe(1) {
if(vars_loaded=="ok") {
onframe(2) {
onframe(3) {
onframe(4) {

This works perfectly if I load static values for the map_x and map_y
variables in the "area_coordinates.asp" page, however I need the page to be
"area_coordinates.asp?PropertyID=7" with the PropertyID value changing
depending on which property they are viewing.

What is the best way to achieve this? Should I be using Flashvars? (ie:
<param name="flashvars" value="asp=area_coordinates.asp<%=PropertyString%>")
Please note that I am a total beginner when it comes to actionscript.

with thanks


Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 4 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.