Link to home
Start Free TrialLog in
Avatar of emiliodabdoub
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
;)
Avatar of xakem
xakem
Flag of Kazakhstan image

Avatar of emiliodabdoub
emiliodabdoub

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
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?myvariable=1
and
PARAM NAME='Movie' VALUE ='yourswish.swf?myvariable=1

'myvariable' is then available in your swish code for use.

Cheers
Alan



Hi Alan. or Gregsy?

I think this is what I was looking for.

How I would access the variable from swish?
ASKER CERTIFIED SOLUTION
Avatar of Gregsy
Gregsy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial