WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Site Design > Flash Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Flash Discussion Forum Flash design presents a limitless number of possibilities for your sites and designs. Discuss your Flash ideas, questions and issues here.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-20-2003, 02:28 PM
WebProWorld Member
 

Join Date: Nov 2003
Posts: 35
dbh_21 RepRank 0
Default scrolling/panning backgrounds

how do i gect a scrolling background in flash, so it appears as if there is a pictures scrolling along inside a window??
Reply With Quote
  #2 (permalink)  
Old 12-20-2003, 05:18 PM
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Posts: 1,087
Sualdam RepRank 0
Default

Can you be more specific?

Are you thinking of something like a panoramic view with a photograph scrolling through 360 degrees, or a scrollbar effect with buttons moving by, or something like the background of a game with a moving background... or something else?
__________________
Sualdam
Reply With Quote
  #3 (permalink)  
Old 12-20-2003, 05:39 PM
WebProWorld Member
 

Join Date: Nov 2003
Posts: 35
dbh_21 RepRank 0
Default

like a panoramic view with a photograph scrolling through 360 degrees
Reply With Quote
  #4 (permalink)  
Old 12-20-2003, 05:53 PM
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Posts: 1,087
Sualdam RepRank 0
Default

What you need is...

- a digital camera
- suitable image stitching software
- a tripod (you can try it by hand but it is a headache, believe me)

Step 1 - set up the camera on the tripod in the middle of the panorama you want to display. Spend some time taking pictures, rotating the camera each time and making absolutely sure that there is a nice chunk of overlap between each picture and the next. You'll end of with a dozen or more pictures (remember this until later).

Step 2 - get all the pictures on your computer. Now fire up the image stitching software. What this software does is to take each picture, determine reference points that are common between two adjacent pictures, and then uses a clever algorithm to seamlessly 'stitch' the images together. It causes a little distortion that gives the 'fisheye' effect seen on panoramas - nothing to worry about.

When it has finished, you have a long single image that looks very odd with curved edges all along it as a result of the distortion. However, the middle part is the usable panorama.

Oh. Make sure the first and second images in the panorama sequence are also tacked on at the end. This means you can use Flash to jump to the begining without the user knowing.

Step 3 - You can probably work this out for yourself, but you just need to import this into Flash, place a mask over the area you want to display (to get rid of those lumpy bits from the image stitch), and animate it. When the duplicate part at the end of the stitch image is showing, jump back to the start and repeat the scroll.

Your best bet is to try it - then you'll understand much more.

The key is the image stitching software. Some graphics packages have the facility, but I like PanaVue

http://www.panavue.com/

Oh. That 'dozen pictures' comment? Well, if you take portrait pictures you'll need a lot more, and it also depends on the amount of overlap you give. It is best to allow a lot of overlap just in case. Don't be stingy.

Also, the more images you take the less the distortion - or rather the more of it you get which creates a more uniform image. Your call :)
__________________
Sualdam
Reply With Quote
Reply

  WebProWorld > Site Design > Flash Discussion Forum
Tags: ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0