View Single Post
  #1 (permalink)  
Old 15-04-2008, 03:48 PM
LeadMagnet's Avatar
LeadMagnet LeadMagnet is offline
Mr. Tambourine Man
 
Join Date: Jun 2007
Location: Ireland
Gender: Male
Posts: 1,381
Default Fullscreen flash resource

Hey there everybody.
I thought i'd be generous here and make a little template people can use and learn from.

I just knocked up this thing here really quick showing how to position elements relative to the edge of a user's browser window.
  • The stage is the green rectangle in the center, the grey is the background colour of the flash movie.
  • Arrows touch the screen's edge
  • figures show the window width and height
  • The red dot just flashes to indicate the framerate of the movie (as you can see while resizing in firefox, flash movies are frozen, which is why the arrows and figures don't re-adjust until you stop resizing. Not a big deal really though.
I'm using SWFObject for this because it's so damn snazzy. Download the resources here (as well as the HTML file above):
http://blog.deconcept.com/swfobject/swfobject.zip
*edit - Update* Sample page here
Download the files here */edit*


So anyway, this is really basic and i haven't done much with it yet, i thought it might be a good idea to get a bit of feedback from you ladies and gents first. Primarily any feature requests really.
I intend to keep this script freely available.
*edit* Oh, i intend to add in some easily modifiable script for scrolling. Lack of a scrollbar is a really common problem within flash and it shouldn't be.
__________________
Subtlety is my middle name... and first and last in case you didn't get the point.

Last edited by LeadMagnet; 16-04-2008 at 09:23 PM. Reason: updated version
Reply With Quote