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


Similar Posts:


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 2.0 :: Liquid Layout With Minimum Height (scrollbars)

Mar 16, 2010

I understand liquid layouts and I've built many liquid layout projects, but how do I set a minimum height to lock to, that will use scrollbars.I know I can set a minimum height by putting an if statement in the resize function, but how do I apply scrollbars when the website is that size i.e. under 600?

View 1 Replies

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

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 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

Flex :: Scrollbars In Dropdownlist Inside DataGrid ItemEditor Not Working

Aug 17, 2010

I have a DropDownList inside the itemEditor of my DataGrid. There are enough items in the DropDownList to justify scrollbars. You can see the scrollbars, and the mousewheel works fine. If you move the mouse over the scrollbars, they'll change appearance fine (mouseover is working). If you click on them, the DropDownList closes as if you'd clicked elsewhere in the data grid.

I've been experimenting with custom skins hoping to find a way to trap the mouse event, but have been unsuccessful.

FWIW, this is Flex4, as an AIR app.

Scratch.mxml (main code)

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[Code].....

View 2 Replies

Javascript - Change Scrollbars Into Image Scrollbars

Jan 5, 2004

How do you change the html scrollbar (the one that you see in the far right of your browser) with your own images? I know it's possible because i've seen it before.

P.S.: I am aware of and I know how to change the color of the scrollbar. That is not what's expected. Also i think it's made possible by Javascript.

View 9 Replies

ActionScript 3.0 :: Flash Website Event.RESIZE Isn't Working In Windows 7?

Sep 28, 2010

Is anybody else finding their flash website event.RESIZE isn't working in Windows 7?My website works fine when I run it at home in Vista, however at work in Windows 7 it just does not work and I have no idea why???! Essentially the bit that says portfolio works should stick in the top right corner on resize and the mute and sound button in the bottom left.

View 9 Replies

Professional :: Scrollbars In Flash CS5.5?

Mar 2, 2012

I published a Flash file with the html wrapper.
 
Flash publish settings-
 
Size - %
Height- 100%
Width 100%[code]....
 
All good but there are no scroll bars on the browser when I make the browser window smaller? Search took me to this thread- http: [url]....The solution there is "find the parameter in your CSS that states "overflow: auto" or "overflow: hidden" and change it to "overflow: scroll".I did that and now I see a white scroll track in the browser but no actual scroll bar? LOL What do you think is going on?This is the page code-
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>[code]......

View 3 Replies

IDE :: No Scrollbars For Flash Movie?

Mar 5, 2009

If you go here:and view my flash site at a resolution of 1024x768 in Firefox it has a vertical scroll bar in the browser but not a horizontal scroll bar (is there a way to make it have a horizontal scroll also) because you can't see all the copyright into at the bottom right. Also, Internet Explorer opens the page with NO scrollbars at all (you can't even scroll down to see the content)

View 2 Replies

Embed Flash In Page So It Won't Have Scrollbars?

Sep 26, 2009

I have a swf which is 1700px wide.I want to embed it to a page so it won't have scrollbars even if the browser window is smaller then 1700.But I need it not to be resized down

View 8 Replies

Flash :: Adding Scrollbars Using ActionScript3?

Dec 16, 2010

Having some problems adding the default spark.components.VScrollBar scrollbar. All I'm doing is creating a new VScrollBar, setting it's coordinates, a width and height and doing an addChild but it's not showing up. I'm adding other components too that do show up in the same code so that shouldn't not be the problem.What might I be missing?

var a:VScrollBar = new VScrollBar();
a.x = 100;
a.y = 100;[code].....

View 1 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

Flash :: FLEX - Disable Mousescroll For Scrollbars?

Jan 12, 2012

I'm looking for a way to disable the scrolling of the vertical and horizontal scrollbars when scrolling the mouse. I use the mouse scroll to zoom in and out, and I don't want the scrollbars to scroll while scrolling the mouse wheel.. (But I do need the scrollbars to be visible).

View 2 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 :: Force Browser Scrollbars With A Fluid Flash Site?

Jul 8, 2009

