How can I load flash ads dynamically? ASP, but probably the same in PHP

I have a flash advert that will run on a website for one month. At the end of the month the advert will change to another flash advert. I am trying to achieve this by way of entering the name of the flash file into a database so my client doesn't have to hand code the change, but I am struggling to get the way I thought would work to actually work and would like some advice on how to do it.
The way I am doing it is to take the code created by DW's insert flash action, and I am then changing the path (in all four instances) from:
_dataimages/_rightbanner/test2/Untitled1.swf
to have it served dynamically like this:
_dataimages/_rightbanner/<%=(rs_bannerright.Fields.Item("fld_image") .Value)%>.swf
This isn't working though!
Are there any other ways I can achieve this? Is there any tutorials out there I can learn from?
I have tried server side includes too, but still no joy.
Any advice on what is going wrong for me, or any suggestions or examples on how to dynamically change from one flash file to totally different one would be really appreciated.
Thanks
Mat
[Moved to Dreamweaver Application Development forum by moderator]

How can I create multiple versions of a video within the same project?
You can't. You make separate projects using the same or different clips, segments, transitions, titles, etc. You can even duplicate the first project and then modify/make the desired changes in the duplicated project. Each project can then be burned as a different DVD or as different titles on the same DVD if there is enough room.

Similar Messages

  • How can I load multiple compositions, all to play at the same time? eg 3 slideshows

    Hi
    Hoping someone at adobe edge animate can help me with some custom code as I need to load 3 different compositions all onto the same webpage.
    I have been through the Bootstrapper instructions thoroughly and have tweaked the code to try to get it to do what I require but I still can't make this work.
    I have 2 slideshows one footer one banner and also a small logo animation.. all need to reload and loop continuously.
    So far I have managed to get all three up but they all interfere with each other and none are playing properly.
    This is an urgent job for a client so I would really apprecaite some help.
    Thanks.. !
    Alayna.

    hi alayna,
    its definitely possible - see this sample:
    http://salesdigital.com/multiedge/
    3 edge compositions in one html page
    just check the page source code - in the head tag - it's not as bad as you think..
    hope this helps!
    ~keith

  • I have two ipad2's how can i load purchased apps to each ipad2 from the same itunes library?

    I have two iPad2's and I wish to load purchased apps from our iTunes library to our newest iPad2.  Can anyone direct me and or provide steps in completing this process?
    Thank you.
    texasboytn

    delete/uninstall the apps that your relative downloaded on you iPad. to do that tap and hold on and icon til it shakes, once its shaking downloaded apps will havee (X) mark on them on a red bubble, tap on it to delete

  • How can I create multiple versions of a video within the same project?

    OK...this is a probably a very basic question but I'm not sure how to word it clearly.
    How can I create multiple versions of a video within the same project? What I mean is that I have a bout 50 minutes of video and I want to make two DVDs using different clips from this original 50 minutes of footage. It would be a real pain to have to re-import the video AGAIN for the second DVD. I suppose I could drop anything I don't want to burn to DVD back into the clips pane but that would wipe out all my transitions wouldn't it? I want to save each project in their “raw” form so I can burn additional DVDs later otherwise I would just do them one at a time and not care about one of them being destroyed.
    Wow...that was a mess. Does anyone understand what the heck I’m asking? I hope so.

    How can I create multiple versions of a video within the same project?
    You can't. You make separate projects using the same or different clips, segments, transitions, titles, etc. You can even duplicate the first project and then modify/make the desired changes in the duplicated project. Each project can then be burned as a different DVD or as different titles on the same DVD if there is enough room.

  • I have a large number of photos imported into iPhoto with the dates wrong.  How can I adjust multiple photos (with varying dates) to the same, correct, date?

    I have a large number of photos imported into iPhoto with the dates wrong.  How can I adjust multiple photos (with varying dates) to the same, correct, date?

    If I understand you correctly, when you enter a date in the Adjust Date and Time window, the picture does not update with the date you enter.  If that is the case then something is wrong with iPhoto or your perhaps your library.
    How large a date change are you putting in?  iPhoto currently has an issue with date changes beyond about 60 years at a time.  If the difference between the current date on the image and the date you are entering is beyond that range that may explain why this is not working.
    If that is not the case:
    Remove the following to the trash and restart the computer and try again:
    Home > Library > Caches > com.apple.iphoto
    Home > Library > Preferences > com.apple.iPhoto (There may be more than one. Remove them all.)
    ---NOTE: to get to the "home > library" hold down option on the keyboard and click on "Go" > "Library" while in the Finder.
    Let me know the results.

  • How can I see my reminders in my Mac in the same way I see them in my iPad and iPhone

    How can I see my reminders in my Mac in the same way I see them in my iPad and iPhone, I is easier to work with reminders in Ipad and Iphone rather to see them like a list on ICal

    The calendar seems to be the only way to see reminders right now. I'm aware of no 3rd party program that deals with just reminders...but I'd like to find one.

  • How can I do to acquire and save date in the same time and in the same file when I run continual my VI without interrupti​on.

    I've attached a VI that I am using to acquire amplitude from Spectrum analyzerse. I tried to connect amplitude ouput to the VI Write Characters To File.vi and Write to Spreadsheet File.vi. Unfortunately when I run continual this VI without interruption, labview ask me many time to enter a new file name to save a new value.
    So, How can I do to aquire and save date in the same time and in the same file when I run continual my VI for example during 10 min.
    Thank you in advance.
    Regards,
    Attachments:
    HP8563E_Query_Amplitude.vi ‏37 KB

    Hi,
    Your VI does work perfectly. Unfortunately this not what I want to do. I've made error in my last comment. I am so sorry for this.
    So I explain to you again what I want to do exactly. I want to acquire amplitude along road by my vehicle. I want to use wheel signal coming from vehicle to measure distance along road. Then I acquire 1 amplitude each 60 inches from spectrum analyzer.
    I acquire from PC parallel port a coded wheel signal coming from vehicle (each period of the signal corresponds to 12 Inches). Figure attached shows the numeric signal coming from vehicle, and the corresponding values “120” and “88” that I can read from In Port vi.
    So I want to acquire 1 time amplitude from spectrum analyser each 5
    period of the signal that I am acquiring from parallel port.
    So fist I have to find how can I count the number of period from reading the values “120” and “88” that I am acquiring from In Port (I don’t know the way to count a number of period from reading values “120” and “88”).
    Here is a new algorithm.
    1) i=0 (counter: number of period)
    2) I read value from In Port
    3) If I acquire a period
    i= i+1 (another period)
    4) If i is multiple of 5 (If I read 5 period)
    acquire 1 time amplitude and write to the same
    file this amplitude and the corresponding distance
    Distance = 12*i). Remember each period of signal
    Corresponds to 12 Inches).i has to take these
    values: 5,10,15,20,25,35,40,45,50,55,60............
    5) Back to 2 if not stop.
    Thank you very much for helping me.
    Regards,
    Attachments:
    Acquire_Amplitude_00.vi ‏59 KB
    Figure_Algorithm.doc ‏26 KB

  • When printing two-sided from my Mac on landscape A4 with 2 columns, how can I get my HP Photosmart 6520 to print the same way up?

    When printing two-sided from my Mac on landscape A4 with 2 columns, how can I get my HP Photosmart 6520 to print the same way up?

    Or, it is set the other way around (which makes more sense). Even though you are in Landscape mode, it is binding on the Long Side of the paper. Since you are in Landscape, you would want it to bind on the short side.
    Think of the Binding like a Book. How would you flip the finished pages to read the “book.” Where it would be bound in the imaginary book is how you want it to print.

  • How can I use FaceTime between 2 I-Pads sharing the same email account

    How can I use FaceTime between 2 I-Pads sharing the same email address

    Cstearns-
    I only have one iPad, but was able to add myself to the list of Favorites.  When I tried to call, I was not available!
    You should also take a look at the Skype App for iPhone.  It works on the iPad, where you can choose 2X to expand the display.  I haven't tried to add myself to Skype, but have been able to have it connected on both my computer and the iPad at the same time.
    You might also consider getting a second address from G-Mail, just for use with FaceTime.
    Fred

  • How can I order two different calendars from iPhoto in the same order?

    How can I order two different calendars from iPhoto in the same order?

    You cannot - the "Buy Calendar" button is only available, while viewing one calendar. You can order more than one copy of the same calendar on one order, however.

  • I have a library set up for my i-pop touch, how can my wife set up her i-phone on the same pc?

    I have a library set up for my i-pod touch, how can my wife set up her i-phone on the same PC but with a seperate library location?

    You can sync multiple iPods and iOS devices with the same iTunes library on one computer. Each device has its own sync preferences with iTunes and iTunes creates and updates a separate backup for each device.
    Under the same computer login account, you can have separate iTunes libraries which will require manually having to log in and out of each one with iTunes which isn't necessary.
    If you want separate iTunes libraries for you and your wife, probably best to create a separate computer login account for your wife where her iTunes library is completely seperate along with the rest of her data on the computer.

  • How can you add a 2nd i Tunes account on the same computer?

    How can you add a 2nd i Tunes account to the same computer?

    I had an application where I spawned (= ran with Start Asynchronous Call) multiple (reentrant) copies of VIs, and would occasionally "lose control" of them.  I needed a way to find all VIs that were running "Top Level" and stop them (so I didn't have to log off from Windows).
    I used the Application Property "All VIs in Memory" to get an array of (wait for it ...) All VIs in Memory.  I took each name, opened a VI reference to it (simply wire the name string in, as the VI is, by definition, "in memory"), looked at its VI Execution State, and if it was Run Top Level, Invoked the FP.Close and Abort VI Methods.  [To prevent the VI that did all this from "committing Suicide", I compared the name string with the current Call Chain, and did nothing if there was a match].
    I think you could adopt this idea to do what you need.
    BS

  • How can i delete all songs on my ipad at the same time?

    How can I delete all songs on my ipad at the same time without affecting my library on itunes?

    Use IMAP Mail e.g. Gmail

  • Can I load batteries from an electrical socket, using the same as my IPhone charger?

    Can I load batteries from an electrical socket, using the same as my IPhone charger?

    Your terminology is confusing...  If you are describing the USB power adapter (that plugs into a wall outlet) that you use to charge your iPhone, you can use the same connection to charge your iPod nano.

  • How can I flip/mirror and image horizontally/vertically in the same programme? Is there a keyboard s

    How can I flip/mirror and image horizontally/vertically in the same programme? Is there a keyboard shortcut? Mac, latest version.
    Thanks in advance..

    Rola.AlGhalib wrote:
    …but figured how can an editing software not have the simplest things…? …
    Bridge is categorically NOT "editing software".  It's just a file browser, no more and no less.  Period.
    Bridge does not "edit" anything.  Bridge doesn't even open anything.  It just hands files to the appropriate application, whether this be Adobe Camera Raw, Photoshop, Illustrator, Acrobat, InDesign, or even Microsoft Word.
    No, there will most likely never be "an update" for this. 

Maybe you are looking for

  • SAP 7.1 Error - saplogon.exe - Entry Point Not Found

    'The procedure entry point CleanUp could not be located in the dynamic link library convlib.dll' The above error is received when SAPLogon Icon is clicked. I installed SAP 7.2 and then removed it and installed SAP 7.1 and then unfortunately tried thi

  • TextEdit no longer opens files it used to open just fine.

    Ever since I upgraded to Snow Leopard, TextEdit has been giving me an error message when I try to open various text files: "The document "CRD-FONT.TXT" could not be opened. Text encoding Unicode (UTF-8) isn't applicable." I wish I knew how to set Tex

  • Can I use my phone in Turkey

    I'm moving to Turkey and want to use my iphone 3Gs.  Can anyone tell me if my phone will work in Turkey.  I've heard I need to unlock it and purchase a new sims card when I arrive in Turkey.  Does the MHz on my phone matter?  Any help would be wonder

  • Increase Number of Concurrent MDBs

    We are using WL 10.3.3. The heaviest load of the app is the JMS message processing. With the default work manager, the maximum number of concurrent MDBs is 16. We need to increase the MDB instances to a larger number. What is the best way to accompli

  • Spouse name sometimes does not appear on printed labels - why?

    Last year, this forum helped me figure out how to get spouse names onto my Christmas card labels. Thanks! This year, I want to fix a tiny problem that came up last year. For some reason, about 10% of the labels do not include a spouse name, even thou