English 中文(简体)
在用户有不同的屏幕大小和不同的分辨率时,如何设计一个基于闪电的网站?
原标题:How to design a flash based website when user has different screen size and different resolution?

我正在利用mxml开发一个基于闪电的网站。 我的监测工作是1280x768号决议,内容广泛。 问题在于,在我的屏幕上适当显示,在其他人中,问题并不恰当。 解决这一问题的最佳办法是什么?

我有两点。

  1. Let scrollbars take care of it : If the screen is 14 inch screen with 800x600 resolution it appears zoomed in. So thats a problem
  2. Get screen resolution and resize using scaleX and scaleY : The graphic components will get resized but fonts give problem.

Which is the best approach among these ? If there is a better approach please mention. Thanks

最佳回答

在个人方面,我将为<代码>800x600<>/code>制作屏幕,然后积极转播屏幕,供更多的决议使用。

你可以使用垂直的滚动屏障,但横向滚动在我的书中是一个很大的禁忌。 它吸取了贵国网站的全部经验,令人感到非常不安。

问题回答

The BEST approach for this is to create a fluent UI based on percentage and constraints. This way, the UI will feel the same on all computers not just yours.

我也建议使用流动集装箱作为弹性运输的一部分,因为这样做最容易形成一种通畅的设计。

不久前,我为一家完全适合1280X800大屏幕(设计定义)的顶顶级公司提出了申请。

你们一旦被hang死,就很难做。

Good luck.

各位可以为此增加一个活动听众:

this.stage.addEventListener(Event.RESIZE, resizeHandler);

private function resizeHandler(e:Event):void {
var newWidth:Number = this.stage.stageWidth;
var newHeight:Number = this.stage.stageHeight;

// etc, roll from here to do your manual positioning logic.

}

请注意,这也应当涉及任何显示器,因此,你可以使用集装箱上的制约因素和百分比,然后用像这样的固定装置拦截这些限制和百分比,从而使你能够细化其内容。





相关问题
Disable button tooltip in AS3

I want to disable the tooltip on certain buttons. The tooltip manager seems to be an all or nothing solution. Is it possible to disable the tooltip for just one or two buttons?

Multiple Remote call made simultenously

I was making multiple remote calls and they are done sequentially and when I am getting a result event back it s triggering calls to all the methods with ResultEvent as an argument . I am supposed to ...

Attaching a property to an event in Flex/AS3

I have a parameter that needs to be passed along with an event. After unsuccessful attempts to place it on the type by extending the class, I ve been advised in another SO question to write a custom ...

Clearing RSL in Cache

I have built a flex application which has a "main" project and it is assosciated with a few RSL s which are loaded and cached once i run my "main" application. The problem i am facing is that the ...

What s a good way of deserializing data into mock objects?

I m writing a mock backend service for my flex application. Because I will likely need to add/edit/modify the mock data over time, I d prefer not to generate the data in code like this: var mockData =...

AS3 try/catch out of memory

I m loading a few huge images on my flex/as3 app, but I can t manage to catch the error when the flash player runs out of memory. Here is the what I was thinking might work (I use ???? because i dont ...

热门标签