Is there any way to make a full browser swf that, at a certain point, stops scaling to the stage and allows the browser to use it's native scrollbars? For example, say my flash site has a top bar (it's y is always 0) and a bottom bar (it's y might be stageHeight - 15). Is there any way to tell the movie to stop scaling if the bottom bar's y is less than say 300, and from that point have the browser display it's scrollbars allowing you to scroll the content?

View 4 Replies

Flash :: Html - Wordpress - Doctype Halting Up Liquid Layout

Feb 13, 2010

I'm building wordpress blog themed in flash and I've already run into one problem. this doctype:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Will not let me scale my .swf to 100% width and 100% height. Width is fine, but the height is not. my css is as follows:

[Code]......

View 1 Replies

Html :: Have Other Divs With A Flash Liquid Layout That Fits To The Page?

Jun 29, 2011

Basically the majority of my content is flash based. I designed it using Flash Builder (Flex) and Its in a liquid layout, (everything is in percents) and if im JUST embedding the flash content it scales to the page fine, and i have the flash content set to have a padding of 50 px.

I put a header div in fine with no problems, but I have 2 problems, the first being the footer div seems to cover up the buttom of the flash content in IE, but it looks just fine in chrome. How can I solve this? I'm using the stock embed code that Flex provides, I tried to edit the css style for the div which I think is #flashContent and give it a min width and min height but it didnt seem to work, actually anything I did to #flashContent didn't seem to do anything, maybe its not the div i need to be adding that attribute to...

And my other problem is I dont even know where to start when it comes to placing a div thats 280width by 600height colum to the right side of the flash content. If i could specify a size for the flash content, and the float it left, and float the colum right, and clear it with the container div id be just fine....But remember the flash content is set to 100% Scale (well techically 100%x80% because it looked better that way). how I can start to deal with creating a more complex scaleable flash layouts that includes other divs? ALL WELL MAINTAINING IE SUPPORT? IE is ruining my life.

Here's the code I'm using:

(or if it will help you visualize what im trying to do here's the page where im working on setting this up http://apumpkinpatch.com/textmashnew/)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

[code]....

View 1 Replies

ActionScript 3.0 :: Flash Liquid Design - X / Y - Width / Height Of FLVPlayback Not Right

Aug 10, 2010

, I've spent hours on it and can't figure it out... my code is:

[Code]...

should put my_player in the center of my screen, well it puts it in the center horizontally, and its a bit lower then center vertically, but the problem is, when i strech my window, then i open an instance of my_player, it is down in the bottom right corner...If i open the instance of my_player when the stage is in its original size then its ok, even if i re-size the movie while the player is open it still stays roughly in the center. It's only an issue if the my_player is opened after the flash movie has been re-sized from original position... I have a function that adds and plays the my_player like this

[Code]...

View 2 Replies

ActionScript 3.0 :: Flash Liquid Layout Site Not Scaling Correctly?

Mar 24, 2011

I have made a liquid layout flash site in AS3 but it doesn't rescale correctly in any browsers above 1440x900. I know most people don't have screens bigger than this but it should be scaling to the entire window regardless of the screen size, small or large. Can anyone take a look at my code which has resize handlers but I still have no joy. This is the website but I am not allowed yet by this site to add the entire url! [URL]

package {
import flash.events.MouseEvent;
import fl.transitions.Tween;
import fl.transitions.TweenEvent;
import fl.transitions.easing.*;

[code].....

View 1 Replies

Flash :: Professional - Movie Removes Scrollbars In Mozilla - Google Chrome

Mar 30, 2011

I have added a new flash moovie to my website, the problem i have is that in Mozilla, Google Chrome and possibly more the side scrollbars disapear, however in IE they show perfectly. i can not show a url as i have to leave the old page up until i can find out what is causing the problem.

View 3 Replies

ActionScript 2.0 :: Dynamic Positioning Only Working After Resize

Jul 7, 2009

URL...Its a dynamic positioning template, basically.I'm importing docked_icons.swf onto the stage via the holder movie clip (at the end). However, the position is messed up until I resize the window. From there, it's perfect. How do I set the initial position to be correct?[code]

View 1 Replies

ActionScript 3.0 :: Resize Not Working For MovieClips On Stage?

Feb 18, 2009

Why the mc's are staying where I want them when you resize the stage?

View 2 Replies

ActionScript 3.0 :: Loader Resize Not Working In Distributed SWF?

Jul 5, 2009

I have recently created a game in Flash CS3 with AS3 which displays a random picture (this is a pretty integral part of the game).I have written a small procedure to resize the picture to an appropriate size for the flash application. This is as follows:

ActionScript Code:
function onComplete(ev:Event):void {
var maxheight = 240;
var maxwidth = 400;

[code]....

Here is where it is called, please just take for granted that d_arr[1] contains the correct URL of the image I want to load :-)

ActionScript Code:
var url = d_arr[1];
var urlRequest:URLRequest = new URLRequest(url);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete);

[code]...

This resizes the picture when it is fully loaded. This seems to work fine on my own site, but on the sites to which mochi ads has distributed it, it doesn't resize the image at all, even if it is left to fully load.

View 1 Replies

Flash :: Set Label Width Inside Itemrenderer For Spark List In A Liquid Layout?

Jun 29, 2011

In a flex project that I have that is designed to scale 100% to the web window, I have a spark list. And I have a simple itemrenderer that takes the data and displays a name, and a message. Just think of it like a simple instant messenger display. The problem is that for my msg_txt label I want to give it a width thats the width of the parent list thats holding it.I tried turning the horizontalScrollPolicy to off, also tried width="this.parent.parent.width}" (as well as this.parent.width) for the spark label inside the item renderer. and in the label i tried some things like left="0" right="0" maxWidth="{this.width}" but nothing really does the trick.How can I make this label have a max width of the list thats holding it, AND make sure it resizes if the size of the browser changes and the list size changes?heres the list:

<s:List id="chat_content" width="100%" height="100%"
alternatingItemColors="[#EEEEEE,#E6E6E6]" contentBackgroundColor="#EEEEEE"
horizontalScrollPolicy="off" itemRenderer="renderers.ActiveChatItemRenderer">

[code].....

View 2 Replies

ActionScript 3.0 :: Microphone Stops Working If Resize Application?

Jan 6, 2011

Well I have now managed to trace down the problem. It seems as the microphone stops working if I resize my flash application. In other words if I resize my flash application from its original size, the allow microphone dialogue is no longer displayed at the start of the application and the microphone remains muted.

View 2 Replies







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