I have a Flash CS6 AS3 project that up until yesterday was displaying text correctly. I have embedded the font Trajan Pro Bold with all of it's symbols and have text fields on my stage using that font.
One text field which has been there for a while is working correctly and changing text as it should. Other text fields are only displaying certain letters. This seems like an embedding problem but I have tried deleting the Font object in the library and recreating it to no avail.
Is there any sort of caching or anything I could clear that could possibly be the problem?
Fixed it. The problem was solved by going to Edit > Preferences > Publish Cache and turning off caching. This increased build time but I was able to turn it back on afterwards to fix the problem and reduce the build time back to normal
Related
I have a small database project where users can attach files to records. Mostly pdf and word docs. I am using the attachment type fields that access provides because I want to get more familiar with them. I have a continuous form that shows the attachment field using the Picture/Symbol view option. Most of the time, but strangely not always, the attachment symbol shows this black background behind its symbol. The black background does not cover the whole field but rather only the picture for the attachment type (Word, PDF etc.). The field itself is set to transparent, which is neccesary for my row highlighting to work. Does anyone know why this is happening? Is it a bug? Some way to fix it? It had worked when I had first set it up but upon restarting my computer and reopening the project they turned black and are now stuck that way. I removed them later for some reason and re-did the whole thing, upon which it seemingly worked but after restarting it went black again. There is no difference between using the view settings Picture/Symbol and Symbol.
Visual Aid:
Update 1:
The black backgrounds are seemingly random. I set the view option to Paperclip, restarted access, then set them to Picture/Symbol again and now I get this:
Closing and opening the file appears to turn the backgrounds black. Changing the view type back and forth inbetween can fix some, but not always.... I'm really not sure what's going on.
Update 2:
The issue is seemingly not affected by transparancy settings. Changing the Background color of the field has no impact either. The issue also persists when making a new form from scratch and adding the Attachment type field to it. It also carries over from one pc to another, so unless both have the same issue in their windows installation I don't think that is the root cause either. Compress & Repair did not help. I am only using one attached file per record.
Update 3:
I have had no luck consistently reproducing the issue. Most of the time, about 80% of it I am estimating, the issue persists. Some days, when launching access, the issue is resolved partially for either the word icon, or the pdf icon. On some days the issue is resolved for all icons as in the picture below. Almost always, after closing and opening access, the issue will immediately reappear for all icons. Closing and opening the form only and keeping the file open is fine, the issue stays resolved. Really not sure how to go about this.
My Access version:
Version 2205 Build 16.0.15225.20028
My Windows install:
Microsoft Windows 10 Pro
10.0.19044 Build 19044
So, updated to windows 11 and the issue is solved. No idea what was wrong exactly but it turns out it was related to the windows install. So, some kind of a bug in Win 10 is my guess, since it was happening on two different machines both running win 10.
I am using dynamic text field to store score in it, I have embedded font that I am using and its only one.
But on run time while text changing one character at the left most becomes bogus/strange character, unable to figure out why its happening.
Finally I am using bitmap anti-alias for the dynamic field, it fixes the issue but text is not smooth.
If anyone had the same issue ?
You may have embedded the font, but have selected the correct character types to be embedded? i.e. if it's a score, then numerals needs to be selected like so:
(The dialog above may look slightly different in CS6, or may be somewhere else, I'm not sure; I don't use CS6)
Characters that are in the field when compiled will be embedded, and characters that aren't embedded won't render correctly.
Alternatively (instead of embedding), you can select "use device fonts" from the dropdown in the properties panel (if you have created the textfield from within Flash Pro rather than programatically), and that will fix it - literally just experienced this problem with an app I just completed and that was my fix.
If the above doesn't work, then I'm sure that it's something to do with the size of the textfield as mentioned above.
Use alternate fonts when prompted. Embed the fonts you chose, save and close your application and restart.
It solved my problem, its more likely that cs6 has this bug.
Changing CLASSIC TEXT to TLF TEXT solved the problem.
Got another weird/specific question for y'all: I'm able to do with this with other .swfs just fine, but Ookla's Speedtest is something of a problem. Basically we have a part of our website that runs Speedtest to determine somebody's bandwidth and use its results in some if statements. But when the person tries to change panels and come back in, Speedtest just sort of disappears. It's supposed to go back to the beginning and start again, but it's like it just keeps running and turns invisible.
When I tried loading another .swf in the SWFLoader, I could get it to reset just fine without disappearing. There's something specifically about Ookla's Speedtest that's causing a problem. If I do nothing to reset the Speedtest .swf when the user starts moving around panels, it won't disappear at least. Putting in code to make it reset is a completely different story though.
What's the trick for this program? Did Ookla design the .swf specifically so it wouldn't work like that or something? Thanks!
Evidently Ookla has designed the .swf against being used like that, which is probably costing them customers.
this is insanely annoying problem:
AS3 full screen application based on ADOBE FLEX 4, text field. User types something in text field, and then starts clicking backspace many many times to remove what he just wrote, and for some reason, instead of removing characters from text field it tells browser to GO BACK and user navigates away. Why?! Please, please help, this is so terrible. My users are losing important unsaved this is data while using my application!
i am using safari browser
PLEASE HELP.
Wow, this is terrible, I am so irritated, it happens every single time
It is possible that the focus is lost from your text field when hitting the backspace multiple times (check if you are firing some events on the text field that may cause this), which causes the main window to take focus and trigger 'Back' on the browser.
The root of the problem is that the browser carries out keyboard shortcuts REGARDLESS of the flash app having the focus or not. From what I heard this problem does not exist on Safari's for Mac, only Safari for Windows.
I would check to see what browser you are in and then create a popup saying you this app does NOT work on Safari browser ON windows.
Scratching head*
Well maybe if HAD to solve this, I would use the ExternalInterface to interact with Safari or javascript to PREVENT the history back button from getting applied. So it won't go back to an old page. That is what I would look into.
I have an odd issue while using FlashCS4.
I have a textfield that, when set to
STATIC TEXT works absolutely fine, in
the correct font.
If I set it to DYNAMIC TEXT, the text
shows up as Arial or some other
default on systems where the selected
font isn't available. It shows up in
the proper font on systems that have
the font installed.
If I set it to EMBED CHARACTERS the
text doesn't show up at all on ANY
system, whether the font is installed
or not.
I have tried embedding the font using the [EMBED] tag in my accompanying AS3 code, and I have the font added to the Library in CS4 as well.
In CS4 I've tried selecting the font for the textfield as both the standard OS Font, as well as the one with the Asterisk next to it, but get the same results both ways.
The library font is set to "export for actionscript" and "on frame 1". The font contains no bold/italic/etc. data, and I'm not using any special styling (other than centering the text).
I don't think it's an issue with the font not being available, otherwise it wouldn't show up when it is set to Dynamic without any embedded characters. It's also strange that it wouldn't show up on the computer that has the font installed.
Help?
Did you click on "Character Embedding" and selected Uppercase, lowercase, numerals and punctuation.
I've found that his problem occours when only a set amount is selected. This should work without any other embedding code, and should not need any library.
Try having just the dynamic textfield on a new flash file and try that only, it should work.
A good way of seeing if they embedded properly is when you rotate the text field, as un-embedded will not show up.
Also try this: Under publish settings -> Flash tab, set Generate size report, and it will show you the fonts and the characters that have been embedded.
if they're showing up there, there's something else you're doing or not doing that's causing this
Turns out the particular font I was using was broken somehow. I started using a different version of the font downloaded from a different site, and everything worked normally. I could not detect any errors or corruption in the original font's download. :/