|
|||
|
Hey Folks,
I've been messing with the OnSubEditText event in SWFGen and have been experiencing a problem with being able to replace some fonts but not others. I'd say most of the TTF fonts work, but when I couldn't get Webdings font replace to work amongst others I tried changing the fontname reference to the phyical local URL of the font. Still to no avail. Any help on this would be greatly appreciated. Here is some code: (vb.net) Private Sub OnSubEditText(ByVal obj As Object) Handles SWFGen.OnSubEditText Dim strVar As SWFGENLib.DataProxyEditText = obj Select Case strVar.Text Case txtReplace.Text With strVar .FontName = "C:\WINDOWS\Fonts\webdings.TTF" .Text = txtReplaceWith.Text .FontChars = txtReplaceWith.Text .NeedSub = 1 End With End Select End Sub |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|