Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


Panning & Full Screen Script? - Examples



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> Flash Forum
View previous topic :: View next topic  
Author Message
mfdanna



Joined: 19 Apr 2007
Posts: 15
Location: houston, texas

PostPosted: Fri Apr 20, 2007 2:54 pm    Post subject: Panning & Full Screen Script? - Examples Reply with quote

Mike again, can you tell we aren't flash people!
OK so before the questions it would probably be best to view the example so if my description is off you will still understand. If you visit www.blackpulp.com its a design firm out here in Houston and this is a perfect example of the full screen script I am needing. Anyone know how this is done? Also for the panning; what would be needed to pan a photo across the stage, a good example would be those flash "usually headers" you see with the sky similar as if you are in an airplane and looking out the window.

Are these difficult effects? I wouldn't say we are horrible at flash but our expertise is in SEO, so as we comprehend your advice..we still asked the questions because we don't know what in the !@#$% we are doing hah. Would love to get into some flash development as its satisfying when viewing your final product as well as great to use for reference.

Thanks guys!
Back to top
View user's profile Send private message Visit poster's website AIM Address
flabbyrabbit
500+ Club


Joined: 25 Jan 2007
Posts: 623
Location: Midlands, England

PostPosted: Fri Apr 20, 2007 4:54 pm    Post subject: Re: Panning & Full Screen Script? - Examples Reply with quote

Hi its me again Smile lol, anyway to get a full screen flash webpage is fairly easy. But for future reference if you have found a website which has created the same sort of effect as you want then first look at the html source for that page and that should help. When you embed a flash movie into a webpage you enter variables that tell it how big it should be, you usualy enter these as the number of pixels. But you can also enter them as a percentage. To get a full screen movie you would enter the width and height as 100%. There is one problem with this is that there will be a border around the edge of your movie (i'm not to sure why) so you need to enter some code into the head of the file to cancel this. The full html for example, would be like this:
Code:
<html>
<head>
<style type="text/css">
body {
   margin-left: 0px;
   margin-top: 0px;
   margin-right: 0px;
   margin-bottom: 0px;
   background-color: #d6d6d6;
   overflow:hidden;
}
</style>
</head>
<body>
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100%" height="100%">
  //Location of flash file
  <param name="movie" value="FLASHFILE.SWF">
  <param name="quality" value="high">
  //Location of flash file
  <embed src="FLASHFILE.SWF" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="100%"></embed></object>
</body>
</html>

You could probably get it even shorter than this, but that is the embeding code i always use.

On to your second point, for the panning idea would you want a looped pan or a user controled one? The first idea would be alot easier and could be made by creating a movieclip with a tweened picture so it scrolls across the screen. Do you know anything about tweening and masking in flash? If not i will right you a tutorial if you would like. I will explain further how to create the pan when you've answered this post.

Hope this all helps, and you can follow it,
Flabby Rabbit
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
mfdanna



Joined: 19 Apr 2007
Posts: 15
Location: houston, texas

PostPosted: Fri Apr 20, 2007 5:08 pm    Post subject: Re: Panning & Full Screen Script? - Examples Reply with quote

OK I am going to give a shot at the full screen really quick on a previous project for a client and upload it. You will have to excuse the websites content Wink. The site has actually been pretty effective for the client since they just wanted local marketing and their phone to ring, Google has been treating the site nicely fortunately. I will post when I all is complete and you will know what I mean. Are you speaking of the "click to activate this control" - dotted lines border?

The panning - this would be a brand new from scratch deal. So a tutorial for someone with an IQ of 1 would be excellent if you don't mind, if not, maybe you could point me to a useful tutorial that in your opinion you would have benefited from when you first started with flash.
Back to top
View user's profile Send private message Visit poster's website AIM Address
flabbyrabbit
500+ Club


Joined: 25 Jan 2007
Posts: 623
Location: Midlands, England

PostPosted: Fri Apr 20, 2007 5:24 pm    Post subject: Re: Panning & Full Screen Script? - Examples Reply with quote

No its just a blank area around the movie, try the code with out the header part and you will see what i mean.

Have you got the thing you want to pan on the internet, then i could right the tutorial correctly, so i know excctly what you want to acheive.

Flabby Rabbit
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
mfdanna



Joined: 19 Apr 2007
Posts: 15
Location: houston, texas

PostPosted: Fri Apr 20, 2007 5:31 pm    Post subject: Re: Panning & Full Screen Script? - Examples Reply with quote

I think I know what you mean, I am noticing that the actual SWF file is not 100% when previewing.

The panning - The site is not live just yet, it will be located at www.thewindowandsidingcompany.com in about a week. I know the domain is super long. I will find you an example, client is wanting the header to be 5 or so quality photos of stellar window jobs to pan across the header (main-menu) will be above. He was also mentioning the ability for the visitor to have the option to slide (kind of like a horz. scroll bar" but with buttons left and right to speed up the pan. I should be able to find something on the net.
Back to top
View user's profile Send private message Visit poster's website AIM Address
flabbyrabbit
500+ Club


Joined: 25 Jan 2007
Posts: 623
Location: Midlands, England

PostPosted: Fri Apr 20, 2007 5:33 pm    Post subject: Re: Panning & Full Screen Script? - Examples Reply with quote

I think i get what you mean, but it would be easier if you had the pictures for me to help you. But i will just make it with some random pics i find.

Flabby Rabbit
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
mfdanna



Joined: 19 Apr 2007
Posts: 15
Location: houston, texas

PostPosted: Fri Apr 20, 2007 5:36 pm    Post subject: Re: Panning & Full Screen Script? - Examples Reply with quote

I have the exact pictures actually if you want to check them out.

Do you have an email address?
Back to top
View user's profile Send private message Visit poster's website AIM Address
flabbyrabbit
500+ Club


Joined: 25 Jan 2007
Posts: 623
Location: Midlands, England

PostPosted: Fri Apr 20, 2007 6:11 pm    Post subject: Re: Panning & Full Screen Script? - Examples Reply with quote

So do you want all the pics one after the other in a long line then?? I will email you the .fla and .swf when i have finished (5 mins). Then i will quickly explain how i made it so you dont need me again next time.

Flabby Rabbit
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
mfdanna



Joined: 19 Apr 2007
Posts: 15
Location: houston, texas

PostPosted: Fri Apr 20, 2007 10:51 pm    Post subject: Re: Panning & Full Screen Script? - Examples Reply with quote

You are the man, sure thing.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> Flash Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap