Announcement

User registrations are currently disabled due to high spam traffic.

#1 19/06/12 9:45pm

Kwing
Administrator
From: Corner of Walk and Don't Walk
Registered: 26/02/08
Posts: 82
Website

Dynamic Text Boxes

Is there any way to change those ugly Veranda size 12 text boxes when you make a PSP Flash game? Take a look at 5000 for instance, the font is huge but changes to a tiny font when you play it on your PSP.


Over 100 free Flash games for your PSP:
tinyurl.com/pspflashgames

Offline

 

#2 20/06/12 4:56am

shinsukeito
The Explorer
From: Bloody Australia.
Registered: 23/09/08
Posts: 607

Re: Dynamic Text Boxes

With my experience with Flash, dynamic text boxes only allow the standard font on the PSP.

There are ways to get around this, such as creating a frame for each letter and such, but it is very inefficient.

Offline

 

#3 20/06/12 8:31am

tenjimaru
Moderator
From: SD-CA
Registered: 30/03/08
Posts: 679

Re: Dynamic Text Boxes

I'm not sure, what if you specified the type of font and size within the ActionScript.

Code:

      var format:TextFormat = new TextFormat();
            format.font = "Arial";
            format.color = 0xFFFFFF;
            format.size = 20;

          _root.myText_txt.setNewTextFormat(format);

Source


[i]cookie Tenebra Crystallis.. Released!
Portable Fishing 2012 Released!
Find Them In The 'Flash Games' Section of The Forums[/i]

Offline

 

#4 20/06/12 9:25am

shinsukeito
The Explorer
From: Bloody Australia.
Registered: 23/09/08
Posts: 607

Re: Dynamic Text Boxes

tenjimaru wrote:

I'm not sure, what if you specified the type of font and size within the ActionScript.

Code:

      var format:TextFormat = new TextFormat();
            format.font = "Arial";
            format.color = 0xFFFFFF;
            format.size = 20;

          _root.myText_txt.setNewTextFormat(format);

Source

I can't try it as I don't have a PSP, but I'm pretty sure that the PSP only has one font installed, meaning that this method would not work sad

Offline

 

#5 25/06/12 1:35am

Kwing
Administrator
From: Corner of Walk and Don't Walk
Registered: 26/02/08
Posts: 82
Website

Re: Dynamic Text Boxes

shinsukeito wrote:

I can't try it as I don't have a PSP, but I'm pretty sure that the PSP only has one font installed, meaning that this method would not work sad

Doesn't the PSP need fonts in order to show Static text too though? Or is it converted into some other type of data when you publish to SWF?

Also I did consider making frames for bigger font, but decided against it because of the PSP's puny RAM.

Thanks for the suggestion Tenji, I'll try it when I can. Although I just changed the graphic style of Ava RPG so I won't need to make big text boxes.

Last edited by Kwing (25/06/12 1:36am)


Over 100 free Flash games for your PSP:
tinyurl.com/pspflashgames

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson