loading external jpgs with url that contains a variable

  • esse_bi
  • Novice
  • Novice
  • No Avatar
  • Joined: Sep 19, 2008
  • Posts: 15
  • Status: Offline

Post September 19th, 2008, 1:01 pm

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
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post September 19th, 2008, 1:01 pm

Post Information

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

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.