Colorful4U Flash Scrollbar Resizes?
- Started
- Last post
- 9 Responses
- PHA
http://www.colorful4u.com
Does anyone know how he does that? If you resize the browser, the flash scroll bar in the navigation stays right justified. I noticed he is using 100%'s for the width/height of the movie but the objects in the movie don't scale.
- unfittoprint0
problably this:
- PHA0
Nah, that only detects the screen resolution, not the browser width. Thanks though, I hadn't heard of System.capabilities.screenResolu... before.
- unfittoprint0
it is possible to use javascript to detect the width of the browser screen and pass it to the flash movie.
I've seen sites 100% scaled and without stretched content... would also to be interested how they managed that...
- PHA0
Yeah, I noticed some sites that scale movies without scaling content and I have been trying to accomplish this for a while with no luck. The site I listed is unique though, because when I view source, it doesn't seem to be using any javascript at all.
- unfittoprint0
problably some new FlashMX actionscript parameter...
*google's away...
- frankbb0
Stage (object)
look in the dictionary..
Stage.align = "TL";
Stage.showMenu = false;
Stage.scaleMode = "noScale";
myListener = new Object();
myListener.onResize = function() {
// do something
};
Stage.addListener(myListener);
- frankbb0
on the resize funtion slide the scroll bar to Stage.width - noting its, not the regualar ._width !!
- unfittoprint0
thank, frank. great help.
- PHA0
frankbb - you're freakin' awesome. thanks.