Fitting Flash To Fit Page?
Please take a look here:
http://www.mmagifs.com/
I have sort of got it resizing but I'd like the movie to fit the monitor entirely and also have no borders....here is the HTML code....can someone please let me know how this can be done?
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>MMAGIFS.COM</title> <script language="javascript">AC_FL_RunContent = 0;</script> <script src="AC_RunActiveContent.js" language="javascript"></script> </head> <body bgcolor="#ffffff"> <!--url's used in the movie--> <!--text used in the movie--> <!-- saved from url=(0013)about:internet --> <script language="javascript"> if (AC_FL_RunContent == 0) { alert("This page requires AC_RunActiveContent.js."); } else { AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0','name','index','width ','100%','height','100%','hspace','0','vspace','0' ,'align','middle','id','index','src','index','qual ity','high','bgcolor','#ffffff','allowscriptaccess ','sameDomain','allowfullscreen','false','pluginsp age','http://www.macromedia.com/go/getflashplayer','movie','index' ); //end AC code } </script> <noscript> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" name="index" width="1600" height="1200" hspace="0" vspace="0" align="middle" id="index"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="false" /> <param name="movie" value="index.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="index.swf" width="100%" height="100%" hspace="0" vspace="0" align="middle" quality="high" bgcolor="#ffffff" name="index" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object>
</noscript> </body> </html>
FlashKit > Flash Help > Flash Newbies
Posted on: 06-15-2008, 11:35 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Fitting To Page Problems
I created a website in Flash, and I want the user to beable to scroll down to the bottom of the page, but the movie is auto fitting to the screen and everything shrinks and you can't read anything on the page.
Can anyone help keep the dimensions of the page the same
Marji
Fitting To Page Problems
I created a website in Flash, and I want the user to beable to scroll down to the bottom of the page, but the movie is auto fitting to the screen and everything shrinks and you can't read anything on the page.
Can anyone help keep the dimensions of the page the same
Marji
Problems With Fitting A Flash Film In A
I have uploadet a bit of the whole site here so you can see the problem.
http://www.valfreyja.dk/MMP3
When you click enter a popup window with the flash film appears. So far so good.
BUT it won't fit the screen excactly and I have no idea if it is in the html, the javascript or the flash film I need to do something or what to do
Only the Episode 1 - fra A-B link works yet (still not done at all - only uploadet a bit to test)
Anyone has any idea what the problem can be?
I can provide any of the code you need but for now don't know what to write down here.
Thanks in advance
Valfreyja
Fitting Flash Movie Into Browser
Does anyone know what the conversion table is for fitting a flash movie into the browser? I made a full flash website at 800x600 thinking it could stretch nicely to fit 800x600 or even 1024x768, but i forgot all about the IE/NS menu (forward button, refresh button etc), so my flash is now actually too big.
It's ok cuz it was just a test page, so i don't need to know how to make that one fit, but for future websites i'm guessing i should make it something like 800x550 to actually fit?
So to make a long story even longer:
Can anyone tell me how to make flash fit the browser with menu OR how to open it in a NEW window that doesn't have a menu? (i've seen that a few times but i don't know how hard that is to do for a n00b like me)
Thanx in advance for any help!
Fitting Flash Exactly To Popup Window?
mkay, anyone know how to remove the border/space around a swf, when ya have it popup in a window via java? guessin simple html fix here's my example.
here's link to see ithere
here's html of the popup with swf's
Quote:
<HTML>
<HEAD>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<TITLE>loader</TITLE>
</HEAD>
<div align=top>
<BODY bgcolor="#869A29">
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="800" HEIGHT="380" id="loader" ALIGN="top">
<PARAM NAME=movie VALUE="loader.swf"> <PARAM NAME=quality VALUE=best> <PARAM NAME=bgcolor VALUE=#869A29> <EMBED src="loader.swf" quality=best bgcolor=#869A29 WIDTH="800" HEIGHT="400" NAME="loader" ALIGN="left"
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</BODY>
</HTML>
Fitting Flash Intro In Windows
Hmm, I was wondering how one would insert a flash intro into Dreamweaver with the following requirements:
1) Fits the max window size (basically with no room left for scrolling)
2) if possible, eliminate the scrollbars
3) appear the same with either resolution of 800x600 or 1024x768
Fitting Flash Into Dreamweaver Without Borders
Howdy.
I was bonking my head how to "insert" Flash content on top of
a dreamweaver page so that anoying left and top margin are gone.
the site I'm making is essentially one big flash movie with some
"pages" in it that have different backgrounds.
I dumped some html code from "oldnewbie" on the Dreamweaver page...
<BODY bgcolor="#999999" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0"
LEFTMARGIN="0" RIGHTMARGIN="0" BOTTOMMARGIN="0" SCROLL="NO">
that does the trick if I want to make the page 100% x 100%...
(the whole page scales then and doesn't look so hot in my case).
I guess my only alternative is making the flash dimensions huge and
putting the content I want people to see in the upper left hand
section.
Is this the easiest way?
is it gonna bog down the download time (with a huge page)?
is there a standard (big) size I should use for this
so it's sure to cover most monitors?
I'm glad this site exsists, It's been invaluable to
me since I'm pretty green to Flash.
Thanks-
Fitting Flash To Fit In Webpage Nicely
Hi,
This is a follow up after I had some great help from 'pellepiano'..
Bascially Ive attached a file so it might help people in the future and someone might be able to help me.
The flash file when published to HTML will stretch to the size of the screen keeping the main body the same pixels centered (after you set the page margin properties on dreamweaver to 0).
It has two main sets of code to do this, one to set up the initial page to fit the browser without stretching the images in the page, and the other that will stretch Instances to what you set them to....... I am looking to set the white bar to the bottom of the screen and the blue logo to the top left of screen when in IE?????? anybody help me!???
Thanks
Jp
Fitting Flash Into Browser Screen
i know how to do the 100% percent x 100% percent thing but what i want to do is to insert another imovie that dont strech inside how can i do that?
i mean something like this http://www.flashden.net/files/54359/index.html
Flash Movie Not Fitting In Javascript Window
For some reason, my flash movie isn't fitting in my pop-up correctly:
http://j.parsons.edu/~ntaylor/
How can I get it to fit perfectly in the window (the sizes are programmed to be the same).
How can I get the window to open in the left hand corner also?
Fitting Flash Movies In Browser Window
I am having a little trouble getting my SWF to fit in the IE6
browser window upon publishing. There is about a half-inch white
border surrounding my published file. I know I need a piece of
HTML code that goes in the <BODY> tag. It has something to do with
margin height and width. Does anyone know the code dealing with
the margins?
Full Browser Flash: Mc Not Fitting Stage
Hi.
This is doing my head in.
I have a movieclip "myBacking_mc" that expands to fit the browser window. However, it'll only expand to fit if I manually adjust the size of the browser: maximise it, or just adjust it's size by one pixel.
Obviously that's rubbish.
How do I make the movieclip "myBacking_mc" expand to fit the size of the browser window automatically when the page loads?
My Actionscript is below. Not very tidy I suspect as I'm pretty much making it up as I go along, but it does the job apart from this one last thing.
Thanks everyone.
Code:
stop();
Stage.scaleMode = "noscale";
Stage.align = "tl";
Stage.addListener({onResize:reposition});
function reposition() {
var header = _root.myHeader_mc;
var content = _root.myContent_mc;
var footer = _root.myFooter_mc;
var nPos;
nPos = getNewPosition(header);
header._x = nPos.x;
header._y = 0;
nPos = getNewPosition(content);
content._x = nPos.x;
content._y = nPos.y;
nPos = getNewPosition(footer);
footer._x = nPos.x;
footer._y = Stage.height-footer._height;
}
function getNewPosition(mc) {
var newX = Math.floor((Stage.width-mc._width)/2);
var newY = Math.floor((Stage.height-mc._height)/2);
return {x:newX, y:newY};
}
reposition();
stageListener = new Object();
stageListener.onResize = function() {
expandBacking();
};
Stage.addListener(stageListener);
expandBacking = function () {
myBacking_mc._width = Stage.width;
myBacking_mc._height = Stage.height;
};
Fitting Images Into Scrolling Flash Movie
I'm pretty new at Flash, especially actionscript and I can't figure out how to get my movie to go through all the images I put in. In the library there's a movie folder in which there are 3 movies. The second one has most of the actionscript. I can't figure out what I need to manipulate so that all the images play/scroll through.
I put it up a link to the flash film on the web because even when zipped the file is too large to post as an attachment.
http://www.wakefly.com/staging/flash/flashmovie.htm
Any input would be much appreciated. Thanks!!!
Flash Video Not Fitting In Skin Player
Hi. I downloaded the flash video list player and adjusted the size to play my clips. but the clips are being resized and cropped when it plays? Can anyone help? I'm baffled and frustrated (new to flash)
The files in question are on the web if you want to look at the code.
The player http://ridethespiral.net/xml_video_playlist.swf
The first clip it refernces via the xml sheet. http://ridethespiral.net/Dandy07.swf
Some html coding associated with the files? http://ridethespiral.net/xml_video_playlist.html
The flash file http://ridethespiral.net/xml_video_playlist.fla
Flash Components Fitting Perfectly To Background Of Html, HOW
hi there
i think the most beautiful websites are those that combine html+flash, BUT i want to know how one can combine those 2 perfectly.
i often see a cool flash animation, and this animation fits/attaches perfectly with the background in the second frame...
f.e. a line in a flash movie, from left to right, but in the end this white line is not flash anymore but the background picture. (fixed)..
is it hard to create such things, i know you have to caculate a lot of things, but in the end i wind up that the 2 components do not fit perfectly....
Can somebody help me with this?
an example would be nice
greetz
melvin
[mx04] Fitting Flash To Browser Window -issues
Hi all, please help I just can't seem to figure this out?
I am trying to get the SWF file to export into the HTML browser so that it will expand and contract with the screen resolution of the user.
I have tried to set the export dimensions to 100% height and width. and I have tried to set the scale to exact fit and no scale.
I have had several outcomes but none of them are what I am after.
Here are the links to my results:
http://www.moochmag.co.uk/tests/home2.html
http://www.moochmag.co.uk/tests/home.html
You can see that these pages are 'squashed' or missing sections of the page.
I am trying to create the html so that the SWF file fills the screen width ways (100%) but the height of the page can still be scrolled up and down ie. remains proportional to the width of the SWF...
PLEASE any ideas on this????
any help would be fantastic thanks all.
Fitting
can someone help me fit this scroller inside this page so that it will only scroll between the yellow masks.
thx.
Fitting Swf To Screen
I am having some problems fitting the flash file of mine to the screen and centering it in the middle of the page. I hear that there is some Javascript code that will automatically fit it to the center of the page. Can anyone provide that code to me? Thanks!!
Fitting Everything In One Layer?
ok pellepiano just sent me this .zip file for a movie rollover function, and i have been meaning to ask something. How is it that you cah do "sublayers". Like when you open the .fla its just one layer then you click on that with the arrow and four or five layers come up, how and why do you that? thanks im sure this is such a newb question.
[MX] Scaling & Fitting
Hi all,
first of thanks for all the feedback the other day on my autorun cd... u know who u are!
question 2 tho!
ive got my .swf and ive made it so that u cant scale it... which is what i want. its on a white background. but what id like it to do when it runs is fill the entire screen tho staying at the same size so u cant scale it.
anyone got any ideas? is it an fscommand or something simple like that that i put at the begining?
many thanks
forceyboy
Window Fitting To Swf?
Hello,
As you can see on my site: http://www.duprez.de
there´s at the bottom a blue area which is the background-color of the html-doc.
How can i fit the window exactly to the .swf´s dimensions?
thx
greetz
Fitting Text To A Path
Really simple question i know, but can anyone tell me how to fit a line of text to a curvy sort of path?....
cheers...
Fitting Movie In Browser
Hello,
Can someone please tell me how to make a flash movie fit completely into the browser window 100%?
I made a movie and took up the entire space in the scene and I would like it to take up the entire browser window? i.e. http://www.voicemax.com/mike (Sorry for the lame example, just practicing!) ... the corners in this example were in the very corners of the flash scene and I would like them to be in the corners of the browser... is it possible to do this when you make a movie smaller then the space in the browser? And if not, what size should I make the flash movie for the best fit? I hope my question is clear!
Thanks again!
Cheers,
Mike
Fitting.... Horizontally - But Not Vertically
okay, I get the exactfitting stuff, but what if I wanted the Flash movie to fit the browser window's width.. but not height (leaving the excess swf outside the depth of the browser window) clicking on the thumbnails here will give you an idea of what I'm trying to dohttp://www.randpc.com/marketing/onClick/clicktest.htm
Help Concerning Fitting Html To Window
Hey,
I am having a problem with resizing the windows in Dreamweaver with a flash website. Is there a piece of javascript code that will cause the flash website html file to fit to the screen, but not take up all of it? Thanks.
-thesportshero
Fitting An Animation In A Table
Hi,
Lets say I have a table that looks like this which makes up format of a site.
1 | 2
___|_____
|
3 | 4
all done all nice and fancy in HTML and everything flows together nice and the pics are super dope.
What if I wanted cells 1 and 3 of the table to become one looping, neato flash animation? Do i need 2 diff flash docs and sync them somehow, or is there a way to have the 1 cell overlap onto the 3 cell?
Does this q make sense? I cant kill cells 2 and 4 because they are already hot links etc. and cant be changed. Any ideas?
Awesome,
Double 0h Seven
(ok so i checked this once its posted, but i dont know how to draw the table, just imaging the simplest table ever, like the 4 quadrants.)
Fitting Html Window To My Swf?
Hi
I have a swf movie, 800 x 520. Its been designed so it looks best when the html page is tight up against the swf border, ie it doesnt add white around the edge.
Does anyone know of a way to get the html page to open to a specific size, and maybe be locked to that size? Can html windows be controled in this way?
Thanks in advance
Dinamic MC Fitting To Any Image
Hi guys!
well, i know how to load images inside dinamic MC but my question is:
how to make that MC dinamic, like it can load any image i want that it will adjust to it and make lets say... 5 pixels white border?
something like this:
http://www.iso50.com/iso50.html
many thanks in advance !
Stage Not Fitting Design
this is a dumb question, but one that is bothering me. I am working on my flash movie, and I have a really wide clip that has different images. when the user selects different images, and scrolls the movie left/right to the appropriate selection. this all works fine. however, I want to add images to the right further, and the visual authoring tool seems to limit itself at a certain width, so I can't see beyond, and I need it to allow me a wider panel so I can lay them out in sequence. It is extremely annoying. Does anyone know why it is not adjusting and my last images are going off the screen, even if I try to use the hand tool or scroll as far right as I can?
Fitting In A Browser Window
I have made my flash movie on a really wide screen, and i didnt realize that when I publish my movie, regular monitors cut off part of the movie...is there a way to get the broswer (mozilla/IE) to resize the flash movie so it fits on screen for the user without distorting the movie?
Fitting Jpg Fullscreen Smoothly
alright.. I'm trying to make photos stretch to fullscreen.. It works right now fine, but when the jpg isn't its natural size its all glitchy and looks like less quality where edges aren't as fine as they should be.
I have this:
if(stage.stageHeight-(HEIGHT*(stage.stageWidth/WIDTH))>0){
container.height=HEIGHT*((stage.stageHeight)/HEIGHT);
container.width=WIDTH*((stage.stageHeight)/HEIGHT);
}else{
container.width=WIDTH*((stage.stageWidth)/WIDTH);
container.height=HEIGHT*((stage.stageWidth)/WIDTH);
}
How can you do it so the edges are fine and perfect?
Fitting In A Browser Window
I have made my flash movie on a really wide screen, and i didnt realize that when I publish my movie, regular monitors cut off part of the movie...is there a way to get the broswer (mozilla/IE) to resize the flash movie so it fits on screen for the user without distorting the movie?
Fitting In A Browser Window
I have made my flash movie on a really wide screen, and i didnt realize that when I publish my movie, regular monitors cut off part of the movie...is there a way to get the broswer (mozilla/IE) to resize the flash movie so it fits on screen for the user without distorting the movie?
Fitting The Browser And Graphics
I know its probably easy but -
I have done a flash site that had to fit the browser window well I did it succesfully but - the graphics look a little aliased when the movie is big - even vector graphics like logos that are done with Illustrator. the only way they to look nice is when I import them as eps - but eps format as I know is too heavy for flash movie... Is there a way to import them as png files and they to fit without bad quality?
how about photos?
Fitting Browser Window, Yet Scaled
What I want to do is have the swf resize as large as the browser window without scrolling, yet scaled. 100% stretches objects and I have silhouettes of people that I don't want to get fatter and thinner, so I need my movie have the same proportions, but be as big as it can be.
Fitting Pages Neatly Into The Screen?
Hi everybody,
I hope this isn't so lame...
I'm struggling to learn how best to get pages to fit neatly into
the browser screen.
It is horrible when there are slide bars on a page that just don't need to be there and/or borders of colour that I never wanted.
How can we either fit in those borders with colour (better still) graphics other then the staple pick a background colour?
Or better than that why won't a flash page just fit snugly into a page?
Is using code programming the only way to get this to work?
How can a page work on different resolution monitors?
Can I build a page in 1400x1050 and get that to fit 800x600 and 1400x1050?
Is dreamweaver the place to edit code in the the .html file that flash produces to edit code? Is there other programs?
What is in the .swf file? Is code edited there? If so, with what program of function is it edited.
Checkout www.sellitadvertising.com for a simple sample of the issues I'm having.
I'm sure many of you have been here before and have worked it all out!!
Please help me....
Regards,
Having fun with flash,
David.
[MX] Fitting Document Size To Content?
Hi. I think I screwed up and am hoping there is an easy fix for this. My doc size is 550 px wide by 400 px high. I need it to be 550 x 120. I know that this can be done from the doc properties box, however, I already have all my content in the center of the doc. If I change to the dimensions I want, then all the content is not shown. I have already laid out my whole movie and can't seem to figure out how to move an entire movie up to the top of a document either.
Does anyone know if there's a way to adjust the size of the document once you're done with your movie? When I tell it to be the size of the content only, it still makes it 400 pixels high and the largest pixel height my movie takes up is 100 pixels. I hope this makes sense and I greatly appreciate any help or advice. Thanks.
Fitting Images And Maybe Preserving Proportions
At the moment I am using
_root.image.loadMovie(photo.jpg);
to load a jpeg into a movieclip which results in the picture being loaded at its full size. Whats the best way to get it to fit to the "container" movieclips size.
Also is there a way to get it to preserve its proportions so it doesn't stretch?
Algorithm Multiple Boxes Fitting Together
Hi everbody,
I'm trying to do an AS3 info-visualization like TED's one with his news boxes: http://www.ted.com/
All the problem is to make multiple boxes, with different width and height, fit perfectly into a constraint space...
I tried to adapt jared tarbell processing code at http://www.complexification.net/gall...es/boxFitting/
His algorithm make one box growing until it touches an other box: he is using a getPixel method to look for a box collision, which is incompatible with a vector rendering in flash...
Any one has an idea to make such a thing in AS3 ???
Fitting FlashMovie To Match Explorer Frame
I have a FlashMovie (www.wycorpwebdesign.0catch.com) that seems to size itself differently depending on the size of ones browser window. Mostly it cuts about 1cm off the top of the whole movie.
I wondered if it were possible to set the movie to exactly follow the size of its browser frame no matter what that might be (like the swf does if you open it independantly)???
If you can do this, do u use HTML code or can you set this up in the publish settings? mmmmm
Can anyone help me?
Thanks Guys.... Youve not let me down yet!!!
Oh yes... and also, when you hit the email button the browser frame reduces itself, is there anyway to stop this?
Fitting X Amount Of Squares Into A Bigger Square...
I'm currently working on a script that takes any amount of squares (x) and evenly distributes them inside another bigger square.
The problem I'm having is that I can only get it to go across one line, I have no idea how to code it so that once it reaches a certain number of square across to have it drop down to the next line.
An example would be, say if I have 16 squares, I can get it to spread 4 across, and then I want it to drop down and do another 4, and then drop down and do another 4, and then drop down and do another 4.
right now I'm bringing in the squares in a for statement, and within that putting them into an array for formatting the ._x and etc...
Any ideas?
Thanks,
Mike
Fitting Movie To Individual Monitor Resolutions
ive made my first flash homepage:
http://homepage.sunrise.ch/mysunrise...ite/index.html
and on my laptop with 1400x1050 it is perfect, but for example with 1024x768 it looks terrible,
because the movie is too big for the screen and the fonts are too big
so the design concept is gone.
is there a way to read the monitor resolution and more imortant, to fit the
movie to individual sizes for individual resolutions?
any help is greatly appreciated..
Slideshow Pro Images Not Fitting Header Size
I've been playing with this for a while. I have a header built in slideshow pro at 750 X 150. The images are auto sizing maybe to 200 X 150. I've tried the link to the images in ssp director and just using an images.xml and loading the images into the same folder as the .swf .fla.. Whatever i seem to try to my depth in knowledge does not change the image size. In the component inspector i have it set to scale the image. In the publish settings of flash i have it set to 750 X 125 pixels for the image on the html tab. Some other minor things, but what ever i do the images stay about the same size centered and do not size the full header or bigger than about 200 width.
Any ideas? I can load the code when i get home in a little.
Most Common Fash Web Site Size For Browser Fitting?--------------------?-------
what sizes do you make your movie so it fits in most monitors with out scrolling?
I made my whole site, with the perfect pixels, for all my pixel fonts, but made the site on my 17' mac screen. I made it at780 x 590 px, because a friend told me too. Noo Good! ends up after i worked the entire summer, when I went to upload to the server, the site was too large, to fit in most people's monitors without scrolling. What is the size, should I build for normal monitors? I got screwed, because after, I did all my text, pro"text"ing me form the "evil" blur, I had to resize the swf. in dreamweaver when putting on the server, and all my perfect pixels were ruined, and the good old, "evil" blur came and atttacked me and everyone else's monitor who visited, www.carpeinternational.com on the world wide web. Now, I was stuck switching the dynamic text scrollers, to Arial sz. 13, which looked the best, with the "evil" blur. And here I am today. wondering, what is the size, the sweet size, I should start with now, as I am building additions to my site. Don't want to end up again, up the creek, with a blurred pixel font. Please my flash friends, gimmie the low-down on some sizing. Hope everyone is well.
Cheers!
g.g.
Please Help Flash Page Linked Do Another Flash Page On Server Doesn't Work
Hey,
I'm creating a website for a client that has a component scroll on the main stage linked to a dynamic text box with some buttons that when clicked will load an external file on Layer 1 of the main timeline in Flash. When I tested it in Flash it worked, when I previewed it in Dreamweaver it worked but when I uploaded it to the server. The main swf loads but the files that are linked to the main .swf don't
On the first frame of the main time line I have the code below
loadMovieNum("movies/Thumbnail1_mc.swf",1);
On each of th buttons I have the code below
on (release) {
loadMovieNum("Movies/Thumbnail1_mc.swf", 1);
}
I have read some of the posts here but my main .swf file plays so its not the "scripts" folder in the wrong place.
and I'm pretty sure that it can't find the files due to my path to the file, but I'm not sure how to get the main .swf file to look for the Thumbnail .swf files on the server. Please help.
Thank you
Page 2 - Loading A Movieclip That Always Stays Center Into My Flash Full Screen Page?
Tann, regarding the proportion resize, do you know if there is a way to make it so that when you drag the browser window, you are restricted to dragging it at its flash proportion. Just like if you are in photoshop, and if you decide to transform an image and I think press control or alt while you drag the corners, it will resize it proportionally.
Right now, if you drag the browser window, you can drag it any shape, and if the browser window height exceeds the flash height, it will allow you to do it, but the empty space is filled with the background colour of the html page.
Would like it, so that the window is not draggable anymore if its proport width or height has exceeded.
I hope that makes sense.
Making A Button That Allows Your Flash Page To Be The Browser Default Home Page.
Mmn, seems the original post dissapeared while i was typing , no prob, here is the code in anycase!
Ok a simple trick in IE but not in Netscape, as far as i know, its not possible to do this in Netscape. Also you shouldnt make the home page your swf file, but rather the html file with the swf in it.
First this requires an xml namespace to function, so change your top <html> tag to look like
<html XMLNS:IE>
Then create the IE:Homepage object using this, it can be placed anywhere on your page as long as it happens before the javascript.
<IE:HOMEPAGE ID="oHomePage" />
And finaly the javascript function that you will call from your flash file (using getULR('changeMyHomePage()') in flash) or from a normal link.
Code:
function changeMyHomePage() {
oHomePage.setHomePage ('http://www.womenslife.co.za/Default.asp');
}
Hope that was not to hair razing, post again if you have a question.
[Edited by threnody on 01-18-2002 at 04:50 PM]
Naming Of HTML Entry Page & Flash Intro Page?
Hey Everyone. What is the best way to name the entry non-Flash (HTML) page - the splash or index page, whatever it's called - that is the gateway to the final Flash site, which will open in a new window? When users type in the basic web URL - for example, http://www.mysite.com - I want them to come upon an entry page that states "Click here for Flash Player 6" and "Enter if you have Flash Player 6". When the user types in the basic URL should I have the entry page called http://www.mysite.com/index.htm?
One step further... How do I configure things so that when the user comes to the entry page, Flash 6 is automatically detected on both Mac & PC platforms? Detailed answers will be much appreciated, as well as links to tutorials.
peace out,
*< Scottie
|