how i can add a flash into my aspx page in visual web developer?

Discussion in 'Flash/Shockwave' started by derinweb, Sep 7, 2006.

  1. hello

    how can i add a flash into my aspx page in visual web developer when i try it it does not work,
    if you can send me the code how to doing it ,

    with regards
    derin
     
  2. I use the Publish Settings in version 7.2 and then open and edit the .NET page in VS 2005.
    A working example is shown below, created with Flash 7.2 and then edited in VS 2005:

    <code>



    <%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %>


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


    <html xmlns="http://www.w3.org/1999/xhtml">


    <head>


    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />


    <title>Flash .NET example</title>


    </head>





    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="188" height="31">


    <param name="movie" value="FlashExample.swf" />


    <param name="quality" value="high" />


    <param name="bgcolor" value="#FFFFFF" />


    <embed src="FlashExample.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="188" height="31" bgcolor="#FFFFFF"></embed>


    </object>


    </body>


    </html>


    </code>
     
  3. sorry , but when i run the page it will work correctly but for the another time it does not remaining and when i upload it to my hosting it does not remaining , what is the fault?

    with regards
     
  4. If you want...Upload the files and I'll try to get it working for you:
    http://www.sdknuts.com/fileup/
    All the best,
    Mark

    P.S. If you do, please create a ZIP or RAR package with a text file that has an e-mail address I can send the files back to.
     
  5. thanks very much , it is very great , thanks again
     
  6. Hello Derin,
    I made the necessary corrections and mailed the files to your gmail account.
    The only problems I could see were the actual paths and filenames.
    Should be working fine now.
    Salute,
    Mark Wisecarver
     
  7. hello mark:
    thanks for your e-mail but maybe it does not received , you can send it again to this e-mail
    [email protected]
    thanks mark
     
  8. The one I sent to your gmail account did fail, a few minutes ago I forwarded it to your info account.
    All the best,
    Mark
     
  9. thanks wisemx i sent the files to you if you can solve the problem ,and this is my website
    http://www.kurdpedia.com

    you can contact me there
    with regards
    derin
     
  10. Glad to help. [​IMG]
     
  11. hello mark

    thanks for your help , but in this syntax deos notwork onlinein a folder it is only work in the root directory , if you can send me the information how to make it work in the folder pages

    thanks again for your help
    derin
     
  12. Paths are pretty straightforward if you're using Visual Studio 2005.
    This is true for Macromedia Studio.

    With your IDE open drag/move the files you want to change.
    The IDE should update the paths for you.

    Visual Studio also allows you to drag/drop from the Solution window.
     

Share This Page