ActionScript 3.0 :: Resize Handler / Liquid GUI?

Jun 18, 2009

I am trying to make a liquid gui layout (i think this is what it's called).Anyway, I have done part of this, but I'm having trouble figuring out how to position movieclips that aren't on the stage.These movieclips have linkage ID's and are being called when you click on a button.

Code:
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
stage.addEventListener(Event.RESIZE, resizeHandler);[code].........

The linkage ID name is: pageWeddings

When you click on the button "weddings", it loads "pageWeddings".I want to position this somehow.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Liquid Layout Browser Resize?

Feb 16, 2011

I have created a liquid layout site in AS3 and am having an issue with the stage resize. Although the elements flow with the browser on resize I notice if you drag the browser's window to the right a white border appears. Now obviously not everyone would do this but it's more of a concern for anyone viewing the site on a large resolution screen. The site is currently 1200x800 in it's original dimensions and I want it to retain it's size in larger browsers.

View 1 Replies

ActionScript 2.0 :: Liquid Flash Not Working When Resize Scrollbars?

Apr 21, 2010

The floating elements stop floating on the y axis when javascript resizes the scrollbars.

It seems that when externalinterface calls the resize function that after that then flash uses that value as the Stage.height value.

I need a way for the scrollbars to be forced to accomodate 2000 px worth of content. But still have the elements float within the actual open browser window which could be much smaller than 2000.

View 4 Replies

ActionScript 2.0 :: Liquid Flash Versus Resize Scrollbars - Floating Element

Apr 21, 2010

The problem is demonstrated at this link. Read the text in the upper left. [URL] I have elements floating on the x and y axis. But I will also need to resize the scrollbars in this swf. After I resize the scrollbar - done through javascript (clicking a pink button) the floating element will reposition on the y axis but stop floating.

[Code]...

View 1 Replies

ActionScript 3.0 :: Liquid / Resize Image Gallery - Shows More Lines And / Or Columns According To User Resolution

Mar 23, 2010

Anyone knows a sample code/source, tutorial or example like this gallery: [URL] (resize the browser window to see the effect) What i want is a thumbnail gallery that shows more lines and/or columns according to user resolution (not is necessary to resize the images). It's the same idea when using HTML and creating a thumbnail list with <li> and "float:left".

View 1 Replies

ActionScript 3.0 :: Custom Resize Event As Part Of Larger Project To Create Flexible Liquid Layout Class

Dec 16, 2009

I am trying to create a custom resize event as part of a larger project to create a flexible liquid layout class.Basically, i want an object to listen for the stage.RESIZE event. If i can listen for this event from multiple objects, it solves my event firing problem.[code]

View 7 Replies

ActionScript 3.0 :: Resize Handler With Html & Flash?

Dec 6, 2009

Is there any way to make it so that the width and height of the stage will be whatever the user resizes the browser to? I know how to do it in flash because you just resize the window, but doing when I do it in a browser I always end up with a scroll bar because you have to specify pixels.

So I tried doing a 100% by 100% width and height value in html. It keeps the proportions..so there is always a space on the top and bottom or left and right...

View 1 Replies

ActionScript 3.0 :: Resize A Moviclip In The Stage With A Handler?

Jul 19, 2010

I'm trying to resize a moviclip in the stage with a handler, but i can't find the solution for attaching the handle to the movieclip.

View 0 Replies

ActionScript 3.0 :: Resize Handler Randomly Works?!

Jun 24, 2011

Hi all.

I have a main swf which I load in a few different external swf. For each of the external swf I have resize handlers which make sure my loaded swf are position in the correct place when window is resized. It works almost perfect.. but let say 1 out of 4 times the resize handler stops and nothing happens. Why does it sometimes work only?

I know I should not have function within a function but in this case I do not know how to do it in any other way?!

[Code]...

View 3 Replies

ActionScript 3.0 :: Resize Handler Doesnt Work In Html?

Dec 9, 2009

I'm not understanding something. When resize the flash window itself it traces the width and height of the stage just fine. But when I publish it as an html page the resize handler doesn't work and it traces nothing...

View 3 Replies

How To Do A Liquid Layout

May 11, 2010

I'm just learning how to do a liquid layout,I found one tutorial which gave me this basic script:[code]It does what the tutorial says, but there's an error in the output. It doesn't work when I give the 2nd function another name or when I combine both functions. Is there a way to fix this script, or is there a better way to approach this?

View 2 Replies

IDE :: What Are The Downsides To The Liquid Layout

Jun 20, 2007

This is for the more advanced developers or to anyone who knows:

what are the downsides to the liquid layout? because i use'em, i love'em, and i can't understand why everyone doesn't use'em.

View 11 Replies

IDE :: Making A Liquid Layout?

Dec 10, 2009

I am making a liquid layout in flash using as3,it worked pretty well with the following code, for the movie clips that are going to be on stage from the very beginning.

stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
setStage();[code]....

But when I try to load a movie clip by clicking a button and using the ddEventListener , it dose load, but doesn't float here is the code that I think have some problem:

demon_mc.addEventListener(MouseEvent.CLICK, getSlider);
function getSlider(event:MouseEvent):void
{[code]....

as you can see I have defined the variables Width adn Height inside the function as well and I am using WIDTH/2 to define the x position,Well it laods in the exact position but won't float as I minimize the stage

View 3 Replies

Flash :: Specify Liquid Layout With Swfobject?

Nov 14, 2010

swfobject.embedSWF("flash/main.swf", "myContent", "100%", "100%"...

It turns out the above doesn't work,how can I instruct to swfobject that I want the swf to be as wide/high as possible?

View 1 Replies

ActionScript 3.0 :: Liquid Layout Inside Of MC

Jan 22, 2009

I have all of my content inside of a movie clip placed on my stage and through timeline AS 3 I have a simple scripting that aligns and sizes that MC (and all of its contents) to keep proportion with the stage and to fill it at all times I am having 2 issues

after the preloader, and intro play the content for the gallery pages (it is a photo website) clips the buttons down at the bottom (all dependent on browser size at the time) however once the window is resized, it Snaps into a proportion that I like. the second issue is more than likely related. the mc that I am using as the background (ecru texture) does not fit to fill once the screen has been resized I have minimized the noticeability by changing the background color to come close to my texture but I would like to know why these issues are happening. here is the development page [URL] this is my main timeline code

[Code]...

View 2 Replies

Actionscript 3.0 :: Animation With A Liquid Layout?

Jul 29, 2009

I'm doing this site (swf is attached) and as you can see the header, footer and the menus are liquid, the width changes depending of the size of the window.My problem is: How can I animate that 3 components if they are liquid ? After the loading of the website I'd like to animate the bars growing up from the right to the left, how can I do that if I don't know the widths ?

View 6 Replies

ActionScript 2.0 :: A Liquid Layout Which Also Can Be Scrolled

Feb 10, 2008

I am trying to create a flash site that utilizes a liquid layout, but also allows for vertical scrolling, something which I am not sure if it is possible. The code for the liquid layout that I am using is this one [URL]Currently, such code creates this layout [URL] Obviously one of the key features of a liquid layout is that takes up as much or little browser real estate as you give it. However, I have found that when I create a liquid layout using this code for a flash site that is vertically longer than the browser window (such as vertically long body of text) the code does not allow you to scroll down. The liquid layout causes there to be no scroll bars in the browser.

I hope I have described my problem clearly. My question is; Is there code that would allow for the flash site to be liquid only horizontally, while VERTICALLY the flash site would be able to be scrolled.

View 1 Replies

ActionScript 2.0 :: Liquid Layout Rearranging Thumbnails

Jul 12, 2010

I'm trying to arrange thumbnails / movie clips within a liquid GUI layout where on resizing the browser window, the thumbs shift / rearrange to fit the new size.I have followed the tutorial on URL...and its been great but doesn't explain how to rearrange elements. URL...

View 2 Replies

ActionScript 3.0 :: Liquid Layout For Externally Loaded Swf?

Jun 29, 2010

1. my easing background (the background which moved as my mouse movement)2. my externally loaded swf contentfor detail this my workstage pic

View 1 Replies

ActionScript 2.0 :: Find Flash Liquid Layout?

Feb 21, 2009

Where to find a tutorial for flash liquid layouts?

I want to place my footer, navbar in a exact part of the screen for whatever resolution the user has.

View 1 Replies

ActionScript 2.0 :: Scaling A Mc In A Liquid Flash Layout

Jan 18, 2010

I am sure this is an easy one but I can't figure it out: I have a movieclip (tester) that I am locating on the stage via the following code:

[Code]....

What I want to have happen is have it start in the defined location but when you drag the browser window open the "tester" movieclip scales up in size but stays centered on those cooridinates - basically as the window gets bigger I want it to stay in the same place but get bigger and be able to control ( by percentage) how big the movie clip grows as the window opens.

View 0 Replies

ActionScript 2.0 :: How To Scale MovieClip In Liquid Flash

Jan 19, 2010

I have a movieclip (tester) that I am locating on the stage via the following code:
ActionScript Code:
setStage();
var stageListener:Object = new Object();
Stage.addListener(stageListener);
stageListener.onResize = function() {
setStage();
};
[Code] .....

What I want to have happen is have it start in the defined location but when you drag the browser window open the "tester" movieclip scales up in size but stays centered on those cooridinates - basically as the window gets bigger I want it to stay in the same place but get bigger and be able to control ( by percentage) how big the movie clip grows as the window opens.

View 2 Replies

ActionScript 3.0 :: Position In A Different Way After Resizing And Liquid Layout

Mar 10, 2011

I've made a liquid layout with 100% Height and 100% Width to get the page to display in every monitor resolution and it's working fine. The only problem is with four movie clips that I want to position in a different way after resizing ( I want the logo to be always on the top left, the nav bar on the top right and so on?.)

[Code]....

View 3 Replies

ActionScript 2.0 :: Proportional Scaling Mc In Liquid Layout?

Mar 12, 2011

I am using the following code to fill the browser window with an image and scale it up or down....works great. I would like to proportionately scale a mc but not have it initially fill the screen. It would start centered in the window at a initial size but then scale up as the browser window opens but not scale back down below it's original starting size.

this is the code for the full screen:

port1Height = new Object ();
port1Height = port1._height / port1._width;
port1Width = new Object ();
port1Width = port1._width / port1._height;

[code]....

View 0 Replies

ActionScript 2.0 :: Sliding Menu With Liquid Layout?

Apr 30, 2011

I made (in fact assemble) an sliding menu wich works fine, the thing is i realized i need liquid layout in my site i cant make it work with this particular menu, i found nformation an i could make a flas movie with liquid layout but with simple mc.

movieclip: menu_mc (this is its instance name)
code in keyframe:
/// begin sliding code

[code]....

View 5 Replies

Actionscript 3.0 :: External Preloader Breaking Liquid SWF

Oct 16, 2010

Basically I have a full screen liquid flash site that I just added a preloader.swf to using the method from the tutorial on this site. The problem is that since I'm externally loading it now the liquid functionality doesn't work anymore. If you want to see the problem in action please check out these 2 links to see what I'm talking about.URL...Notice that it's not scaling the background to fit the screen anymore on the link with the preloader. Does anyone know how to solve this issue without resorting back to the old way of doing preloaders all in 1 swf?

View 2 Replies

ActionScript 3.0 :: Making Liquid Particles: Two Joining Into One?

Jan 28, 2009

i know i've seen this before, maybe on that flash experimental math site that was all black and white and had a picture of a kid swatting at some molecular looking flies? anyone remember the name of that/well anyway, what i'm trying to pull off here is like a circle of some sort, all of sudden growing a small little circle and then both of them dividing, or possibly, a two circles(modules, atoms, particles) join to be one.

View 2 Replies

ActionScript 3.0 :: External SWF Position In Liquid Layout?

Jan 6, 2011

I am making a liquid flash site with a video player which loads within the central movieclip. When the site loads everything sits in place perfectly, however if the browser is rescaled in anyway the external swf pushes up to the top of the screen and stays there permanently. This is the link to the site:http:[url]...... It's not the liquid layout code for the mc as this rescales fine, just the external swf doesn't. This is the code I am using to load the external swf also:

var Xpos:Number = 0.5;
var Ypos:Number = 0.5;
var swf:MovieClip;[code].....

View 2 Replies

Professional :: Liquid Layout - Aspect Ratio Of Background?

Apr 13, 2011

I am working on a new site with a liquid layout and I havent been able to find a way to keep the aspect ratio correct with the different sizes.

[Code]...

the image size im working with is 990x600 for a 1024 display.I would like the image to be centered and never to have empty area, so if it needs to it would strech past the sides.

View 3 Replies

Loadmovie Function To Load Movie In Liquid Template

Feb 24, 2009

I am using loadmovie function to load movie in a liquid template.[code]Movie loads fine in right position but as soon as window gets resized it goes out of its place to the TC position.What can do here to make movie stays in its place once window is resized?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved