Groups | Blog | Home
all groups > macromedia flash handhelds > february 2005 >

macromedia flash handhelds : SWF scaling on 640 x 480 Windows mobile SE


hayden
2/23/2005 3:03:46 PM
What happens to a 320 x 240 swf (full screen on wm 2002/2003) if I display it
on a windows media 2003 SE device supporting 640 x 480? I am concerned that
while the new devices support 640 x 480, the physical size of the screen is not
much larger than older devices. If a 320 x 240 SWF scales to half the size of
the screen on WM 2003 SE, the image could be extremely small, compared to full
screen on an older 2002,2003 device.
Carlo
2/24/2005 12:07:16 AM
Well the new devices have lot more resolution 200 dpi, that´s why it looks
smaller is like moving an image from a 72 resolution file in photoshop to an
other file with 300.


"hayden" <webforumsuser@macromedia.com> escribió en el mensaje
news:cvi60i$j0q$1@forums.macromedia.com...
[quoted text, click to view]

Yechezkal Gutfreund
2/24/2005 10:26:25 AM
Right now, you do not get direct access to native (hardware) vga
resolutions. To Flash the systems will look like a 320x240. (It just used 4
pixels instead of one).

Users who want to get native VGA have to buy or get unsupported software
that hacks the system to make native VGA work.

We use this since our apps are dedicated applications (SAP). But setting
native VGA makes a lot of other programs on the PDA very hard use. Flash
though, looks and acts great.

BTW, We found it really easy to scale our content in Flash for the items
that we wanted to have larger.

This is what is really great in Flash, but you have to architect your
application properly. (I.e. seperate movies for each type of item, and have
scalable ones and non-scaled ones).


--
==================================
Yechezkal Gutfreund
Team Macromedia for Mobile Devices
==================================
[quoted text, click to view]

Yechezkal Gutfreund
2/24/2005 7:35:52 PM
Almost.

The issue is that while the hardware is 640x480 (VGA) the OS WM2003SE does
not support this.
At the OS (windows driver level) everything is referred to as a 4 pixel
level (except for text, which is very nicely
aliased and makes use of this).

However, almost all applications will only see 320x240.

For example, IE will show a JPG using the 2x2 pixel grid.

It is not a programming problem in flash. It is that the OS makes the device
to Flash appear like a 320x240.

However,

If you install SE_VGA http://www.pocketgear.com/software_detail.asp?id=14679
You can then change to REAL VGA (it will ask to you do a soft reset) and
then every application (IE, Today,
etc. will all be extremely tiny. All text will be tiny also. But then Flash
will think that it is on a real VGA screen.

Kapish?


--
===============================
Dr. Yechezkal Gutfreund
Team Macromedia for Mobile Devices
===============================

[quoted text, click to view]

hayden
2/24/2005 7:46:11 PM
thanks for the response. so if I understand you correctly, the current
versions of Flash, both standalone and ActiveX, are not written to take
advantage of the VGA hardware and instead display using QVGA. ---------
Right now, you do not get direct access to native (hardware) vga resolutions.
To Flash the systems will look like a 320x240. (It just used 4 pixels instead
of one). --------- How will this affect bitmap images within a SWF? Will the
bitmap distort on WM2003SE or does it have a way to use 4 pxiels per single
pixel from the bitmap image as well? thanks again for your help.
Steve Howard *TMM*
2/25/2005 1:25:38 PM
[quoted text, click to view]

Sounds like you built your app at 640x480, so when you see it as VGA on the
Toshiba, it looks as good as it does on your development machine. Line art -
here you mean vector art? - will look much better at VGA because there are
more pixels to display a higher resolution, thus better quality, version of
the vector.

In contrast - if you had built your app at 320x240 and were scaling it up to
640x480, I expect the vectors would still look good, but the jpegs would be
blocky.

Steve


--
Team Macromedia Volunteer - Authorware
My blog - http://stevehoward.blogspot.com/
Blog RSS - http://stevehoward.blogspot.com/atom.xml
Authorware tips - http://www.tomorrows-key.com

EuroTAAC 2005
April 14 - 16
Blackpool, England
http://www.eurotaac.com
hayden
2/25/2005 3:02:28 PM
mzern
2/25/2005 6:48:26 PM
Your understanding of this seems to be deeper than ours on this subject, but
our experience is a little different from what you describe. On HP4700, in
VGA, we see the text smoothing as you describe, but in addition are convinced
that line art is also smoother. We've built swfs at both 640x480 and 320x240
and seen no difference in text or line art. The scaling up from 320 (or is it
the scaling down from 640?) seems to take best advantage of the hardware. And
the same content that we used to display on Toshiba e800 at std resolution
looks far, far better on the HP. The most interesting and obvious improvement
is in the display of jpegs. There is a huge difference between an image that
was resampled to, say, 200x200, and the same image resampled to 400x400 and
scaled 50% at runtime to display at 200x200. The disappointment is that the
screen drawing seems much slower. When you display a full-screen monochrome mc
at 50% alpha, you watch it draw like a curtain being pulled down. I know this
is asking alot, but the same thing in the Toshiba wasn't particularly
noticable. Someone here is certain that this is true only of landscape. I've
only worked in landscape on the HP, so I can't confirm. Mark
Matt Aimonetti
2/25/2005 7:13:47 PM
mzern, I also own a HP hx4700 and I tried swf in 640x480 as well as 320x240.
If you check on the screen resolution you'll see that it's rendered at
320x240. I'll check on the software Yechezkal recommanded, but that would not
help me as I would have to ask each user to use this VGA software. By the way,
I use MDM zinc 2 PPC to compile my applications.
mzern
2/25/2005 8:02:21 PM
Originally posted by: Newsgroup User < Sounds like you built your app at
640x480, so when you see it as VGA on the < Toshiba, it looks as good as it
does on your development machine. Line art - < here you mean vector art? -
will look much better at VGA because there are < more pixels to display a
higher resolution, thus better quality, version of < the vector. < In
contrast - if you had built your app at 320x240 and were scaling it up to <
640x480, I expect the vectors would still look good, but the jpegs would be <
blocky. < Steve Well, in fact, we are building at 320 x 240, and, as I said,
there's no discernable difference from the same thing built at 640 480, except
- as you note - in the display of jpegs. All the scalable elements seem to do
the right thing. To expand the example I gave earlier, if you build at 640 480
and include a resampled 400x400 jpeg, the display will look identical to a
build at 320 240 that includes a 400x400 jpeg scaled to 200x200. And both will
look better than a 320 240 build that includes a resampled 200x200 jpeg. This
is consistent with your observation, except that you can trick the game by
scaling a 2x image 50% and get advantage of the VGA. Why and how any of this
works is mysterious to me. Mark -- Team Macromedia Volunteer - Authorware
My blog - http://www.eurotaac.com
mzern
2/25/2005 8:05:49 PM
Originally posted by: Matt Aimonetti
< If you check on the screen resolution you'll see that it's rendered at 320x240.

Can you tell what you mean by checking the screen resolution?

Thanks,

peterblaze
2/26/2005 12:19:47 AM
[quoted text, click to view]
Hi Mark,

Matt mentioned checking screen current resolution with:
#1
flash player:
System.capabilities.screenResolutionX
System.capabilities.screenResolutionY

#2
software method (ZINC for PPC mentioned),

both should (and in my Dell Axim 5 device do) return current device
screen settings

hth,
regards,
Peter

Peter Blazejewicz
Steve Howard *TMM*
2/26/2005 12:46:42 PM

[quoted text, click to view]


That's how Flash works. It is designed to produce scalable content, which is
why the native image format is vector ... vector images are defined as a
mathematical function (i.e. draw a circle) rather than bitmapped images
which define the colour of pixels (make this one green, that one red, the
next green, ... ooooo - that looks like a circle).

The mathematical formula scales better.

But note that you are using jpeg images. These are a compressed image
format, also described by mathematical formula (start here as grey, make a
gradient to blue over here ...) which scales reasonably well, especially
when you use a high-quality jpeg setting.


HTH


Steve


--
Team Macromedia Volunteer - Authorware
My blog - http://stevehoward.blogspot.com/
Blog RSS - http://stevehoward.blogspot.com/atom.xml
Authorware tips - http://www.tomorrows-key.com

EuroTAAC 2005
April 14 - 16
Blackpool, England
http://www.eurotaac.com
Bruno Rousseau
3/6/2005 12:28:52 AM
On my HP Hx4700 my Flash movies are extremely slow. My Flash benchmarks show
that it is slower than a 2 years old 300 MHz device.

I haven't changed any screen resolution settings yet.

Since this is a 624 MHz device, I assumed that to be so slow it was set with a
640 x 320 resolution but displaying 4 pixels instead of 1.

How do I actually get it to work as a standard 320 x 240 screen ?

Is this the way to speed it up ?
Bruno Rousseau
3/6/2005 1:24:59 AM
Basically, I want to know how to get a true QVGA mode (not SE-QVGA) on my Hx
4700 ?
SE_VGA is supposed to have this option, but it does appear when installed on
the Hx 4700.

Any idea on how to do it ?
Yechezkal Gutfreund
3/6/2005 2:20:33 PM
I am having trouble parsing this. Do you want True VGA or "true QVGA"
(which I think you mean you want the hx 4700 to behave performance-wise like
a ipaq 5555 or dell x30 or the like).


--
===============================
Dr. Yechezkal Gutfreund
Team Macromedia for Mobile Devices
===============================
[quoted text, click to view]

Yechezkal Gutfreund
3/8/2005 5:58:53 PM
Here is what we do:

1. Publish the SWF as a 480x640 document
2. Buy the Macromedia SAP (don't cry about the price, bill it to the
customer!)
3. Install the SE_VGA freebie software
4. use SE_VG to set the hp hx4700 to 480x640 True VGA
5. Let it do a soft reset
6. Run the SWF with the MM SAP

We get a true VGA (we always run in portrait mode (480x640) full screen
flash program. We can create
projectors for this also.

Our application is not "animation heavy" but is interaction heavy. For
example, we draw complex cubic spline curves using the draw API and allow
people to dynamically drag control points (basically we reproduce some of
the Flash MX 2004 IDE drawing tools for lines, curves, areas in Flash!)
Frame rate is fine at 10 fps.

We see about a 25% slower hit for this. We think this is because we are
redrawing more information because of the larger screen. Other than that
dragging and moving items seems about the same.

Sorry we don't have any other platforms or systems to do comparisons on.


[quoted text, click to view]

Steve Howard *TMM*
3/8/2005 7:16:30 PM
[quoted text, click to view]

I used CFCOM to build a .Net wrapper that I can run Flash files in Full
Screen mode without SAP or Flash Assist. I have not had the opportunity to
test it on a VGA device yet

http://www.odysseysoftware.com/products_cfcom.asp

HTH

Steve



--
Team Macromedia Volunteer - Authorware
My blog - http://stevehoward.blogspot.com/
Blog RSS - http://stevehoward.blogspot.com/atom.xml
Authorware tips - http://www.tomorrows-key.com

EuroTAAC 2005
April 14 - 16
Blackpool, England
http://www.eurotaac.com
Minimac
3/8/2005 10:37:41 PM
Yes that's right, all I want is to play on a 4" screen my full screen Flash
Apps at normal speed.

What I found is that Flash Assist is to blame. Here are my experiments:

- QVGA + Movie in Flash Assist full screen = Flash very VERY slow
- QVGA + Movie in Internet Explorer = Flash plays at normal speed.

This indicates that Flash Assist is to blame but ...

- VGA + Flash Assist = Flash Assist shows only a small 320 x 240 window but
the movie plays at normal speed.
- VGA + Movie in Internet Explorer = Flash plays at normal speed but Small
320 x 240 movie.

This indicates that either the VGA mode lets Flash Assist work fine or that
Flash Assist is fast because it only shows a quarter of the screen.

I then changed the settings of the movie to play at 640 x 480.

- VGA + Flash Assist + Movie at 640 x 480 = Movie plays at normal speed
eventhough Flash Assist displays only a quarter of the movie in a quarter of
the screen.
- VGA + Movie at 640 x 480 in Internet Explorer = Flash plays at normal
speed.

Does anyone know another way to play full screen Flash movies in VGA mode ?

I tried MDM Zinc, but it wouldn't accept my ActionScripting. Apparently, you
have to rewrite your code using FS Commands.

Please help.

Thanks.



"Yechezkal Gutfreund" <sgutfreund@hotmail.com> a écrit dans le message de
news: d0fl5c$3bg$1@forums.macromedia.com...
[quoted text, click to view]

peterblaze
3/8/2005 11:24:30 PM
Hi Minimac, with MDM ZINC You can script Your application with AS1/AS2 code
and just export for Pocket PC player (6.0.82), You can use {mdm} scripting
engine not even using one fscommand in Your application, and {mdm} scripting
works the same way as any action script function/method model,
http://www.multidmedia.com/support/learning/help/HTML/zincppc/whatismdmscript.ht
m hth, regards, Peter MDM Support Team Originally posted by: Newsgroup User I
tried MDM Zinc, but it wouldn't accept my ActionScripting. Apparently, you
have to rewrite your code using FS Commands.
Minimac
3/9/2005 10:13:35 AM
Thanks guys for your help.

I really appreciate.

Bruno

"Steve Howard *TMM*" <steve@$NoSpam$tomorrows-key.com> a écrit dans le
message de news: d0lipg$78s$1@forums.macromedia.com...
[quoted text, click to view]

AddThis Social Bookmark Button