Posted August 17, 2009 by senocular
Posted July 22, 2009 by senocular
The problem was that I gave the allowNetworking parameter a value of "always". Sadly, this is not an allowed value. For some reason, because it was not recognized, on Internet Explorer it meant full screen also broke.
The lesson here is that you need to watch your allow* parameters (i.e. allowFullScreen, allowNetworking, and allowScriptAccess). Each have their own set of allowed values which are unrelated to the other.
- allowFullScreen: [true | false]
- allowNetworking: [all | internal | none]
- allowScriptAccess: [always | sameDomain | never]
My problem was mistaking allowNetworking values with those of allowScriptAccess. Silly me.
Posted July 21, 2009 by senocular
Posted June 23, 2009 by senocular
Have you ever added text through ActionScript to a multi-lined text field created in Flash Professional (Flash Authoring) and frustratingly found that the text immediately starts one line below where you think it should? Me too! Thankfully glosrfc pointed out to me why that is...
Posted June 19, 2009 by senocular
What is this of which I speak? Well it may or may not be fairly common knowledge that normally, when you place a bitmap from your library onto the workarea (a.k.a. "the stage" though technically, it's never really the stage, at least not the same stage ActionScript refers to) in the Flash Professional authoring tool, that bitmap becomes a shape, or a part of a shape consisting of other bitmap or vector graphics within the same layer or z-ordering group, once you publish your SWF. A quick test will reveal this behavior:
- Create a new Fla
- File > Import > Import to Stage...
- Add the following frame script:
- Test movie
If you didn't already know that, that's interesting enough. How then, you may ask, do you get an actual Bitmap instance on the stage in Flash? Until yesterday, I thought you couldn't except through ActionScript. But it turns out that is not true. Bitmap objects on the stage will become Bitmap instances rather than shapes if that bitmap image is exported for ActionScript (via library item properties).
Edit the image imported in the above example to be exported for ActionScript and run again to get the following:
In other words, that image on the timeline has become a true bitmap instance rather than part of a shape. The Flash GUI still doesn't give you options for things like instance names or anything at this point, but the object available in the display list is in fact a true Bitmap.
Posted June 15, 2009 by senocular
These appear when you have the debugger version of Flash Player installed and you run a SWF with errors in the code that are not handled correctly, either through appropriate logic, try..catch blocks, or the correct event listeners. But what if you don't want them?
Posted June 12, 2009 by senocular
This has been KILLING me. But apparently not many people have seen this? Either that or they don't seem to be vocal about it. Well, now's your chance, there's a bug logged about it (thank you Tim) here:
So if you've experienced this, vote for the bug to help get rid of it!
Posted May 05, 2009 by senocular
Posted May 01, 2009 by senocular
Posted April 28, 2009 by senocular