Results 1 to 2 of 2

Thread: Changing source on a flash file

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Posts
    183

    Changing source on a flash file

    I have a flash swf file displayed on an asp.net page, when a user clicks on a button I want to be able to change this flash file to another flash file. Any ideas?

  2. #2
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497
    Place it in a panel.

    On the click of the button, clear the controls of the Panel.

    It's similar to pnlMyPanel.Controls.Clear()

    Then, add a new literal control:

    pnlMyPanel.Controls.Add(new LiteralControl("the html code for the new flash here"))
    Need to re-register ASP.NET?
    C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i

    (Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width