My 2nd flash website ( a lil better i hope)

www.lifemiami.com

the only problem is that from the mainpage which is flash
i used the Open centered window tutorial but the
targetName doesnt change it to what i want it to be.

and everytime i try to use a .html for some reason i always see white opntop or on the bottom of the page and it throws the flash off? any suggestions??

Hello. What you have so far looks nice. One suggestion on your splash page, your click here to enter (which I think just an enter would be appropriate)
comes up rather far down on the screen. I have a large moniter with resolution set higher but what about ppl with 800 x 600…
you should not have to scroll to see that.

I am not sure what you mean about the target and using .html…
sorry :hangover:

Good Luck :cowboy:

i thought the splash page was very clean and organized, but the main site didn’t go with it. also, i didn’t really see a color scheme, but it’s a start. keep working.:slight_smile:

i had to scroll to be able to see the “enter” button,
thats something you want to avoide.

your whole “enter” spalsh-page is in FLASH.??..
with NO html link for people to get the player??.. whats up with that ?

the main flash isnt too bad, keep working !

the reason the header name says http://www.lifemiami.com/index.swf instead of whatever targetName you’ve used is because you’ve linked directly to the index.swf file. you need to create an html with index.swf embedded in it, and change the html title to whatever you want. it should then display the title. (I dont think the targetName ever actually gets displayed btw)

The reason you’re getting a white margin is because you have to set your margins to 0 - use this code:

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

That should sort you out :wink:

the reason i didnt have my splash page in html is because i dont know how to use javascript to open up my window at a specific width / height! any code for that guys??

http://www.kirupa.com/developer/mx/centered_popup.htm :slight_smile:

thats what i have since my splash page ( click here to enter is in flash ) but whats the code if i want my splash page to be in html than open up??

well… why not have you splash page in html and have your ENTER button (embedded in the html) made in Flash? That way, if they don’t have Flash, they can’t dont see the enter button, and hence, cant enter. Then they have to go and download it (obviously, you provide the link). Then you can apply that Flash code to just the Enter button and you’re away

:wink:

“Script” Code:


function getbrowserwidth()
    {
    if (navigator.userAgent.indexOf("MSIE") > 0)
        {
        return(document.body.clientWidth);
        }
        else
            {
            return window.outerWidth;
            }
        }

        function getbrowserheight()
            {
            if (navigator.userAgent.indexOf("MSIE") > 0)
                {
                return(document.body.clientHeight);
                } 
                else
                    {
                    return(window.outerHeight);
                    }
                }

                var popup = new Object()
                function CenterPopup(URL, width, height)
                    {
                    // get center of browser window
                    var X = getbrowserwidth() / 2
                    var Y = getbrowserheight() / 2
                    
                    popup = window.open(URL, 'PopUp', 
                    'scrollbars=no ' +
                    'width=' + width + ' ' +
                    'height=' + height + ' ' +
                    'top=' + (window.screenTop + (Y - (height/2))) + ' ' +
                    'left=' + (window.screenLeft + (X - (width/2))) 
                    )
                    
                    popup.focus()
                }

           

You need to add “Script” & “/Script” tags at the start and end of that,

Button/Image Code:

<a href="" onclick="CenterPopup('intro.html', 778, 260);return(false);"/a>

HTH, I need to learn how to use forum tags, lol
Marcellinus

i have made a flash sniffer and can post if you like, it first detects if user has anu flash player at all then detects which version they have and redirects them accordingly, if all is fine it obvioulsy loads in the mainpage.
Its nothing revolutionary but maybe helpful to some one :slight_smile:

Well ther really isnt supposed to be a color scheme since the colors change to sorta match the background. I have only text i dont know what really else to put unF!