A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: desperate for help with embedded/var issue

  1. #1
    Senior Member
    Join Date
    May 2005
    Location
    Canada
    Posts
    212

    desperate for help with embedded/var issue

    im working on a project for a client that has kinda surpased AS knowledge. i built him a flash site that uses a label based navigation (on release goto and play "label"). He then decided that he wanted to use some html from his old site. so i built a header in flash and made a framed html page with my swf header and his old content loading in the mainframe.

    main webpage= http://216.147.53.243/main.html
    header page = http://216.147.53.243/dheader.html

    I need help combining the code for the variable part with that from the orginal with the fixed embedded issue. Im attaching both .htmls. can anyone please help me combine thm
    Attached Files Attached Files
    Last edited by TeddTucker; 07-13-2006 at 04:36 PM.

  2. #2
    Junior Member
    Join Date
    Jan 2006
    Posts
    9
    I looked at the links and it seems to be working sometimes but not others. I don't know why this is occuring but you might want to consider another method of doing this

  3. #3
    Senior Member
    Join Date
    May 2005
    Location
    Canada
    Posts
    212
    I know im asking someone else to do my work for me. but im desperate, this site was due yesterday. If anyone can fix this i will buy them a gift certificate on amazon

    im trying to combine this VAR script
    <script language="JavaScript">
    document.write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"'+'codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"'+'width=100% height=100% id=urlTest align=middle><param name=allowScriptAccess value=sameDomain /><param name=movie value="main.swf'+document.location.search+'" /><param name=quality value=high /><param name=bgcolor value=#ffffff /><embed src="main.swf'+document.location.search+'"'+'quali ty=high bgcolor=#ffffff width=100% height=100% name=urlTest align=middle allowScriptAccess=sameDomain '+'type="application/x-shockwave-flash pluginspage=http://www.macromedia.com/go/getflashplayer" />')
    </script>
    with the normal output i allready have to fix the embedded thing
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%" id="main2" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="main.swf" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="bgcolor" value="#ffffff" /><embed src="main.swf" quality="high" scale="noscale" bgcolor="#ffffff" width="100%" height="100%" name="main2" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>
    Last edited by TeddTucker; 07-14-2006 at 10:27 AM.

  4. #4
    Senior Member
    Join Date
    May 2005
    Location
    Canada
    Posts
    212
    HERE is my best attempt but it doesnt show anything. can anyone see a problem
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <style type="text/css">
    <!--
    body {
    height: 100%;
    width: 100%;
    margin: 0;
    }
    -->
    </style>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>main</title>
    </head>
    <body bgcolor="#ffffff">
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!--
    First Name Last Name Email Tel Number Comments -->
    <!-- saved from url=(0013)about:internet -->
    <a href="http://216.147.53.243/main.html?frameName=mark"></a>
    <a href="http://216.147.53.243/main.html?frameName=info"></a>
    <a href="http://216.147.53.243/main.html?frameName=contact"></a>
    <a href="http://216.147.53.243/main.html?frameName=links"></a>
    <a href="http://216.147.53.243/main.html?frameName=about"></a>
    <script language="JavaScript">
    document.write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"'+'codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"'+'width="100%" height="100%" id="main" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="main.swf'+document.location.search+'" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="bgcolor" value="#ffffff" /><embed src="main.swf'+document.location.search+'"'+'quali ty="high" scale="noscale" bgcolor="#ffffff" width="100%" height="100%" name="main" align="middle" allowScriptAccess="sameDomain '+' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />')
    </script>
    </body>
    </html>

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

HTML5 Development Center