loading external jpgs with url that contains a variable

  • esse_bi
  • Novice
  • Novice
  • esse_bi
  • Posts: 15

Post 3+ Months Ago

Thx for your previous great help, my question now is this:

I've four buttons that load an external swf each.
The four swf are similar, except for the url of the jpgs they load.
I'd like to use a variable to change through the buttons that load swfs.
So if my url is "galleries/galleryone/1.jpg" with button one
And gellerytwo for button two etc etc
I'd like to have a variable myvariable=gallerytoload
so when I press button one myvariable=galleryone etc
And so far I'm able to write the code.

But... How can I write this on the url?
something like "galleries"+[myvariable]+"1.jpg"?
but it doesn't work
is it possible???

thx a lot

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 6 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.