Css Layout?
note:this is traditional webpages, not flash pages
In an earlier post people were mentioning how horrible it is to layout pages using tables inside tables. if this is not tne most effiecient way, what is? CSS?
If so, anyone know of any good css resources, if css is best way to layout pages?
Ultrashock Forums > Flash > Flash Newbie
Posted on: 2003-11-24
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Layout Class (com.senocular.display.Layout)
hi,
i'm having some problems when using the class. It just won't behave as it should, distorting the contents. I'll pos the fla, plus code, plus swf...
ActionScript Code:
stage.align = StageAlign.TOP_LEFT;stage.scaleMode = StageScaleMode.NO_SCALE;import com.senocular.display.Layout;var SL:Layout = new Layout(stage);// TOPBAR - align: topvar align_1:Layout = new Layout(topBar, true);align_1.top = 0;SL.addChild(align_1);var align_2:Layout = new Layout(topBar.BGtop, true);align_2.percentWidth = 1;SL.addChild(align_2);// TOPBAR - align: botvar align_3:Layout = new Layout(botBar, true);align_3.bottom = 0;SL.addChild(align_3);var align_4:Layout = new Layout(botBar.BGbot, true);align_4.percentWidth = 1;SL.addChild(align_4);SL.draw();
really can't figure out what's wrong here..
thnks
am
Layout
I seem to have my workspace layout set wrong - i have the canvass area to the right and the time line to the left - whereas I want the timeline at the top and the canvass beneath - can someone tell me how to change it please
Thanks
Mark W
4 X 4 Layout ...
I am trying to create a layout that holds 16 text fields (which will be small - 12 pixels by 12 pixels each). The layout of this needs to be 4 x 4 like this:
* * * *
* * * *
* * * *
* * * *
(substitute asterix for text fields of course)
This is the code I have so far:
startX = 20;
startY = 20;
for (i=1; i<16; i++) {
while (i<5) do {
_root.createTextField("field"+i, 50+i, startX, startY, 12, 12);
_root["field"+i]._x = startX*i;
_root["field"+i]._y = startY;
_root["field"+i].border = true;
}
}
As you might guess, it ain't working !. Can anyone assist. Thanks. Stephen.
Layout Help
Ok, I'm trying to make a page that has a flash menu thing at the top, but the rest of the page is in html. However, no matter what I do, there's always a slight gap between the flash bit and the html bit, separating the page so it looks stupid (it's supposed to be a continuous flow between the flash bit and html bit).
Here's a diagram in case you don't understand:
Code:
HOW IT SHOULD BE HOW IT TURNS OUT
________________ ________________
| FLASH BIT | | FLASH BIT |
|______________| |______________|
| | ________________
| HTML | | |
| BIT | | HTML |
|______________| | BIT |
|______________|
(Continuous flow)
(With a break in it)
Anyone know how to fix this?
Layout Help
If you go to www.oringe.com you will see they have an awesome layout. i was wondering how do i do that box effect so when you move the mouse over one of hte boxes such as news the stuff appears and it blinks right when you move the mouse over??
Layout Help Please
If you go to www.oringe.com you will see they have an awesome layout. i was wondering how do i do that box effect so when you move the mouse over one of hte boxes such as news the stuff appears and it blinks right when you move the mouse over??
thanks in advance
What Is The Layout Here?
Hi. On www.olivemedia.com you see a menu in the center that
is always present. Even if background changes the menu background doesnt. My question is what do you think is the structure of that site. Is it first a background layer with an empty mc that serves as content section and then on top of that you have the menu mc that is always there? or does he use some kind of masking here maybe? Please explain how the layout is built from bottom up. Just swapping the content mc and load in new movies underneath the menu mc would also change the background of the menu mc right? or maybe the menu mc has its own bg that never changes but that wouldnt make sense.
Layout Help...
So yes, I could go through the 100s of tutorials on the web to try and figure this out but I'm in the forums today and thought, oh why not... so anyway...
I've got a multimedia presentation I'm preparing to put on cd-rom and I'm just not sure how to go about laying it out. Basically, I would like to have a navigation area on the stage with my navigation buttons and then a few sections each with their own links to open images and text files. So I was wondering what theh best way to go about doing this might be? Should each section be it's own movie clip that I load in using a button, or should each section be a scene? Any tips of setting this up would be great! (the best comparison to what I'd like to do can be found at the site www.dawnofthedeadmovie.net/ ) Thanks a TON!
Layout Help
I am having some problems in the layout of teh frames & scene's of my page so far can you please help to see if there is a better way of doing things for me. I would like to start to load movie clips into the second scene of the movie, can you tell em if thats such a good idea with the way I have lay out things, please help.
Layout Help?
I am having some problems in the layout of teh frames & scene's of my page so far can you please help to see if there is a better way of doing things for me. I would like to start to load movie clips into the second scene of the movie, can you tell em if thats such a good idea with the way I have lay out things, please help.
How To Do This Layout?
http://www.leimortgage.com/
Like the grey on the out side and the white box in the middle. Thats all I really need to know because i've seen a lot od websites with that and I wanted to know how. Any websites that show this or free templates? thanx guys you are all helpful with all my posts
Help For My New Layout
One thing I just found out i dont know what to do....
How can I make the menu so someone has to click it to scroll down (with seperate buttons)? Also a button that they could click to make the menu close would be great too. thanks
-Mike
Layout
Yo, anyone wanna make me a layout.. since... sintax aint coming up for a breath......... i wished he helped me.. but hes to busy now... so anyone else wanna help me out?
Page Layout
hello,
I made a Flash file which is 550x600 pixels. The problem is I want to make it fill the Explorer Window, no matter how big it is?
What do I do?
Storyboard Layout Help
Is there a tool out there that assists the user to create a Flash storyboard?
I've discovered that with all application design, planning is everything. All that I've read from Flash books explain that the best way to complete a project is to have a storyboard of what it is that you want to do. This makes logical sense. However, in the last six months of using Flash MX, I've discovered how true this statement is, but am finding it difficult to get past certain hurdles, namely what's the best way to storyboard to be sure that everything's included in it.
Thanks.
Confused On Layout
I have recently been making my web pages in HTML. I have had a bit of experience creating animations in Flash then inserting them into the html pages. How do i go about creating a site entirely of flash. Would it be a movie inserted into a HTLM page?
I have looked around but i cant seen to find any tutorials that take you completely from the begining how to but a basic site together. Like HTML how to link pages together.
Do you just use one stage?
Hope this makes sence to someone..
Please Help..
Page Layout
Hi,
What do I do if I want my flash html file to adapt to any size on the explorer window?
Layout On Navigation Bar
I am using Flash for a navigation bar on my school's website. The movie's height must be greater than the length of the display window (no problem) in order to fit all the first level choices. However, when a choice is made, the display is still at the same height. How can I get the display to go to the top of the page?
Ultrashock Layout
Hi, i was just wondering if anyone could help me as to tell me of how http://www.ultrashock.com (the layout) is made, and how they loaded it so quickly... in particular, the section where you click the button and it goes straight to the forum thread... this is actionscript, and i dont think it is as simple as a getURL command etc.
Layout And Designing
hey guys, i'm really having a problem with flash... it's really annoying actually.
what annoys me is how flash decides when i can and can't play with the graphics. what's the difference between symbols, a grouped graphic, and a normal broken up graphic? well, i know the difference--but why's it so hard to play with the graphic without first converting it to a symbol or grouping it........ my question is: i wanna play with fill and border, but flash makes it so complicated because i have to first experiment with the color, try and adjust things like hue and alpha (AFTER converting the bugger to a symbol or grouping it).. and if i don't like that, then i have to go ALL THE WAY BACK to the start with a broken up graphic (it's actually a box i'm working with here....)..
it's extremely frustrating. am i missing something here???????
Flash Layout
Does anyone know how to put .swf files as layouts on web pages? If you do could you please tell me how?
Layout Of Scenes
Before I do any work I want to make sure I am headed in the correct direction. This is the page layout I plan on implementing. Is this the correct use of scenes? My basic understandings of Flash 4 is to develop multiple scenes with one or more layers, sending the user to each scene via Go To() function. Yeah?
Thanks!
CRO8
Page Layout
Does anyone know how I can make my html pages adjust to user's screen. It shows well on my brower but when I check the site on my friends' pc , the site pages are either too big for some screens or too small for others. I use dreamweaver for the page layout and import flash.
see what I mean
www.aconeinc.com
Layout Problems
HI there, im trying to get my site together now but I have ran into a few problems
My whole site is in a floating cantered fixed width table, inside I am trying to place a flash banner across the top, and to the left I have an un-ordered list which I have formatted using css as a nav bar. The problem I have is when I put them both in there is a gap of about three pixels between the two, the design of the banner is supposed to merge into the list but im having problems with this.
I have tried fiddeling but have had no luck. I thought I had it using layers but as soon as I check it in another browser (using IE and mozilla firefox) it all goes to hell and I fall back down to earth. Any ideas?
What do you find it best way to layout your site using dreamweaver??
Dynamic Layout
hi |
got a quick question. i'm loading external movie clips into a container movie clip and i want the container to dynamically change to the dimensions of the imported clip (while still mainting its border). i've made some feeble attempts to do this but am falling short.
i've attached what i've done so far. i was hoping someone might be able to point me in the right direction.
thanks.
Simple Layout
Hey,
Can someone make me this simple layout. For some reason, i am struggling with it a lot. I am such an idiot, i can't even make the the stupid curve thingies Don't worry about the color or the text or the pic. Just different layers with different rectangels and stuff.
Thx. Baljinder
Adaptive Layout
When u resize a browser window containing an exact fitted flash swf, the whole stage (including the symbols) stretches.
Well, I’d like to have a stretchable stage, with fixed-sized symbols (so that they don’t stretch)…
I.e. , the content of the stage would adjust in function of their defined position and stay at their original size as the stage is being resized.
The idea is to use flash as the whole browser's window (without any HTML filling ): Adaptive Layout!
Could anbody help me with this?
thank you thank you thank you
Website Layout
i have a general question that i suppose is based on preference...
i was wondering how do most of you guys layout a website..
do you use different scenes?
or do you do all of them in one long scene ...
thanx everyone
Layout Desing
Hi everyone
Im trying to redesign out current web site and I want to use Flash MX 2004 and Frontpage 2002.
Im thinking about using tables to hold the information and to place flash .swf files in them. And make this into a template with a drop down menu. Will this work?
Is this the best way to go about it?
It seems logical in my head but I dont want to come across any problems down the road.
~Teebone
Help With AS(dynamic Layout)
Hi all
I am having headache with it!!! :-(
I am trying to create a flash site that automatically adjust the position
and size when browser is resized.
My problem:
on frame 1
The below code fails when tested in browser but works in Flash test mode.
preloader case
If I use preloader on frame 1 and apply the code on frame 2, then it fails again.
The Code:
code: fscommand("fullscreen", "true");
fscommand("showMenu", "false");
Stage.scaleMode = "noScale";
Stage.align = "LT";
// create a listener object
stageListener = new Object();
stageListener.onResize = function() {
expandTop();
//expandBodyText();
}
Stage.addListener(stageListener);
expandTop = function() {
Background_mc._width = Stage.width;
Background_mc._height = Stage.height;
logoClip._x = 0;
Main_navigation._x = 0;
colorTab_mc._x = Stage.width - colorTab_mc._width;
content._x = (Stage.width - this.content._width) / 2;
content._y = (Stage.height - this.content._height) / 2;
}
Could somebody tell me why it`s behaving so bad???
the fla file
Panel Layout
I saved my panel layout in Flash MX 2004 Prof for PC, but now I can't delete the saved panel sets. How do I do this. In Photoshop it is easy, there is a delete button for the panel set you created, I expected the same thing in Flash. See attached files of panel layout options in flash vs. photoshop
Understanding Layout
How do you arrange other items in the original composition before you start the animations?
Do you layout parts of the compostion so you can guage scale and distance and then convert these to symbols? This then become part of the main stage.
Or do you insert a new symbol and go into editing mode and hope for the best? Then bring it back out onto the stage and hope you have the correct scale and motion?
The Idea being to create an initial layout and then tween various movie clips and then bring them back onto the stage as independant parts of the composition.
Thanks
Calendar Layout
hi.
i've got a strange thing happening with my calendar component. whenever i place an instance of it on the stage (in the authoring environment) it lays out fine.
but when i compile, the arrows which scroll thru the months will line up whereever you left it on the stage, but the individual days and the month display line up starting from 0,0.
this is how i position my arrows:
code:
_prevMonth._x = (__width - __width) + 20;
_nextMonth._x = __width - 25;
this is how i position the month display:
code:
_monthDisplay._x = _centerWidth - _monthDisplay._width/2;
// _centerWidth = __width/2;
and now my day headings, i.e. "S,M,T...":
code:
_dayHeadings["_dayHeaders"+i]._x = Math.floor(_columnWidth * i);
_dayHeadings["_dayHeaders"+i]._y = _monthDisplay._y + _monthDisplay._height;
// _columnWidth = __width/numberOfColumns
and finally the individual days:
code:
_dateClipHolder._x = _columnWidth * _currentDay;
_dateClipHolder._y = _indRowHeight * (_currentRow + 1.4);
// _currentDay is a var incremented by 1 representing each day of the month
// _indRowHeight = __height/numberOfRows
i'm real perplexed as to why only the arrows are lining up correctly and everything else is jumping back to 0,0. any ideas? as always, thanks for reading along.
fumeng.
Problems With Layout In IE
I could really do with some help on this one as im completely stuck and am wasting pressious GTA playing time!
The site im working on is a hybrid of html/Flash using iFrames to display the content. It looks ace and how it chould in mozilla but not in IE! Anyone shed any light on why
Cheers
Adam
oh yeah the link - www.djjfk.co.uk
Layout In Flash
When i create a box or whatever in Flash, the bottom right hand corner sometimes appears cut off (i mean only 1 pixel i think) but its noticeable. How to i prevent this? Also, when i draw a box,the corners are rounded at the edges, how do i make them sharply squared?
thanks
Liquid Layout
Hey, I was looking throught this link to figure out how to do a liquid flash layout http://board.flashkit.com/board/show...t=liquid+flash. I can get stage to not scale, but the MCs still scale at the same rate. Thing is I can't figure out where to put the codes on the page. Any ideas? Thanks
Myspace Layout
Well i have flash 8 and im looking to make a flash myspace layout...
Maybe similar to this one: http://www.flawedexpressions.com/
Anyone know how to do this or have any tutorials?
I Have A Sketch Of The Layout
Im thinking about doing this layout in Flash. It would envolve the main area where the main image would be displayed. The left sidebar would be where several main images would be. By clicking on one of them, 1 main image would appear. Below the main image would be smaller images concerning this main image, with descriptions.
Is this possible? Is it complicated to do in Flash? Will it resort to frames for it?
Floater - Layout API
.
Just finished this API for layout management. I did this because I'm about to make my new website, wishing to get the layout done in an easier way.
I dound setting a DisplayObject to a position not relative to the top-left origin quite annoying, since every time I do so I must recalculate lots of geometric relationships. So I decided to end this pain once and for all. Now sticking a DisplayObject to stay at (-20, -20) relatively to the bottom-right corner of the browser can be easily done, no matter how the browser's size changes~
Click here to download Floater: http://homepage.ntu.edu.tw/~b9590100...PI/Floater.rar
Here are two examples:
1.SWF http://homepage.ntu.edu.tw/~b9590100...ode%20demo.swf
FLA http://homepage.ntu.edu.tw/~b9590100...ode%20demo.rar
2.SWF http://homepage.ntu.edu.tw/~b9590100...ed%20ratio.swf
FLA http://homepage.ntu.edu.tw/~b9590100...ed%20ratio.rar
Floater API provides nine kinds of align mode:top-left, top-center, top-right, middle-left, middle-center, middle-right, bottom-left, bottom-center, bottom-right. You have to create a Floater object, which is a descendant of the Sprite class, to contain the DisplayObject whose layout you would like to setup. And create a FloaterManager and invoke its addFloater() to add the Floater object to it's floater list. Now, the relative position data is applied to the Floater relative to the FloaterManager, which is also a descendant of the Sprite class.
hope you find it useful~
.
[F8] What's The Best Movie Layout
Ok, so I developed my first application. Being the newbie that I am, I overused _root on everything and placed code on buttons. Now that I'm making use of loadMovie I'm finding my newbie ways are coming back to haunt me.
My question is this? What's the best way to structure your movies? I've seen from examples that putting all your actionscript on one layer is the 'best practices' way, but what do I do to overcome the _root use?
For instance, I have buttons that I want to use to navigate to another frame, but they wouldn't work without a _root reference. Perhaps it is because of the structure of my movie. I have three layers from bottom to top, background, zoomify (3rd party app), and controls (buttons, etc). All my code went on the frame or the button on the controls.
Can someone direct me to a good online resource or just chew me out and tell me the right way to code the app?
thanks
Liquid Layout
Hi,
I'm trying (unsuccessfully) to make a liquid gui layout.
I would like the background red "strip" to extend completely to fit the users screen size or however far the viewer wants to open the browser window. Then, I want the other movieclips to stay in place.
Meaning, if you drag the window, and the red strip extends, I don't want the other mc's to stay to the left. There will be more mc's on the stage when I'm finished, so I guess they would have to move in exact increments, so the rest of the site is always "centered" in the red strip.
Hope this makes sense!
Thanks so much.
Draggable Layout
Hi everybody!
I needed some help on making a draggable layout.
Instead of having a side scroll, use a drag method to reveal hidden page.
I have a camara that moves from left to right and right to left, but i want to move it by dragging the background. I'm not sure if i'm explaining myself well.
Thank you!
Sincerely Samantha =)
Layout Issues
Hi lovin the forums, hope this becomes my new home
I have to be honest i am a bit of a nOOb when it comes to flash. So here goes, Below is an example of what i want to archive but i have no idea on how to make it look slick and professional.
the main part is the 4 vertical panes, as they will hold the text. How would you reccomend building this site?
should i use XHTML and Flash componants? or pure Flash? if anyone can create a mock up, that would be great to get me started.
thanks
How To Do Liquid Layout?
Hi,
I'm doing a 100% flash site, there is source file:
http://www.sopranai.lt/super/lemonray.swf
and the main code is:
Stage.scaleMode = "noScale";
Stage.align = "TL";
var width;
var height;
function resizeEvent() {
width = Stage.width;
height = Stage.height;
dimensions.text = 'width : '+width+' height : '+height;
tr._x = width;
bl._y = height;
br._y = height;
br._x = width;
fonas._width = Stage.width;
tamsa._width = Stage.width;
}
resizeEvent();
var stageListener = new Object();
stageListener.onResize = resizeEvent;
Stage.addListener(stageListener);
There is everything ok, but I want to do some kind layout amortization effect then web page is resized, like in this page center layout :
http://gskinner.com/site2_5/
Please help with code
XML Image Layout
Hi, everyone!
I want to make flash load 10 images from a folder, using xml, to a 10 containers on layout. Perfect thing would be this tutorial:
http://www.actionscript.org/resource...XML/Page1.html
but I can't make it load to more than one container. Seems like a stupid problem, but, please help!
I don't know the right syntax, but idea is more or less:
Code:
for (var i = 0; i<numOfItems; i++) {
// attach image to the myImageHolder1, myImageHolder2..., myImageHolder(i)
myImageHolder("i").loadMovie(nodes[i].attributes.image);
// set the text to a corresponding text box
myText("i").text = nodes[i].attributes.caption;
}
};
//but, of course, this doesn't do the trick
thanks
Liquid Layout
I am trying to do a fluid/liquid layout so I can have center content and my menu at the bottom left 'BL' . Here is the script that I am using and I can't get the menu to go to the 'BL' it just dissapears. Right now im using '._x=0 and ._y = Stage.height'. Also it only works in Safari and not Firefox. Any suggestions or simple solutions?
Stage.align = "TL";
Stage.scaleMode = "noScale";
stop();
fluid._x = (Stage.width)/2;
fluid._y = Stage.height/2;
tutoriobutton._x = 0;
tutoriobutton._y = Stage.height;
sizeListener = new Object();
sizeListener.onResize = function() {
topstretch._width = Stage.width;
fluid._y = Stage.height/2;
fluid._x = (Stage.width)/2;
tutoriobutton._x = 0;
tutoriobutton._y = Stage.height;
};
Stage.addListener(sizeListener);
Need Layout Library
Hello,
I've searched hours on google for a library that would help to layout as3 applications. I've looked for a thing that'd allow to put objects in some kind of size constraints, i.e. make them dynamically change their position and/or size according to stage size and the sizes of other objects (I mean everything that derive from DisplayObject).
I'd really appreciatte any indications that'd help to easily position everything I put on stage. A specific opensource library would be great :-)
Layout And Functionality
Just wondering if I have 4 sections:
their equal in width but differs in height
then I have the case study section which is totally dif in dimensions then the other 4 sections
their popup windows in flash
like windows that are laid ontop of the rest of the site
*u know those draggable windows?* but these aint draggable
anyways the pt is... is it less professional to have dif sections with dif dimensions windows..or is it fine?
just would like some advice/comments/suggestions
Page Layout
Hey guys,
This isnt really a AS question but figured you would know the best answer to it.
What ive done is designed my website in photoshop.
Flattened the image and broke it up into a bunch of different graphics.
In frontpage I have a table in which i have not specified any cell or table widths or heights.
the cell spacing padding and boarder width is set to 0
I placed the graphics into the table and allow the graphics to determine the size of each cell.
in some cells i have placed flash movies/rollovers etc. which all works fine.
On a PC the page looks perfect. on a mac running osX on IE and sufari it looks like the cell spacing on the table is set to 2 or somthing. Some of the graphics are off set a little and you can see the outline of alot of the graphics.
I am having this problem on all my pages which were all done in frontpage on a PC.
help...
|