[Flashcoders] DataGrid: Expanding vertical Thumb width (Glen Pike)
Glen: thank you! That works perfectly. ~Bill -- Message: 1 Date: Mon, 05 Sep 2011 17:18:34 +0100 From: Glen Pike g...@engineeredarts.co.uk Hi, I remember having to hack this in Flash for a list component, you should be able to set the style, but you need to use GrantSkinners workaround http://gskinner.com/blog/archives/2007/05/variable_scroll.html Edit your skin, then include Grant's fl.controls.List or whatever - that includes Scrollbar code. Set your width using the setStyle props. _list.setStyle(scrollBarWidth,40); _list.setStyle(scrollArrowHeight, 40); HTH ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] DataGrid: Expanding vertical Thumb width
What is the approach to expand a DataGrid vertical scrollbar's width (from the standard 15 pixels, to 44 or so, for touchscreens) in pure AS3 / Flash CS 5? It looks easy in Flex now http://www.switchonthecode.com/tutorials/flex-fun-advanced-datagrid-topics But in Flash/AS3, directly editing library Component Assets ScrollBarSkins Scrolltrack_skin as recommended at http://help.adobe.com/en_US/ActionScript/3.0_UsingComponentsAS3/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7f4a.html to change its color and width does change the color and the width in the library, but only the color -- not the width at runtime. Widening scrollThumb_upSkin, et al in the library does show them altered when run, but cut off at the stock 16 pixel width of DataGrid scrolltrack. Any thoughts? thanks // basically straight from livedocs... import fl.controls.DataGrid; import fl.controls.dataGridClasses.DataGridColumn; import fl.data.DataProvider; import fl.events.DataGridEvent; function setup ():void { var aDg:DataGrid = new DataGrid(); addChild(aDg); aDg.verticalScrollPolicy=on; var nameDGC:DataGridColumn = new DataGridColumn(name); nameDGC.sortOptions = Array.CASEINSENSITIVE; var scoreDGC:DataGridColumn = new DataGridColumn(score); scoreDGC.sortOptions = Array.NUMERIC; aDg.addColumn(nameDGC); aDg.addColumn(scoreDGC); var aDP_array:Array = new Array({name:clark, score:3135}, {name:Bill, score:803}, {name:fc, score:03}, {name:Bruce, score:403}, {name:Peter, score:25}) aDg.dataProvider = new DataProvider(aDP_array); aDg.rowCount = aDg.length - 2; aDg.width = 200; // also does nothing aDg.verticalScrollBar.width = 60; } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Unknown error optimizing byte code.
I am starting to see this error more and more when testing apps: Line 15005: Unknown error optimizing byte code. This is in a fully updated Flash CS5 Professional, and occurs when working with either AIR or Flash apps. No other compile errors; and the app does not load. Moving past my love of tools that report ‘unknown errors’ within their own processing – it does not seem that this has been resolved anywhere in my searches. The only temp solution is to get out of Flash and reload the app, which allows a number of more compiles, before the error pops up again. Anyone else seeing this error occur? Any thoughts on solutions? File, Publish Settings, Flash tab, [x] Compress movie has no bearing. Thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Unknown error optimizing byte code.
Thanks Cedric – good suggestions. I did see that there were Flex (and Java) command line options to free memory; but I’m locked into FLASH for this one. I fear a hard upper limit coming to hit me. I’m surprised that others don’t get this more; as my app isn’t all that big. Thanks again. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Kevin’s components for Android 3.0?
Anyone working with/modifying Kevin’s components for Android 3.0? http://blog.kevinhoyt.com/2010/05/some-flash-android-components/ Are there any other Actionscript-based variations for Android 3.0? I have seen most of the standard sets of components in Actionscript source; but nothing that extends or provides something similar to Kevin’s. I’m looking to (quickly) beef up Kevin’s components, to do things like add Data Providers and add physics for gestures for lists, etc. If you have something that you can help me with (for $) in this area, please send me a note. Thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] [Job] Activescript 3 development
[Job] Activescript 3 development: Looking for an additional off-site freelancer to the west (Downingtown, Exton, Malvern, West Chester) of Philadelphia. Straight AS3, non-timeline, part-time AIR/FLASH development. If interested, please email me off-list with resume | cv | portfolio and off-site rate requirements. Thank you, ~Bill ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] [Job] Actionscript 3 development
Perhaps more than obviously, this was meant to be Actionscript. [Job] Actionscript 3 development: Looking for an additional off-site freelancer to the west (Downingtown, Exton, Malvern, West Chester) of Philadelphia. Straight AS3, non-timeline, part-time AIR/FLASH development. If interested, please email me off-list with resume | cv | portfolio and off-site rate requirements. Thank you, ~Bill ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] (From a PDF?) Getting bitmap data
You’re right Peter, thank you. I will try these out! Bill From: Peter Ginneberge p.ginnebe...@telenet.be Not sure what you mean with swc only. All sources can be found here: http://code.google.com/p/purepdf/source/browse/ http://code.google.com/p/fxpdf/source/browse/ http://code.google.com/p/pavo/source/browse/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] (From a PDF?) Getting bitmap data
Thank you everyone, for the thoughts on how to pull images from PDFs. I did find some other tools (just to mention them) but they are .swc-only; no source, and the customer needs to at least have the source available. They are: fxpdf http://code.google.com/p/fxpdf/downloads/list .swc-only .write-only? pavo http://code.google.com/p/pavo/ . questionabe docs . swc-only purePDF http://code.google.com/p/purepdf/downloads/detail?name=purePDF_0.74.20100527.zipcan=2q= . reads pdf from .swf... .swc-only http://code.google.com/u/@VBhTQ1BRDxRGXQJ5/ I’ll see what I can come up with AS3 –wise. thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] (From a PDF?) Getting bitmap data successfully
I need to pull in a PDF and be able to show thumbnails of the larger graphics to the user. They check off a couple and those are then saved as PNG or JPG files. I am ok on saving graphics as PNG/JPG (given a bitmap) and doing the UI piece, but can’t seem to find anything on how to manipulate the PDF to pull the bitmaps. Is there anything available short of Acrobat-SDK, and that is AS3-based? There are a few utilities to do this*, but nothing code-based to glean from. *Existing tools: a-pdf.com verypdf.com sobolsoft.com somepdf.com dawningsoft.com I have contacted them; but they only offer command-line, no-source, alternatives. Thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] [JOB] AS3 freelance
[JOB] AS3 freelance For folks a) in or near Exton, PA; and, b) with strong AS3 experience who are interested in freelance projects -- with no need to travel, please send me a note. Principals only please. AS3 required, not necessarily with Flex/FB. Thank you ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders