[Flashcoders] OT: Flash based annual reports
Maybe it is time trying Flex 2: http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html Benjamin. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Saturday, October 21, 2006 3:09 AM To: flashcoders@chattyfig.figleaf.com Subject: Flashcoders Digest, Vol 21, Issue 58 Hi list... Can anyone recommend some links to eye catching Flash based corporate annual reports? Thanks, - Michael M. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Custom RectBorder breaks components background color
Hi there, I made a custom RectBorder class (in fact it does nothing, it uses a MovieClip). The borders are drawn as intended but it has a side effect: all components backgrounds (except List and Tree!) become white whereas I set them to another color. This is how I set the background color (works when I use the default RectBorder but not with mine): _global.style.setStyle("backgroundColor", 0xFF); _global.styles.TextInput.setStyle("backgroundColor", 0xFF); _global.styles.ScrollSelectList.setStyle("backgroundColor", 0xFF); // this one always works And my RectBorder class: import mx.core.ext.UIObjectExtensions; class guiTools.skins.RectBorder extends mx.skins.RectBorder { static var symbolName:String = "RectBorder"; static var symbolOwner:Object = RectBorder; var className:String = "RectBorder"; // all of these borders have the same size edges, one pixel var offset:Number = 1; function init(Void):Void { super.init(); } function drawBorder(Void):Void { // the graphics are on the symbols Timeline, // so all you need to do here is size the border _width = __width; _height = __height; } // register ourselves as the RectBorder for all components to use static function classConstruct():Boolean { UIObjectExtensions.Extensions(); _global.styles.rectBorderClass = RectBorder; _global.skinRegistry["RectBorder"] = true; return true; } static var classConstructed:Boolean = classConstruct(); static var UIObjectExtensionsDependency = UIObjectExtensions; } Did I miss something here ? Thanks, Benjamin. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Export frame option disabled
Mike, that's untrue. Components don't need to be loaded in first frame. I am writing a program with a lot of components. In my Actionscript settings, I have the "Export frame for classes "set to 3. For all my components "Export in first frame" is unchecked, as well as all my MovieClip which need to be exported to Actionscript. Then I put all my components and MovieClip which will be created by Actionscript in the fourth frame (on the stage but out of view). These are the components I use in this movie: Accordion, Alert, Button, Checkbox, Combobox, Label, List, NumericStepper, RadioButton, TextArea, TextInput, Tree, Window, and some home made components. But I am sure it will work with all of them. Cheers, Benjamin. -Original Message- From: Mick G [mailto:[EMAIL PROTECTED] Sent: Saturday, June 24, 2006 1:15 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Export frame option disabled This is one of the reasons I avoid MM components unless I totally have to. Most of the components will only work if you export in first frame so the only option I''ve found is: - Put your content in an external SWF (which also causes problems because of a bug with the components needing an instance in the root library if they're loaded into target MCs). So, you now need to create a Shared Library for the components and preload them (or if you don't want the hassle of a shared library, some components get around this bug if you put a _lockroot in the SWF containing them). I'd love to hear other peoples solutions to component preloading. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com