Posts Tagged ‘adobe’
Error 1046: Type was not found or was not a compile-time constant: Event.
Error 1046: Type was not found or was not a compile-time constant: Event. You need to import the Event class! import flash.events.Event
hitTest and Actionscript2
if (mc.hitTest(_root._xmouse, _root._ymouse, true))) { trace("hitTest Run"); }
Security error: securitySandboxError with Flash
You have a flash uploader and you get this error: security error: securitySandboxError This means that the flash is not trusted by the domain and you have to place an xml file in the root of the domain. The file is called “crossdomain.xml” and this is what should be inside it: <?xml version=”1.0″?> <cross-domain-policy> <allow-access-from domain=”*” /> </cross-domain-policy> Solved!
Component Inspector in Flash has ISSUES!
I discovered a very annoying bug in the Flash IDE a little while ago, and it has happened to me quite a few times. Today it happened again and so I write this post.. While in the Flash IDE you select a component on the stage, then you click “Component Inspector”. This opens up into a modal window which is nice and everything BUT…. …..if you then give focus to…
Change combobox font size in Flash Actionscript
Ever needed to change the font size of a standard flash combobox component? You will need to give it an instance name e.g. “myCombobox” and then add the following code: myCombobox.setStyle("fontSize", 10);
Constant updates?
I just hate it how everything always wants to update… and then restart all the damn time! First things first: This pops up telling me it’s doing a 309.6MB Adobe Reader Update! Which to me is just crazy… Surely the constant updates shouldn’t be a million times larger than the actual initial install file for the application? I just click Cancel and then do this.. Not a minute later and…
16000 Limit!
Today I discovered that Flash truly has a limit! 16,000 frames: Exceeding this limit causes the movie playback to stop. While this limit is rarely reached by most developers, it is possible. If your movie must have more than this number of frames,try creating multiple movies with fewer than 16,000 frames each and then linking the movies togetherusing a method such as the ActionScript 2 loadMovie() command. 16,000 layers: Flash…
Kill Adobe Updater
So adobe updater keeps doing updates eventhough you’ve said ‘NEVER DO IT AGAIN!!!’. The fix is to physically remove the dir with the info in. On a windows system go to ‘c:\program files\common files\adobe\’, there is a nasty little folder called UPDATER5 in there that you can DELETE! PROBLEM SOLVED