Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Can't set font size in SimpleChat

Avatar

Avatar
Validate 1
Level 2
RickBullotta
Level 2

Likes

0 likes

Total Posts

34 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
RickBullotta
Level 2

Likes

0 likes

Total Posts

34 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Affirm 1
View profile
RickBullotta
Level 2

30-03-2009

Just a heads up that historyFontSize has no effect on the
appearance of the SimpleChat pod, either when provided in the MXML
tag or explicitly set in actionscript.

Replies

Avatar

Avatar
Boost 50
Level 7
Hironmay
Level 7

Likes

108 likes

Total Posts

920 posts

Correct Reply

102 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile

Avatar
Boost 50
Level 7
Hironmay
Level 7

Likes

108 likes

Total Posts

920 posts

Correct Reply

102 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile
Hironmay
Level 7

30-03-2009

Hi

It used to work. I will get back with details in it.



Thanks

Hironmay Basu

Avatar

Avatar
Boost 50
Level 7
Hironmay
Level 7

Likes

108 likes

Total Posts

920 posts

Correct Reply

102 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile

Avatar
Boost 50
Level 7
Hironmay
Level 7

Likes

108 likes

Total Posts

920 posts

Correct Reply

102 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile
Hironmay
Level 7

30-03-2009

Hi Rick,



I ran a simple code ( attached ) with SimpleChat and I agree
though it works fine once you are in the session and you get any
messages or send any message , it is of the size you have set ,

but the messages you get syncd up in the very beginning were
being shown in the default size , and the reason was when you set
the property in mxml , the model wasn't even created and when we
create the model, we were not passing that value and we don't store
the value in the server.



I have fixed this in the code and



if ( _historyFontSizeChanged ) {

_model.historyFontSize = _historyFontSize ;

}



is the extra line i added in SimpleChat.as when i create the
SimpleChatModel i.e.

_model = new SimpleChatModel(_sessionDependent);

_model.sharedID = sharedID ;

if ( _historyFontSizeChanged ) {

_model.historyFontSize = _historyFontSize ;

}

_model.connectSession = _connectSession ;

_model.subscribe();





Thanks for poiting it out. Will be updated in the SDK in
coming weeks.

Regards

Hironmay Basu