Loader.close(), a slippery little basted!
I was working with the Loader class and thought that a good practice to avoid a lot of unnecessary bandwidth loadings is to clear any loading progress before I start a new one. Just to explain.. I used a array to store pages (Loaders) in the application. If the user click at the navigation nr [...]
New Flash Player new issues…
In the new Flash Player 9,0,124,0 there is a lot of new security changes…
If you are (like me) used webService and the server is in a other domain then you will get a sweet secure error:
Server Error: [RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"]
What I did was adding this line in the crossdimain.xml file [...]
Basic Flash-tips #3: Improve your Align skills
Here are some very useful shortcuts to position things faster on stage (PC):
Turn on/off scale “To stage”:Â ctrl+alt+8
Horizontal align: ctr+alt+(1-3)
Vertical align: ctr+alt+(4-6)
And another feature in the align toolbar is “Match size” wich I never used until recently. Useful when resize a background-shape to stage size.
And the shortcuts for that with “To Stage” on:
 ctrl+alt+shift+7 –> ctrl+alt+shift+9
Basic Flash-tips #2: Runtime-errors with row-numbers
Have you ever been missing the row-number for an error thrown at runtime in Flash CS3, for example when working with loaded content such as XML? Just activate “permit debugging” in Publish settings and there it is.
Basic Flash-tips #1: Potapenko Extensions
I found this flash-extension really useful. Specially the “multi edit library” feature. Select multiple images in the library and change smoothing and compression all at once.
http://potapenko.com/eng/extensions.htm
TextField gets cut
Annoying inssue with a centered textfield paragrah randomly get’s cut off at the right end.
Only solution for now seems to be to keep the the textfield paragraph left aligned and then center the textfield it self by measuring width and position.
The smallest things can take the longest time
Recently pulled my hair over something that probably is quite logical.
To get around crossdomain issues I placed a shell-swf on a remote server that in turn loads the main-swf. Have done it like that a thousand times before but this time I just couldn’t get it to work.
It turns out that i tried to set stage.scaleMode in the [...]
Mouse-position outside flash tutorial
 To use javascript with banners can be a true headache. I wan’t to share my exerience of the obstacles I found so far.
Before you start, make sure you have the permission to use javascript on the sites. Sometimes you can sneak in your javascript in the embed-code generated by the media agencies, the siteowner does’nt even have [...]
3D effect with filters
By mixing multiple layers of filtereffects you can make this nice little 3d-effect.
Flashcontent
var so = new SWFObject(”files/filterDemo.swf”, “filterDemo”, “470″, “200″, “8″, “#ffffff”); [...]
Mozilla eats “@” for breakfast
I found this weird little bug today.Â
If windowmode is set to transparent, Mozilla don’t register the altGr+2 as “@”. (I have not tested other characters with AltGr ). Only fix is to remove the wmode-param. So remember this when you need that html background-image under your flash and the same time register a email-adress.
Thanks god for google!