Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

a problem with Get url and the char " \" ( Flash 4)

Status
Not open for further replies.

audreya

Programmer
Jan 12, 2001
1
FR
Hi !

I am trying to use Get Url with the following value :

"\western\scan\" & menu & sousmenu & ".html"

Menu and sousmenu are varaibles ( so i can call automatically the good html page ).

If I only put in the value menu & sousmenu & ".html", then it's ok but i want to put all my .html in another folder call scan ...

Flash 4 doesn't allowed (syntax error) char \ in a char string in the value of the get url : may be \ is a specifical char .. i don't know how to do ... I've try with / and there is no syntax error but the browser can't recognised the path.

I need help to understand what to do !

Thanks loads
sorry for my english but i'm french and it's not so easy !

audrey
 
hi

You seem to be doing everything right (unless you're forgetting the " Have you made sure that the variables are represented in the timeline in which the button resides?

I can get this to work if I put in Frame1:

Set Variable: "number" = "tut"
Set Variable: "letter" = "e2"

And the put the actions on a button:

On (Press)
Get URL (" End On

Which sends me to
dD



davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top