Scaling Flash To Fit All Screens
Is there anyone knows where the actual actionscripting is so i can copy it and paste it into my flash. I learn easier this way. i want it so there is a little gutter or whatever you call it around my flash. Thanx
FlashKit > Flash Help > Flash Newbies
Posted on: 03-26-2002, 02:54 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
~ Scaling With Different Screens? ~
How do i set a movie to fit the screen of different resoultion screens without it being to big or to little.... for example i want the website to set at 800x600 , 1024x740 or even to pda size when somebody comes to the site.... how can i accomplish this?????
Flash Screens
Hi all,
I started my flash document in Flash CS3, and now I can't open it in Flash 8 due to the document containing 'screens'. Does anyone know what this means and how can I overcome this problem and open it in Flash 8?
Thanks!
Using Screens In Flash
Does anyone know where I can find some good info for using screens in Flash? I think it would be a sweet way to build pages, I just can't find enough info to work out some quirks. Thanks
tyman
100% Flash Cut Off On Different Screens
Hi, I have made a site at 100%
On different screens.. widescreen/normal and different resolutions.. parts are cut off either on the top or the sides.
Is it possible to have everything seen always on different screens?
Here is a link..
http://thecreativecompany.com.au/pm/
Please Help Me - Blank Screens In Flash 5
Hey folks
I’ve just started learning Flash 5 (yes, why aren’t I using Flash MX) and I have run into a major problem. When I open up previously created files, the stage comes up as blank. I've checked that the work area and timeline is on, I’ve also reloaded Flash on my machine - but the screen still comes up blank.
Can anyone out there help me - it would be greatly appreciated.
thanks
Blackwidow
Flash Loading Screens
I have no idea about where to start when it comes to making even the most basic kinds loading screen for when someones loading a flash thingy up on a site. any clues chaps?
Flash & Touch Screens
Hi everyone,
We've traditionally used Macromedia Director to do all our touch screen development.
Are there any disadvantages to developing touch screen software with Flash?
Much appreciated
Rob
Flash Error Because Of Screens
hi, basically my problem is that when i try to open a file which i think was origionally made in flash 8 but then later downgraded into flash mx 2004, it says that i cant open the file in this version of flash because of screens, does anybody know what these 'screens' are or how i can fix it and open the file in flash mx 2004?
p.s. i do know the person who made the file, and he has the flash 8 file aswell as the mx 2004 file, so anything he could do to make me be able to open it either?
I Want To Have A Flash Application Go Across Two Screens.
I want to have a Flash application go accross two screens.
I have a dual screen monitor card.
I want to have the application be full screen on BOTH monitors.
How can I do this in Flash?
Is it possible?
Or is it at least possible to have two full screen aplications running on both monitors?
(At the moment, a full screen application will launch in the default or primary monitor.)
AND IF so, is it possible to get both applications to talk to each other?
I need one controlling the other.
Otherwise, is it possible to do in Director?
Any help would be appreciated.
Thanks.
OM
Flash - On Plasma Screens
Hi, I'd like to ask for some advice on setting up your flash movie to be shown on a 10" plasma screen? I've read that at a 16:9 ratio the movie canvas size should be 800x450 and allow it to scale naturally but elsewhere I've read that on higher res screens? it can be 1300x....?
thanks in advance
Flash Screens Or Slides (use Or Not)
I've never used screens/slides. I have a big 200 screen project that is mainly just that, 200 screens with some simple animation or interactivity on some of the screens. The only other navigation would be forward/back, main menu.
Is there a reason no one uses this feature? It seems like a great thing for this type of project, or any project that is basically just navigation between screens with their own timeline.
Normally I would set up labels in a root timeline for all my screens, but why bother if this screen feature is built-in?
Any one else contemplate this?
Thanks.
Working With Screens In Flash 2004 Pro
I'm working on a mini-site using screens in Flash 2004 Pro.
On each screen I have a little "intro" movie playing whenever the screen is revealed.
For some reason, the movies within each screen play even if the screen is not visible, so when I click on the link (which reveals the the particular screen) the movie had already played and stopped.
Is there a way to tell Flash to wait till the particular screen is revealed to start playing the movies within that screen?
Thanks in advance.
zee
Working With Screens In Flash 2004 Pro
I'm working on a mini-site using screens (forms) in Flash 2004 Pro.
On each screen I have a little "intro" movie playing whenever the screen is revealed.
For some reason, the movies within each screen play even if the screen is not visible, so when I click on the link (which reveals the the particular screen) the movie had already played and stopped.
How do I tell Flash to wait till the particular screen is revealed to start playing the movies within that screen?
Thanks in advance.
zee
Stop Animation On Flash Pro Screens
I'm doing a Web site using screens (Flash 2004 Pro) where each slide has a little animation which should play only when the screen is revealed. Unfortunately, all the animations play although their corresponding screens are not revealed, so when I click on the link to a screen, the animation has half-played already.
One of the memberes suggested that I use script like this:
---------------------------------------------
_listener = new Object();
_listener.reveal = function(e){
_mc.play();
}
_listener.hide = function(e){
_mc.gotoAndStop(1);
}
_screen.addEventListener("reveal", _listener);
_screen.addEventListener("hide", _listener);
----------------------------------------------
Since I'm a beginner at AS I don't know where exactly to put it (tried everyting. The other thing, is "_screen" the name of my corrspondent screen, and should "_listener" be replaced with something else, or should it leave it alone?
If someone can help, I'd appreciate it,
thanks
Kiosk Touch Screens In Flash?
Does anyone know how to make my buttons work by
touching them on the screen?
Your generosity in this matter will not go unrewarded$$$
Flash & XML Login Screens What R They Loading?
Hello,
under the description of this forum you said "there is no such thing as a stupid question in here" well hopefully this isn't one
Sometimes when I visit a flash site when the preloader is doing its thing I sometimes see "xml loading" what exactly is xml loading into the site is it text???
If so why use xml when you can use the load vars method or do they put it there to look cool for the geeks
example!
http://flash.designbyfront.com/flash.htm
stefan
Flash Accross Multiple Screens
Is there a way to run flash full screen across two monitors on mac os x? I tried using director and it works, but director keeps crashing.
Any ideas????
Thanks
Flash On Multiple Monitor / Screens
Hi,
I have this problem:
I'm suppose to make a presentation in flash, in two languages. As the first language is displayed on one screen of the computer, the other is supposed to be running exactly at the same time on the other screen. Is there a way to do that with only one flash movie?
(in fact I'm supposed to be using 3 screens).
Thank you.
Extending Mx.screens.Form In Flash 8
Hello,
I'm creating a Flash 8 forms application, and am having great difficulty in linking each form to an .as file extending the mx.screens.Form class. When I place the class name in the "Class Name" property of a form, I usually get the following error:
**Error** W:flashlibraryHelloWorldForm.as: Line 1: The name of this class, 'HelloWorldForm', conflicts with the name of another class that was loaded, 'HelloWorldForm'.
class HelloWorldForm extends mx.screens.Form
where HelloWorldForm.as contains the class that extends mx.screens.Form. In the above example, my .fla is contained within W:flash and HelloWordForm.as is contained within W:flashlibrary. I have included W:flashlibrary into my per fla classpath. More specifically, the following are my per fla classpath settings:
./library
$(LocalData)/Screen Types/Form
and my global classpath settings are:
.
($LocalData)/Classes
The contents of HelloWorldForm.as are as follows:
class HelloWorldForm extends mx.screens.Form
{
function HelloWorldForm()
{
trace('hello world');
}
}
What am I doing wrong? I do not have another file named HelloWorldForm.as, so I do not understand the error. Note that while most of the time I get the error mentioned above, sometimes I do not. When I do not get the error, I do nothing different.
Please help, thanks,
--Mike
Flash Movie Stretching Over Three Screens
Hi
I'm trying to create a flash movie that should stretch over three screens, set up next to each other. with text scrolling from left to right through the screens and separate animations going on on each screen.
The middle screen holds the navigation, and the mouse shouldn't be allowed to pass out of the dimension of the middle screen. The mouse controls actions that happen on the outside screens.
Any ideas how best to set this up? I thought it's probably best to set up everything in one document the width of the three screens added together. But I haven't figured out yet how to tell the movie to stretch over the screens in full screen mode...
I'm grateful for any ideas :-)
Julia
Flash 8 - Zero Point For X, Y Changes In Slide Screens
When I begin building a slide presentation in Flash 8, the x and y zero point for the stage is at the top left where I would expect it to be. So I place a few things on the stage, add a slide or two and suddenly the zero point is in the center of the stage. I am not sure when exactly it happens or why. How do I stop this from happening? How do I correct or set the point back to the top left?
Print Flash Screens.Slides
hi im having trouble printing my screen slides in flash im using the flash Slide presentation template on flash 8 pro which has the function of moving back and forward slide with the arrow keys, any way i have about 12 images which are on 12 different slides and im trying to print them all ive tried a they ways
Code:
Printbtn.onRelease = function() {
print(this, "bframe");
}
and frame labled each image as #p but this prints the button lots of times
any ideas?
My Flash Site Doesn't Fit Screens.
I'm doing a full flash site. And I still don't get what resolution to put the flash file too.
I want my site to work on a 17" (1024x768) screen... And a 30" (Over 2000x2000) Screen.
I am not bothered about anyone at (800x600).
Anyway I put my flash stage size at (1024x768) and when I came to preview in the browser anything at the top and bottom/and sides of the site were cut off. This I believe is because although my resolution is (1024x768) the internet explorer takes up some of this space for tool bars e.t.c.
Anyway I am stuck as to what to do. I tried using the scale in the flash properties in Flash CS3 BUT my site comes out all crap and I want it fixed.
I want my site like this one : http://www.jamesmartinchef.co.uk/pcc.as ... =&lang=eng
Which works good on any resolution. And the top isn't cut off and even has a scroll bar which I also want.
Here is what I get on my site set at (1024x768) :
Basically I want my site like the James Martin Site where I can put the crap at the top of the page and won't be cut off and I don't have to crop/scale...
I looked at Lees fullsite flash and it hasn't helped. Also people tell me different things i.e.. I need to set size of stage to (1500x1500) or I need Action Script to centre flash or Actionscript to add listener e.t.c. I am not that good with codding. But please someone help me I just asking for a site that fits :O my msn/email is swat.josh@gmail.com and my xfire is so19josh...
Please help !
How To Link Via XML Between Screens In A Flash Form App
Hi you guys,
I am trying to make a link via XML. When you push the link, the link has to lead you to a certain page within the flash form application. I found some codes on the net, but they are all used to make hyperlinks. So I thought maybe I can start from an XML Menu code and work my way from there, but now I am stuck.
The links are there, but I can't get them to link to another (nested) screen... :( And I can't make them underline neither.
I hope you folks can help me...
thanx in advance, Dfizzle
Here's the code
Code:
GenerateMenu = function(container, name, x, y, depth, node_xml) {
var curr_node;
var curr_item;
var curr_menu = container.createEmptyMovieClip(name, depth);
for (var i=0; i<node_xml.childNodes.length; i++) {
curr_item = curr_menu.attachMovie("link_item2","item"+i+"_mc", i);
curr_item._x = 245;
curr_item._y = 155 + i*curr_item._height;
curr_item.trackAsMenu = true;
curr_node = node_xml.childNodes[i];
curr_item.action = curr_node.attributes.action;
curr_item.variables = curr_node.attributes.variables;
curr_item.name.text = curr_node.attributes.name;
curr_item.begeleider.text = curr_node.attributes.begeleider;
curr_item.onRelease = function(){
Actions[this.action](this.variables);
};
}
};
Createmainmenu = function(x, y, depth, menu_xml){
GenerateMenu(this, "mainmenu_mc", x, y, depth, menu_xml.firstChild);
};
Actions = Object();
Actions.gotoURL = function(urlVar){
getURL(urlVar, "_blank");
};
Actions.message = function(msg){
this.wekles_inhoud.setVisible(true);
this.wekles_inhoud.inhoud_txt.text = msg;
};
menu_xml = new XML();
menu_xml.ignoreWhite = true;
menu_xml.onLoad = function(ok){
if (ok){
Createmainmenu(10, 10, 0, this);
inhoud_txt.text = "message area";
}else{
inhoud_txt.text = "error: XML not successfully loaded";
}
};
menu_xml.load("data/wekelijkseles.xml");
And the XML
Code:
<menu name="wekelijkse lessen">
<item name="Adem- en ontspanningsoefeningen" begeleider="Nelly Vrijheid" action="message" variables="blablabla" />
<item name="Bewogen bewegen" begeleider="Janet Stockschen" action="message" variables="blabla" />
<item name="Hatha yoga" begeleider="Nol van Kesteren" action="message" variables="" />
<item name="Pilates" begeleider="Rita Groothedde" action="message" variables="" />
<item name="Hatha yoga" begeleider="Sietske de Jong" action="message" variables="" />
<item name="Ismakogie" begeleider="Angelika van der Schilden" action="message" variables="" />
<item name="Kinderyoga" begeleider="Nelly Vrijheid" action="message" variables="" />
<item name="PowerYoga" begeleider="Rita Groothedde" action="message" variables="" />
<item name="Kundalini yoga" begeleider="M. Buhrmann-du Plessis" action="message" variables="" />
<item name="Tai chi (Chuan)" begeleider="Aad Klinkenberg" action="message" variables="" />
<item name="Yoga" begeleider="Ina van Hoogmoed" action="message" variables="" />
<item name="Tai Chi (Tao)" begeleider="Chiara Meloni" action="message" variables="" />
<item name="Yoga" begeleider="Nelly Vrijheid" action="message" variables="" />
</menu>
Flash Mx2004 Pro Loading Swf's Slides/screens
I am Making a slide presentation using flash mx 2004 pro slides/screens
On a couple of the screens i need to load swfs and have done so like this on the timeline
this.createEmptyMovieClip("lenord_mc",1)
lenord_mc.loadMovie("lenord.swf")
lenord_mc._x = -200
lenord_mc._y = -250
lenord_mc._xscale = 30
lenord_mc._yscale = 30
Which works fine , however the swf is loaded straight away ? when presentation starts
and this causes the sound to play at the wrong time ?
I have been trying to hide the screen but it does not seem to work
Any ideas
Thanks
Adam
Reloading Screens Pblm In Flash MX Pro 2004
Hi,
If someone knows about this trick ... it could make my day !
I try to use the new screen animation system to build a guided tour ...
Well ...
First of all, I need to do a quick intro with 3 or 4 screens playing one after the other.
In each screen I've got an animation about 150 frames long at 30fps.
I link every screen with a "gotoNextScreen()" command and use build-in transition classes ...
My problems are the following :
- When the animation goes to the next screen, the first images of the preceeding screen are replaying, not all but some frames because I used a "stop" after the "gotoNextScreen();" ... I go mad about it, I tried almost everything like leaving blank frames at the beginning of each screen .... arrrrrggghhhh !
Does the transition manager go faster than the ActionScript commands or what ????
An other little trick ... The animation on the first screen look like beeing on top of the following screens looking transparent ... What the f**** ???
The mighty file is attached and by the way, the text on it is in French ... not the AS ...
Thanks in advance for any help....
Have a nice day !
Please Help Reloading Screens Pblm In Flash MX Pro 2004
Hi,
If someone knows about this trick ... it could make my day !
I try to use the new screen animation system to build a guided tour ...
Well ...
First of all, I need to do a quick intro with 3 or 4 screens playing one after the other.
In each screen I've got an animation about 150 frames long at 30fps.
I link every screen with a "gotoNextScreen()" command and use build-in transition classes ...
My problems are the following :
- When the animation goes to the next screen, the first images of the preceeding screen are replaying, not all but some frames because I used a "stop" after the "gotoNextScreen();" ... I go mad about it, I tried almost everything like leaving blank frames at the beginning of each screen .... arrrrrggghhhh !
Does the transition manager go faster than the ActionScript commands or what ????
An other little trick ... The animation on the first screen look like beeing on top of the following screens looking transparent ... What the f**** ???
The mighty file is attached and by the way, the text on it is in French ... not the AS ...
Thanks in advance for any help....
Have a nice day !
Flash Movie Across Multiple Plasma Screens?
I have to create a Flash movie to be displayed across 6 plasma screens at a trade show. The hope is that I can do this and have the various info shown on the monitors to be synched so that I could display a word on each screen to make a phrase, etc.
Is it possible to have a Flash movie display across several monitors?? I have tried and can only display it on 1 monitor with the other monitor being black.
If I can't do this, I think I then have to create 6 seperate Flash movies :-( which would be hard to synch.
Anyone have any ideas??
I am using a PowerMac running OS X 10.3. I think the computer that will be displaying the movie on the plasma screens will also be a Mac.
Thanks in advance for your help!!!
Having Troubles Creating A LoginForm For Flash Screens... Any Ideas?
Trying to set up a Login page Nested to a Logout and Error Screen. Having troubles figuring out through an external file or a imbedded actionscript to get a loginForm to work.
Mainly, I just need one login/pwd stored and checked during login at this moment since it is a demo.
Will
Flash Screens - All Timelines Played Once Movie Initiated?
Hi I have two screens each with the samer animation.. the first screen plays the animations normally. when i goto the second screen though the animation has already played. I tested this by using trace() in the second screen and when the movie played the trace was outputted.. is there anyway round this??
Flash Screens - All Timelines Played Once Movie Initiated?
Hi I have two screens each with the samer animation.. the first screen plays the animations normally. when i goto the second screen though the animation has already played. I tested this by using trace() in the second screen and when the movie played the trace was outputted.. is there anyway round this??
Preloading Flash Movie Built W/ Screens Or Forms?
How do you preload a movie build as a Flash Screen Application or Flash Form Application?
I'm trying to use a preloader on the root screen, and telling all the other screens not to autoload.
What's the trick to this?
Flash Combo Box Code Is Bugfree But...why Not Pop Up New Windows Screens?
Hi...all..
i had the following code in my actions layer frame 1...
function fun(){
getURL(websites.getSelectedItem().data, "_blank");
}
my combo box name is websites...it contain data(some url) and value already
now ..could somebody please tell me why is not pop up new windows please ?
sincerely...
mad dog
No Resize/scaling A Movie Clip On The Scaling Stage...
I know this has probably been answered here already, but I've search through all the threads with "scaling" and "resizing" and can't find the solution.
Basically I have a GUI element on a gallery that I don't want to scale, while the rest of the page is free to resize/scale.
I think I need to add a listener of some sort to the stage, but I'm not sure how to do this. If you can point me to a thread where this has already been answered, great! Otherwise I would be grateful for any help you could provide here.
Scaling Dynamic Textfield Without Scaling Font
the titel sys it...
if you create a dynamic textfield...you drag it but you can not see the prcise idth value...so lets say i have a field and the width is 198,5 and i want it to be 200...the problem is if you scale...the fonts also scale...any ideas...
[9-slice Scaling] Not Scaling At Correct Size ?
Hi people,
I found something strange with the 9-slice scaling option.
My MC with that option is simply smaller than the one without it !
You can see an example here (fla in attachement).
with the simple code on the green button :
Code:
on (release) {
_root.i += 10;
this.scroller._height = _root.i; // the left one with 9ss
this.bar._height = _root.i; // the right one without 9ss
}
Does someone have any explanation ?
thanks
Scaling Cursor/Scaling Draggable
Hello.
I am trying to create a draggable movie that will scale depending on it's _x and _y coordinates.
Basically, when the movie is on the lower part of the screen it will be larger than when it's on the top part of the screen.
I would like the scaling to be smooth. I can say, "if this clip is above 100, then reduce by 10%", but it looks poor.
Does anyone have a nicer way to achieve this draggable scaling?
Thanks.
Scaling/preloader..scaling To A Certain Size..
Hi gang...ok...I have a percentage preloader using getBytes.....and I have a preloader bar that increases dependant on the percentage of bytesloaded...what I want is to have the preloader bar scale so that when the percentage reaches 100% the loader bar will be a certain width.
Here is my code so far....please help me edit my exixsting code..and NOT start just re-write the whole thing..I am trying to learn..and incorporate.
Code:
//In Frame 1 I have this:
total = this.getBytesTotal();
//In frame 2 I have this:
_root.growbar._xscale = percent;
loaded = this.getBytesLoaded();
percent = Math.round((loaded/total)*100);
displayPercent = "LOADING: "+percent+"%";
if (percent == 100) {
gotoAndPlay (4);
}
//In frame 3 I have this:
gotoAndPlay (2);
//In frame 4 I have this:
gotoAndPlay ("start");
I made an MC with the name of "growbar" on the stage....
I cant figure ot what I am overlooking...
-whispers-
p.s. Nevermind..I feel like a fool....I found it..LOL
Non-scaling Object In Scaling Movie
Does anyone know - Is it possible to have an movie clip, that retains a fixed pixel size e.g. 200x100 inside a flash movie that scales to 100% to fit browser window?
Scaling Shapes Without Scaling Strokes
Hello, I am a new Flash user. I am creating a simple animation to be used in an educational video. I created a graphic symbol which I have tweened in many instances to fade in/out and to grow in size. This is a simple circle without a fill, starting out with a solid 5 pixel stroke. How can I grow this symbol (it ends up at least 4 times larger than its original size) without growing the stroke as well?
Scaling Vs. Non Scaling Of Loaded Clips
Hi there,
I am trying to achieve the loadmovie whereby my container flash movie (main.swf) is 100%x and 100%y scaled in the browser...ie so it's size is dynamic to the browser size (This is fine...know how to do)
But want to load the internal clip at exact dimensions - ie I guess a loadmovie in a target clip or level? with exact x and y size dimensions that always centres in the container flash clip. ie. its size is constant no matter the browser size.
Look at this site for reference.... http://www.beachblanket.co.uk/
Thank you for your help!
Josh
Full Scaling Site + Scaling MC's
I have been trying to figure out how to do this, because I think it looks fantastic. I know that there are a number of things you add to the stage in order to get it to sit aligned right in the middle. I have even manged to ease the stage movements so that when you maximise and minimise by adding friction and acceleration, the movement is smoother and cleaner.
It looks like whatever is loaded into the MC expands and contracts the parent MC, with a border. The movement is seamless and I was wondering if anyone knows how to achieve the same effect.
I have gotten pretty far with it too, but I am momentarily clueless as to this part.
check it out
http://www.nulldesign.de
Scaling Flash?
Does anyone know of a script in either Flash or HTML that scales down flash to 800 X 600, and also scale it up from 800 X 600 to 1024 X 768
and keeps it's aspect ratio?
Mike
Flash Scaling
Hello,
Is it possible to configure a Flash MX movie so that it scales
interactively with the browser window? Opening the movie into flash player directly allows scaling but I can't seem to get this to work in Dreamweaver in HTML.
Any suggestions most welcome!
chris
Flash Scaling
After looking at the featured site on the front page, Septime, I have a question concerning scaling flash movies. The flash file is specified to scale to 100% width and height in the html. When you move your browsers size around it scales nicely, but my question is the main content on the website, it does not scale in conjunction with the background. Every time I have tried to do this I can not get my content to stay the same size. How do you get something inside of a flash file to not scale when you have the flash file set to scale to a web page? I hope this wasn’t confusing. Any help would be greatly appreciated. Thanks
Here is the link to the site
http://www.septime.net/septime_creation_haut_debit.htm
Nathan
Flash Scaling
My question is regarding this gallery that I put together:
http://moparch.com/moparch/architecture/ds.html
My goal is to make it so the image scales with the size of the browser window. Right now the image only scales as the page shrinks horizontally. When the page shrinks vertically the image does not change size.
The page is made up of two flash movies, one for the images and one for the text and arrows. In dreamweaver I have set the image flash movie (the one on the left) to scale to 100% width and 100% height. I have set the text movie to be a fixed size.
If anyone could explain how to get my image movie to scale as the browser window shrinks both horizontally and vertically I would greatly appreciate it.
thanks
SCALING FLASH
I have a flash movie which in its native size is 495 x 197.
I want to scale this in proportion depending on what browser resolution a user has. The flash will be in a TD or DIV in a page layout. Can anyone help with this? Do I have to use Javascript?
|