Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Jun 2003
    Posts
    81
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Asp.net: Flash and Webform Controls

    I have a flash presentation on my page. But it also plays every time when any web form control is clicked. Is there any way to prevent it from running, to disable flash object in the If IsPostBack block?

  • #2
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts

    loop

    it is HTML flash tag

    loop=false

  • #3
    New Coder
    Join Date
    Jun 2003
    Posts
    81
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I didn't mean looping...I have loop=false in the html

    I meant that Flash plays every time server side control is clicked

  • #4
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts
    as said on mini message use session to lnow if you must add your flash or not

  • #5
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    I would use IsPostBack to not display the flash after it is reloaded.....if you want to disolay the last frame, you might want to make a seperate flash file and show that.....

    Code:
    If (IsPostBack = "false") then
     ' write flash code out
    Else
      'write non flas code out
    End If
    Eric

  • #6
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    I really hate not having an fn delete feature.....argh....turn it on....lol


  •  

    Posting Permissions

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