Do not use FocusEvent to dynamically set a selection on a TextField, use MouseEvent instead.
So not:
- myTextField.addEventListener(FocusEvent.Focus_IN, handler);
But:
- myTextField.addEventListener(MouseEvent.CLICK, handler);
Do not use FocusEvent to dynamically set a selection on a TextField, use MouseEvent instead.
So not:
But:
I ran into the really nice problem of not being able to use Flash’s build in classes today.
Two things to check when you get an error like “The class or interface ‘flash.display.BitmapData’ could not be loaded.”
Turns out I had the player settings wrong. Pretty easy to overlook and it gives you a lot of aggravation.
I ran into the weirdest problem with IE today.
To test some functions I wrote for a Drupal page I outputted some values in a comment area (between ““) before the html-tag. In FireFox this works perfectly fine, but when I tested in IE my layout was ruined. Where the site was supposed to be centerd it was left aligned in IE. Also the min-height was neglected in IE. A strange problem but the solution was to remove the comment and everything worked like a charm again.
Just got a 404 after I tried to submit a rather long blog entry. Very frustrating, since you loose all your text. The back button doesn’t work as you expect. When pressed, all your text is gone… :S
Itรย has been a couple of years since the last time I had to login to a server using SSH and creating my database by using the command line. Today I had the privilege of finding the one hosting provider that doesn’t use a nice control panel for the domain (like plesk or cpanel) combined with phpMyAdmin and other fancy stuff. As you can imagine my SQL had gotten rusty, since I’m so used to creating everything with my friend phpMyAdmin. Luckily the mySQL documentation is very complete and full with tutorials.
Useful link to the mySQL documentation: http://dev.mysql.com/doc/
For some reason animations will start playing when an X number of bytes is loaded, using the default load methods.
Now for some other reason this is ‘solved’ by having a completely blank first frame (nothing on any of your layers). Weird, but my solution for now…
Note to self: getURL() won’t work when testing locally… ๐
This happens when you try to acces an external class on a frame that doesn’t have the import statement for the class. ie:
The solution is to put the import statement (also) on frame 5.
Today is turning out to be a real Friday the 13th! Everything that could go wrong, goes wrong… ๐
Swift3D can’t export object with bitmap textures for vector output, while I desperately needed that. Other than that am I stuck on a weird problem with Flash and not showing some of my MovieClips, not showing the entire SWF in the browser at times AND Flash stopping the playhead at the wrong framelabel…
This day better be over soon! Aaaaaaarrrgghh!!! :p
You should use the decimal character references for these characters to use them in your XML. So instead of writing รยก, you should write ‘& # 2 2 5 ;’ (remove the spaces). This way Flash will display the characters correctly.
A list of the char references can be found at: http://www.bbsinc.com/iso8859.html
EDIT: Another way of solving this is setting the XML encoding to UTF-8.