emiliodabdoub
asked on
Send Parameters to Swishmax
In flash, there are several ways to pass variables to the movie and use them, like Flashvars . But I did not find a way to pass a parameter to swishmax from an HTML tag, or URL querystring.
only point me to an example and you have the points
;)
only point me to an example and you have the points
;)
ASKER
hi, those links does not answer my question..
My problem is that I need to pass the value depending on the page I'am..
For example, if I'm at the page: flashbanner.aspx?variable= 1
I want to pass in some way the value 1 to swishmax.
I could do it with HTML tags, like reading the querystring and using response.write to write it as a HTML param (tag).
This is the process:
1. The page will load the banner, but the page will receive an URL parameter.
2. I will pass the value of that parameter to swish.
3. I will use that value in swish
My problem is that I need to pass the value depending on the page I'am..
For example, if I'm at the page: flashbanner.aspx?variable=
I want to pass in some way the value 1 to swishmax.
I could do it with HTML tags, like reading the querystring and using response.write to write it as a HTML param (tag).
This is the process:
1. The page will load the banner, but the page will receive an URL parameter.
2. I will pass the value of that parameter to swish.
3. I will use that value in swish
the variables passed in are in the query string are made available to you in your app if you add them to the swf src
PARAM NAME='Src' VALUE='yourswish.swf?myvar iable=1
and
PARAM NAME='Movie' VALUE ='yourswish.swf?myvariable =1
'myvariable' is then available in your swish code for use.
Cheers
Alan
PARAM NAME='Src' VALUE='yourswish.swf?myvar
and
PARAM NAME='Movie' VALUE ='yourswish.swf?myvariable
'myvariable' is then available in your swish code for use.
Cheers
Alan
ASKER
Hi Alan. or Gregsy?
I think this is what I was looking for.
How I would access the variable from swish?
I think this is what I was looking for.
How I would access the variable from swish?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://archives.swish-tutorials.com/tutorials.php?act=tut&id=95
http://archives.swish-tutorials.com/tutorials.php?act=cat&id=21
http://www.swishzone.com/forums/index.php?showtopic=13298&hl=loadvariables
that' s all