Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. runnig SWF file on asp.net

runnig SWF file on asp.net

Scheduled Pinned Locked Moved C#
csharpasp-netadobequestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Amirjalaly
    wrote on last edited by
    #1

    how can play macromedia flash file in asp.net pages randomly? can use adrotator for this work? Regards' Amir jalaly

    H 1 Reply Last reply
    0
    • A Amirjalaly

      how can play macromedia flash file in asp.net pages randomly? can use adrotator for this work? Regards' Amir jalaly

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      The AdRotator has a specific, well-documented XML file schema that wouldn't work with Flash files. The concept is similar, though, just that instead of outputting IMG tags you'd need to output OBJECT tags with the right attributes (like the CLSID of the Macromedia Flash player, the codebase, and the src as a PARAM). This wouldn't be too difficult to implement, but if you're interested, download .NET Reflector[^] and see how the AdRotator works, duplicating the code for the most part, except of course for Flash-specific settings in the XML file (or whatever you want to use - I would recommend using the provider pattern) and the output HTML. You should ask this on the ASP.NET forum, though. Besides being the proper forum for this question (since it is regarding ASP.NET, not a specific language), someone might've already done this. You could also try searching the CodeProject articles as well.

      Microsoft MVP, Visual C# My Articles

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups