Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with intro

Status
Not open for further replies.

idaryl

Technical User
Nov 10, 2001
156
US
Hello All,
I have an interesting (to me) problem here - I have a previously built intro .fla file and the size of the area is 392x257, however the window size is 800x600

If the swf file is played full sceen the the edges of the file show... so I tried to change the document/screen size of the file in MX and now all the contained artwork is playinrg toward the left top corner.

So I tried moving the artwork to the center but it gets screwed up.... how can I get all the art to center to the window after resizing it in MX....... and

get it to jump to the html page from the last frame. I tried this code on a button on the last frame: on (enter) {
getURL(home.htm);
}
-- but Flash doesn't seem to like that - is there a little code that will do it?

I've provided the fla here =
idaryl
idface.gif
 
Why are you saying, your intro's size is 392*257, when the actual size of the .fla you posted is 580*320?
Are you meaning to say you only want that 392*257 area to be visible?
If so,you'll most probably have to mask it so that only that area is vivible.

As for your button's script, try this...
Code:
on (release) {
	getURL("[URL unfurl="true"]http://www.yourserver.com/home.htm",[/URL] "self");
}

...And obviously replace "...yourserver.com/..." with your actual server's name.


Regards,

cubalibre2.gif
 
oops - My bad - file is 580x320 - its got to be 800x600 (its playing in a fixed window size) that way the edges of the images and screen will not be apparent.

As far as the script goes - I have that on the "skip movie" button - but I need it to automatically switch to the home.htm page when the intro is done/finished. Dont want the user to click - at the end of the movie just load the page, that's all...

I'd do it - but I dont know how =-(

idaryl
idface.gif
 
Also.... here's a kicker - the client wants the black background to fade into the grey clouds - which in turn fade into the colored clouds (they took the pictures) - that got me (another I dont know how to do that type of thing) - so thats why I have the background the way it is

idaryl
idface.gif
 
First the button...

You now have your into looping with a gotoAndPlay(1); action at the end, should it continue looping while the site is opened in yet another window, or should the site appear in the same window replacing the intro.

Still some confusion as to size of intro and in what window it will be playing. Is it already set to play in a popup 800*600, and is it in those circumtances that you see outside elements that you wouldn't want to see? If that makes any sense to you.

As for your clouds problems, will have another look at you .fla to see if I understand that part of the problem.

Regards,

cubalibre2.gif
 
The size of the file is 580x320 and if I play it full screen then the images and whatnot appear outside (no I dont want to see them).

The window final is to be 800x600 so I figured that I should make the fla the same size - thats where I run into the elements in the upper corner.. see earlier.

Also I've replaced the file with another (same link) and the loop had been replaced with a stop and get url - however, it still is problematic.... now I'm finding the skip movie button doesnt work... very strange - it did before....?

idaryl
idface.gif
 
Watch it you have 2 different buttons on layer 16, one on only the last 2 frames... But both of them have bad scripts or sloppy syntax (reminds of an instructor I once knew!) [bigcheeks]

You should really have but one button and with something like this on it...
Code:
on (release) {
    getURL("[URL unfurl="true"]http://www.yourserver.com/home.htm",[/URL] "_self");
}

Don't forget the double quotes, and change "_self" to "_blank" if you want the site to open up in another window rather than in the same one.

As for your size and position problem, if I finally understand you correctly, you'll have to create a new 800*600 movie, convert your present intro movie into a movie clip, and then position and mask it to only show what you want to show...


Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top