hey dSKY, thx for the quick answer. I placed everything on whole pixels now but I didn’t manage it to round up the position values… do you have a code example for me “how to round up”? would be great…
Posted 21 days ago

“__ This is one of the most creative and clean pieces on FlashDen! Respect!
I’ve been looking at it for minutes. It’s incredible how well it works with the video, and how good it fits. Very well done job! “
user: bobocel
UPDATE :1.5.2008 There were some issues , on the slower machines (521 mb ram), file is now optimized for better performance ,there is also a new script for snapping objects to their positions(no tweening.
enjoy
UPDATE : 22.4.2008 There are now four separate actionScript files for loading external asset right on start so , depending on your needs, you can use either of these files,and it will load required asset right on start , without requiring the press of a button. 
-Resizes and loads the picture across the stage -Resizes and loads external SWF across the stage -Generates and resizes tilled background across the stage. -Aligns all the elements. - Code is very well commented -There is a convenient function setBgSize(mc:MovieClip) ,which set any mc to fill in the whole stage.
-There is a function for generating a tiled pattern across the whole stage function fillBG(mc:MovieClip)
-Functions for aligning ALL the elements on the stage are set up like this: function moveLowerLeft(mc:MovieClip) // pass in the MovieClip to be aligned in the lower left corner of the stage. function moveLowerRight(mc:MovieClip)// lower right corner of the stage. function moveUpperLeft(mc:MovieClip) function moveMiddleRight(mc:MovieClip)
-This file is using flash native classes (classes that ship with flash).
-There is also one extra bonus if you right-click , go check it out!
This file is great for portfolio sites, picture or video galleries, to go fullscreen , or you can use it here on flashDen.net for your own previews!

enjoy
This file goes hand in hand with this one:
hey dSKY, thx for the quick answer. I placed everything on whole pixels now but I didn’t manage it to round up the position values… do you have a code example for me “how to round up”? would be great…
Posted 21 days ago
// this is an example for moveMiddleRight function
// old function
function moveMiddleRight(mc:MovieClip) {
var x:Number =Stage.width-mc._width;
var y:Number =(Stage.height/2)-(mc._height/2);
// new function change
var x:Number =Math.round(Stage.width-mc._width);
var y:Number =Math.round((Stage.height/2)-(mc._height/2));
// so , ^^ insert Math.round() in every function in variables var x and var y
<pre/>
I hope this helps 
Posted 21 days ago
Hey dSKY,
Nice file man! This is gonna be nice for my panoramic photography at http://www.panomotionstudio.com
My question (i’m decent with flash at best so be easy on me!) is that I’m loading my pano swf right on start but it’s loading the pano above all the buttons/menu’s etc. A long time ago I remember something about layering or levels or something to that effect. Thanks!
Best, GJ101
Posted 17 days ago
@gj101
Yeah ,they are called depths in flash, basically when you create your file in flash ,everything on the stage is going to be below , everything else that is created and loaded dynamically.
What you could do is make a layer below the layer that holds your buttons, create a movieclip on that new layer , and than tell flash to load your .swf in that movieclip.
I hope this helps.
ok – just to get this straight – in your file at the main timeline where the external swf is loaded, could I just move that layer below the buttons/menus etc? Not sure why I’d have to create a new layer in your file if the swf being loaded is on its own layer already if I recall. Thanks!
-gj101
Posted 17 days ago
yes , you can do that, that’s why the file is built like that , with the swfHolder below the buttons.
Posted 17 days ago
Thank you sir…i’ll try it when I get home. I’m sure I’ll have another dumb question for you along the way.
-gj101
hey! this file is amazing…. im using it to load a full screen .swf in the background of some other stuff….. my problem is that after the content is loaded [as represented by the preloader bar].... i need the swf to start from the beginning…. it seems the swf is playing while the whole file loads, so then after its all loaded the alpha goes to 100 and i see it from whatever point its at depending on how long it took to load…. but is there a way to tell it NOT to play while loading and only to start once the load is complete?
thanks! stacybird@mac.com
Posted 17 days ago
you can put the stop() action on the first frame of your .swf file, and when it loads you tell it to play()
find the onLoadInit=function(target:MovieClip)
target is your swf that is being loaded,
onLoadInit is a function handler that is being invoked when the file finishes loading/
I hope this helps 
hey dSKY,
I’m still having problems with my pano swf loading on top of all the content. I tried to embed the pano into the SWF Holder MC and also tried to rename the pano external.swf to load it externally. Any ideas? Thanks.
-GJ101
Posted 16 days ago
if you are creating any movieclips dynamically , they always go above all other content.
Just for the experiment, try not to change anything in the file, and put you swf that you want to load in the same folder and reaname it external.swf (replace my external.swf). And see if that works for you
dSKY -Yes, when I load my external.swf it’s still loading above everything else. Not being a flash dude, don’t know what else to do. Would you mind if I send the pano to you (1.5mb)? Perhaps there’s something i’m overlooking. Thanks.
GJ101
Posted 16 days ago
Hi dSKY,
Great file – only came a small issue – Otherwise all works fantastic.
Not sure if it’s my system or if need to change a variable – but I’ve set up the fullscreen movie to load in a swf file automatically upon load (which I’ve set up by changing the .as include to “fullScreen_swf.as”
All works well the first time the page is loaded, however if you navigate away from the page and go back to it while viewing in the same browser window, it doesn’t load the swf back in automatically (has the same problem when you try to refresh the page).
Is there something I need to change or add in to get this to work?
Thanks, decibelau.
Posted 13 days ago
var so = new SWFObject(“fullScreen2_preview.swf?r=”+ new Date().getTime(), “fullScreen”, “100%”, “100%”, “6”, ”#000000”); <pre/> It should for loading of the file every time (it won't be pulled from cache)Posted 13 days ago
Hi sSKY:
Nice file. Some question to ask! 1.Just what to ask, can i add more btn to change the tile pattern? 2.I want to put the fullscreen btn to the upper right hand side, any things i need to change?
Thank a lot
Posted 8 days ago
var tile:BitmapData = BitmapData.loadBitmap('tile');
That portion of code loads bitmap from the library , with linkage id ‘tile’
you could change the name with your own bitma, and you could also create more variables with the same code , and they could load more patterns
var tile2:BitmapData = BitmapData.loadBitmap('tile2');
// remember to call the funciton that actually generates tiles in the //movieclip -- fillBG(mc:MovieClip) -- pass in the movieclip where tiles should be generated.
2.There is a function in the file function moveUpperLeft(mc:MovieClip); call that function and pass in the clip that you want to be aligned in the upper left corner of the stage. Remember to call that function , when flash starts and when you re size the stage.
Posted 8 days ago
Thank!
When i add one more btn “createTiles_btn2” at the flash, how can i change on the code?
Basically, i just want 2 btns to change the tile backgroound only!
Posted 7 days ago
You need to have one more bitmap holder mc’s on the stage (duplicate the “tiled background layer”
and use the code from my previous post.
have you got a simple script to apply to the arrowsMC’s left/right that cycles through an image index? Im just wanting to create a simple left right navigation slide show.
Any help/direction would be great!
I’m a novice. Doh
Posted 7 days ago
Hi there, I bought the item in order to have a full browser background that scales. It works great, but when I try to use the video importer to import a flv to play over the background, all hell breaks loose. The video won’t load and just flashes the black FLV logo. Any ideas?
Posted 6 days ago
@billymay
Where are you loading your video file?
You need to have video object on the stage, and to have code that utilizes NetStreamClass. This file doesn’t provide code for playing progressive flv’s.
I can refer you to my latest file that streams progressive flv video in full screen click here
I hope that helps 
hi your file it’s perfect i love it… i have one stupid question how can i load different pictures? Just try to do a button on flash movie and past the code on you external file… i change the name of picture but when i click this button trace tell me “pic already focused return ” please help me.. thanks jonathan
Posted 1 day ago
hey dsky,
I know you been asked this before, just wondering how would you load a seperate background image for individual buttons and i use the root command to load .swf’s in the area that i would like. I know im a rookie, you help would be greatly appreciated, nice work.
Posted 1 day ago
sorry for the typo’s, to clairfy do i use the root command to load a .swf in the area that i select. Would you be able to show me a demo script. Thanks again.
Posted 1 day ago
I don’t know actionscript. Can some one sent a file that loads the video from start? My email is jabbar@barscode.com
Posted 1 day ago
Sorry, I don’t know actionscript. Can some one sent a file that loads the swf from start? My email is jabbar@barscode.com
Posted 1 day ago
@ jabbar
there are multiple actionscript files in the download folder, and every file loads one asset right on start , they are properly labeled : ‘fullscreen_picture.as’ , ‘fullscreen_swf.as’ , ‘fullscreen_pattern.as’