There are a few ways to handle the skip intro button - none releated to
swfobject directly - try the various actionscript forums, kirupa
gotoandlearn etc

as for the fullscreen try this

// actionscript 2
// prevent scalling
Stage.scaleMode="noScale";
// top left alignment
Stage.align = "TL";
// allow user to activate the switch between full and normal modes
function toggleFullScreen(){

 // handle the state

  if(Stage["displayState"]=="normal"){

    Stage["displayState"]="fullScreen";

  }else{

    Stage["displayState"]="normal";

  }

}

// a listener for the object

var resizeListener:Object = new Object();

// function called when resized

resizeListener.onResize = function () {

  // ceneters the button on screen

  sym1._x=Stage.width/2;

  sym1._y=Stage.height/2;

}

// add the resize handler

Stage.addListener(resizeListener);

// attache the toggle to the full screen

this.sym1.onPress = function ()
{

  toggleFullScreen();

}

// actionscript2


// swfobject dynamic
            var flashvars = {};
            var params = {};
            params.quality = "high";
            params.scale = "noscale";
            params.salign = "tl";
            params.allowfullscreen = "true";
            var attributes = {};
            attributes.id = "fullscrn";
            swfobject.embedSWF("fullscreen.swf", "swf_preview_div", "100%",
"100%", "9.0.0", false, flashvars, params, attributes);

// note that this is swfobject 2.2 that I am using here make sure you update
your src script to use 2.2 - 1.x wont work with the embedSWF call above

// end swfobject

// html

        <div id="swf_preview_div">
            <a href="http://www.adobe.com/go/getflashplayer";>
                <img src="
http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif";
alt="Get Adobe Flash player" />
            </a>
        </div>

// end html

-- 

after which you'll notice that swfobject rocks and that flash often suck &
blows at the same time but can also rock

I have a working example of this using static/dynamic swfobject 2.2 code - I
can upload it if you want

- S




2009/12/7 McDrewBlue <[email protected]>

> Hello. I have been trying to find the difference between the example
> Flash intro demo and a page that I am trying to recreate:
>
> Original Intro Demo: http://www.ffiles.com/flash_files/2496/index.html
> My copy of this:
> http://www.andrewmccann.co.uk/intromcweb/IndigoIntro/testindex.html
>
> I am unable to get the "full screen" and "skip/enter site" button
> working.
>
> This uses a SWFObject.js file.
> I have tried everything I know and am now lost.
>
> Please could anyone help me??
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "SWFObject" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<swfobject%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.


Reply via email to