Results 1 to 5 of 5

Thread: Flash Question!

  1. #1
    Join Date
    Jan 2006
    Posts
    234
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Question Flash Question!

    Hi Everybody.

    Lately I have seen quiet a few website and they were completely Flash.
    I mean usualy if I have a Flash movie that has a certain size and if I right click on it outside the Flash movie I've been able to see the source code from the website for example but what I'm talking about is a site that is Flash all over.
    No matter in what size the window is opened it is all Flash and I can't right click to open the source code for example.
    Can someone of you guys tell me how this works?
    Like here for example.
    Just right click where ever you want even in full window mode it will always be like described above.
    Hope someone can explain to me how this works.

    Thank in advance.
    Cheng

  2. #2
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Please do not use titles when you start your topic like:

    - Is this possible?
    - How do I do this?
    - Help! I'm stuck
    - Flash Question!

    Provide more of a description in your title next time.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    How about your browser's view menu's source option:

    HTML Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
    
    <head>
    
    <title>Pulsonic - Braun</title>
    
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="author" content="namics (deutschland) gmbh, Kaiserstr. 56, 60329 Frankfurt/Main, Germany">
    <meta name="copyright" content="Copyright &copy; Braun GmbH 2005">
    <meta name="robots" content="follow">
    <meta name="revisit-after" content="30 days">
    <meta name="hostname" content="gva-web5">
    <script type="text/javascript" language="JavaScript">
    
    /* const */ var SS   = "Site Server";
    /* const */ var NS   = "Netscape";
    /* const */ var MSIE = "MSIE";
    
    /* const */ var WIN  = "Win";
    /* const */ var MAC  = "Mac";
    
    var ie4 = ( document.all    ) ? true : false;
    var ns4 = ( document.layers ) ? true : false;
    var ns6 = ( parseInt( navigator.appVersion ) == 5 );
    
    // Windows XP:
    var systemxp = false;
    var systemxp_addx = 4;
    var systemxp_addy = 8;
    
    if(navigator.userAgent.indexOf("Windows NT 5.1") >= 0) {
    	var systemxp = true;
    }
    
    // SP2-detection
    var systemxpsp2 = false;
    
    if(navigator.userAgent.indexOf("SV1") != -1) {
    	var systemxpsp2 = true;
    
    	systemxp_addy = 31;
    }
    
     . . . much deleted as a courtesy to all.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Quote Originally Posted by jscheuer1
    . . . much deleted as a courtesy to all.
    Thanks!!

    It's not that it is a completely Flash site, its just that the maker made the demensions of thier Flash files 100%X100% easy enough to do
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  5. #5
    Join Date
    Jan 2006
    Posts
    234
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    Hi.

    Frist of all sorry for the topic titel but I didn't know how to describe this in one sentence.
    I did ask the same question in a swish Forum because Swishmax is what I'm using if I have to do something in Flash and apparently this is done inside the Swish code.
    Probably similar in another Flash program as well.
    I do have an example Swish file but haven't figured it out as yet to do it on my own.
    In case one of you guys cares to know below the code that goes in the main scene (couldn't attach the SWI as it is to large).
    And the HTML must have this:
    Code:
    <body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0">
    Code:
    onFrame(2){
        stop();
    }
    onLoad(){
    Stage.scaleMode = "noscale";
    Stage.align = "tl";
    resizer = new Object ();
    Stage.addListener (resizer);
    resizer.onResize = function ()
    {var mc2 = _root.back;
    var newW = Math.floor(Stage.width);
    var newH = Math.floor(Stage.height);
    mc2._width = newW;
    mc2._height = newH;
    var mc = _root.main;
    var newX = Math.floor((Stage.width - mc._width));
    var newY = Math.floor((Stage.height - mc._height));
    mc._x = newX;
    mc._y = newY;};
    
    }
    Thank you.
    Cheng

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
  •