Results 1 to 1 of 1

Thread: Please help me Embed swf in javascript

  1. #1
    Join Date
    Dec 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Please help me Embed swf in javascript

    Dear friends,
    I need to display myflash.swf instead of SimpleImage.gif in the same position

    full code is here: http://www.dhteumeuleu.com/mandatory-upgrade/

    I want to make this page as intro to the website..so i need to embed my christmas tree in the intro ,
    because i tried to convert flash to gif the size was very big 1 mb
    but actual flash size is 75 kb
    my email is green_hawk_lb @ hotmail.com

    Code:
    /* ---- main loop ---- */
    run: function () {
    /* ---- camera ease ---- */
    cx -= Math.round((xm + cx) * .1);
    cy += Math.round((ym - cy) * .1);
    cz += Math.round((zm - cz) * .1);
    /* ---- display loop ---- */
    var i = N;
    while (i--) O[i].display();
    }
    }
    } ();
    
    
    /* ==== global onload ==== */
    onload = function () {
    /* ---- build structure ----
    i3D.init(container, path, focalLength, globalZoom, fontSize, onmouseover_border, hyperlink_border
    [image, x,y,z, {options}], ...
    );
    options { 'zx':zoom x, 'xy': zoom y, 'url':hyperlink, 'txt':text
    'repeat':[axis(1,2,3), number, increment]
    }
    */
    i3D.init("screen", "images/", 300, 1, 12, '#666 solid 1px', '#fff dotted 1px', [
    
    ['1.png', 600, 90, 500, { 'txt': 'asicity'}],
    
    ['26.png', -300, 0, -200, { 'repeat': [3, 3, -400]}],
    ['26.png', 300, 0, -200, { 'repeat': [3, 3, -400]}]
    ]);
    }
    </script>
    </head>
    <body>
    <div id="screen">
    </div>
    </body>
    </html>
    Last edited by jscheuer1; 12-06-2011 at 07:34 AM. Reason: Format

Bookmarks

Posting Permissions

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