Re: [flexcoders] draw an arc

2010-05-26 Thread gabriel montagné
thing. Then you can use an AnimateProperty effect on the ratio, for example, hth, g. -- gabriel montagné láscaris comneno http://rojored.com +44 (0) 7500 709 209

Re: [flexcoders] Re: Loading CFF font swf into Flex 3.3 app

2010-05-10 Thread gabriel montagné
w embeddedFontLineCreator(); hth, gabriel -- gabriel montagné láscaris comneno http://rojored.com +44 (0) 7500 709 209

Re: [flexcoders] Loading CFF font swf into Flex 3.3 app

2010-05-06 Thread gabriel montagné
advancedAntiAliasing="t ... etc. Because we needed to load them up front, on the main app, we just linked that class, import uk.co.razorfish.fonts.EmbeddedFonts; EmbeddedFonts; And that did the job. HTH, Gabriel -- gabriel montagné láscaris comneno http://rojored.com +44 (0) 7500 709 209

Re: [flexcoders] Mediators, Presentation Models and Flex 4 Components

2010-05-05 Thread gabriel montagné
iz or Parsley, etcetera, classes magically forward that gesture your controllers, mediators, I guess you should be fine. hth, gabriel -- gabriel montagné láscaris comneno http://rojored.com +44 (0) 7500 709 209

Re: [flexcoders] Mediators, Presentation Models and Flex 4 Components

2010-05-04 Thread gabriel montagné
gt; For now I'm simply using the AS class of a component as a mediator and the > skin as a view. I would say this is perfectly complete, I wouldn't go looking for any more levels of indirection. Cheers, Gabriel -- gabriel montagné láscaris comneno http://rojored.com +44 (0) 7500 709 209

Re: [flexcoders] is there a style to prevent a transition in a uicomponent

2010-05-03 Thread gabriel montagné
, false); Also, for non-state related effects, I've had to do: // button has a hideEffect, and moveEffect for instance, import mx.effects.EffectManager; EffectManager.suspendEventHandling(); button.visible = false; button.move(200, 300); EffectManager.resumeEventHandling(); hth

Re: [flexcoders] Simple Sound Player

2010-04-22 Thread gabriel montagné
n wma (I could change to mp3 if needed) and I need >> a simple player that will list all the podcasts and then have a play, >> pause, fwd, rwnd, stop and download button. Does anyone know of anything >> like this that I can use in flex.. >> >> thanks >> >> >> > -- gabriel montagné láscaris comneno http://rojored.com +44 (0) 7500 709 209

Re: [flexcoders] DataGrid | ItemRenderers | Validation

2010-04-22 Thread gabriel montagné
That event packs info about column indices, etc. so you can do your maths. hth, Gabriel -- gabriel montagné láscaris comneno http://rojored.com +44 (0) 7500 709 209

Re: [flexcoders] Handler functions convention

2010-04-05 Thread gabriel montagné
On 5 April 2010 19:25, Gordon Smith wrote: ... > The attribute "value" is code that becomes the body of the handler. Cool. This is great to know! Thanks, Gabriel -- gabriel montagné láscaris comneno http://rojored.com +44 (0) 7500 709 209

Re: [flexcoders] Can't get properties to compile?

2010-04-04 Thread gabriel montagné
Hi Rick, On 4 April 2010 21:24, Rick Genter wrote: > What am I missing? Have you declared the bundle metadata anywhere in your app? Something like... [ResourceBundle("MyApp")] ... in your main app? hth, gabriel -- gabriel montagné láscaris comneno http://rojored.com

Re: [flexcoders] Handler functions convention

2010-04-03 Thread gabriel montagné
ke login_clickHandler(event:MouseEvent = null) Gabriel -- gabriel montagné láscaris comneno http://rojored.com +44 (0) 7500 709 209

Re: [flexcoders] Upload image from local disk to textarea

2010-03-29 Thread gabriel montagné
ploading an image from local disk, I can help you out with this, http://github.com/gabrielmontagne/avena/blob/master/src/com/rojored/net/ImageUploader.as Which can be used like, http://gist.github.com/347872 HTH, Gabriel -- gabriel montagné láscaris comneno http://rojored.com +44 (0) 7500 709 209

Re: [flexcoders] Re: How to know which DisplayObjects are underneath another?

2008-12-27 Thread gabriel montagné
bjectsUnderPoint(point:Point):Array method. Maybe you can just test one or two (or four, etc.) of these points and simply cycle over the results. -- gabriel montagné láscaris comneno http://rojored.com t/506.8367.6794

Re: [flexcoders] Re: Is Flex the wrong technology for widgets? SWF file sizes are too big...

2008-12-17 Thread gabriel montagné
rngorm + UM Extensions, etc.), it ended up "costing" like 350KB... and nobody complained, specially since we could cut down one third of the initially scoped development time and it turned out to be robust and pretty much bug free. -- gabriel montagné láscaris comneno http://rojored.com t/506.8367.6794

Re: [flexcoders] Flex + Papervision Business Applications

2008-12-17 Thread gabriel montagné
le is from a slightly older version): http://rojored.com/code/pv3d-flex/PV3D.swf -- gabriel montagné láscaris comneno http://rojored.com t/506.8367.6794

Re: [flexcoders] Multithreading Concept in Flex

2008-12-03 Thread gabriel montagné
On Tue, Dec 2, 2008 at 11:36 PM, jitendra jain <[EMAIL PROTECTED]> wrote: > I read Alex's PseudoThread blog and it is quite useful information. [...] Here's another take, "green threads", http://blog.generalrelativity.org/?p=29 -- gabriel montagné láscaris

Re: [flexcoders] Re: Simple Flex audio player

2008-12-03 Thread gabriel montagné
On Wed, Dec 3, 2008 at 10:03 AM, gabriel montagné <[EMAIL PROTECTED]> wrote: > Here's another one, it's chromeless but you can easily bind buttons and > sliders (you bind a slider back and forth and it will scrub and update without > hassle). http://www.adobe.com/2006

Re: [flexcoders] Re: Simple Flex audio player

2008-12-03 Thread gabriel montagné
dio.as http://code.google.com/p/rojored/source/browse/trunk/src/com/rojored/view/controls/audioClasses/AudioEvent.as Or the swc, http://rojored.googlecode.com/svn/trunk/bin/RojoRed.swc hth, g. -- gabriel montagné láscaris comneno http://rojored.com t/506.8367.6794

Re: [flexcoders] Looking for what this[iscalled]

2008-11-30 Thread gabriel montagné
; There, you'd get your type coercion and property errors only until runtime. It does have its rightful uses, of course, and you might want to check about dynamic classes, etc. but you should be mindful about them. gabriel. -- gabriel montagné láscaris comneno http://rojored.com t/506.8367.6794

Re: [flexcoders] Help with error message

2008-11-29 Thread gabriel montagné
or something like that, you should always test or provide a fallback for it. Something like could do the job. hth, gabriel. -- gabriel montagné láscaris-comneno http://rojored.com +506 83.67.67.94

Re: [flexcoders] RegExp question

2008-11-28 Thread gabriel montagné
source", patternB.source); On yours you're not getting the string representation of your XML into the regexp search pattern, but your actually asking it to find an "r" followed by an "e" followed by an "s", "u", "l", "t", etc. hope this helps, gabriel. -- gabriel montagné láscaris comneno http://rojored.com t/506.8367.6794

Re: [flexcoders] dataProvider binding in own component

2008-11-28 Thread gabriel montagné
", "last.fm", etc. and you can see the carousel update. http://rojored.com another usage example of that same component. http://rojored.googlecode.com/svn/trunk/docs/examples/carousel/c01/bin/Main.swf both are "view source" enabled. HTH, G. -- gabriel montagné láscaris comneno http://rojored.com t/506.8367.6794

Re: [flexcoders] Identifying AIR application instance

2008-11-27 Thread gabriel montagné
your AIR swf, something along the lines of mxmlc +configname=air -define=VERSION::GUID,0.1 ... etc. Later on, when you need to make your tracking, you can access as easily as trace("VERSION::GUID", VERSION::GUID); You could even define this automatically based on date, svn revis

Re: [flexcoders] Re: Removing an item from a sorted ArrayCollection?

2008-11-24 Thread gabriel montagné
r example) are just particular views of rawer data sets; Their aim is just to make your life simpler in the end. HTH, -- gabriel montagné láscaris comneno http://rojored.com t/506.8367.6794

Re: [flexcoders] Help with Flex SDK Tutorial - What am I doing wrong?

2008-11-20 Thread gabriel montagné
n to ignore that swf file, not to bother my fellow FlexBuilderers, I hope this gets you going. gabriel. -- gabriel montagné láscaris comneno http://rojored.com t/506.8367.6794

Re: [flexcoders] Cairngorm for AS3 projects?

2008-11-13 Thread gabriel montagné
roject. You'd have to redo it and redo the stuff it relies on, which is not trivial. I agree with Pedro that you should take a look at PureMVC... or, better yet, go back to Flex ;-) -- gabriel montagné láscaris comneno http://rojored.com t/506.8367.6794

Re: [flexcoders] Re: AS3 Class, MXML implements it

2008-11-07 Thread gabriel montagné
On Fri, Nov 7, 2008 at 9:34 AM, florian.salihovic <[EMAIL PROTECTED]> wrote: > Just just the implements Attribute in the root node and specify ypur > interface, which will be > implement. Like this: http://rojored.com t/506.8367.6794

Re: [flexcoders] repairing pixelation on resized photos

2008-09-09 Thread gabriel montagné
On Tue, Sep 9, 2008 at 1:44 AM, gabriel montagné <[EMAIL PROTECTED]> wrote: > were not allowed to do so, you'll get an ugly security violation runtime > error. [...] I cleaned up the component a bit, should now work as you'd expect, trying to smooth whatever is smoot

Re: [flexcoders] repairing pixelation on resized photos

2008-09-09 Thread gabriel montagné
rror I'm talking about. Here's the smoothing part of the component: http://code.google.com/p/rojored/source/browse/trunk/src/com/rojored/view/controls/Image.as#410 Feel free to grab it if it works for you! Cheers, G. -- gabriel montagné láscaris comneno http://rojored.com t/506.8392.2040

Re: [flexcoders] Re: Cairngorm Event Question

2008-06-20 Thread gabriel montagné
s easily. I recommend, though, that you check out the extensions in detail. Lots of cool things are packed in there. G. -- gabriel montagné láscaris comneno http://rojored.com t/506.8392.2040

Re: [flexcoders] Sharing bindable data between mxml files in different project folders

2008-05-30 Thread gabriel montagné
tic variable. package component { [Bindable] public var testValue :String; // without the 'static' } -- gabriel montagné láscaris comneno http://rojored.com t/506.8392.2040

Re: [flexcoders] Stop Scaling scrollThumb - skinning

2008-04-28 Thread gabriel montagné
n set the horizontal (or vertical) ScrollBar property on canvases and the like to your own external subclass. If you don't need to monkey patch the scroll for everything, you can use your own subclasses of scroll bar NP. -- gabriel montagné láscaris comneno http://rojored.com t/506.8392.2040

Re: [flexcoders] Stop Scaling scrollThumb - skinning

2008-04-26 Thread gabriel montagné
re not familiar with monkey patching, you should check this out first: http://blogs.digitalprimates.net/codeSlinger/index.cfm/2007/4/3/Flex-Component-Development This is a smelly hack you should use it only in case of emergency ;-) -- gabriel montagné láscaris comneno http://rojored.com t/506.8392.2040

Re: [flexcoders] Grayscale Mask

2008-04-25 Thread gabriel montagné
7;s the code for it: http://rojored.com/code/alpha-blend-mode/ Cheers, -- gabriel montagné láscaris comneno http://rojored.com t/506.8392.2040

Re: [flexcoders] How do I debug a flex app that's sitting in an IE wrapper within a Java app?

2008-04-22 Thread gabriel montagné
a swf on an IE instance running on a .NET application and we could debug normally using traces with the debug player installed on IE. Also, we did have an html in that embeded Exploder and we could use javascript for additional logging and debugging. -- gabriel montagné láscaris comneno http:

Re: [flexcoders] Question about Cairngorm / UM extensions

2008-04-22 Thread gabriel montagné
nFailed on the view without you having to know where the view is or how those events were called. The code isn't hard to follow, check it out! http://code.google.com/p/flexcairngorm/source/browse Both the adobe and the um cairngorm classes are there. -- gabriel montagné láscaris comneno http://rojored.com t/506.8392.2040

Re: [flexcoders] Question about Cairngorm / UM extensions

2008-04-22 Thread gabriel montagné
. Thanks for the clarification. np :-) -- gabriel montagné láscaris comneno http://rojored.com t/506.8392.2040

Re: [flexcoders] Question about Cairngorm / UM extensions

2008-04-21 Thread gabriel montagné
t, if it failed) function on the callback, letting the login view know that it can re-enable the form or whatever without having to keep that data on the model. -- gabriel montagné láscaris comneno http://rojored.com t/506.8392.2040

Re: [flexcoders] custom component dataprovider

2008-04-21 Thread gabriel montagné
On Sun, Apr 20, 2008 at 9:38 PM, gabriel montagné <[EMAIL PROTECTED]> wrote: > > I like to do it like this: > > _dataProvider = (value is Array)? new where _dataProvider is typed IList.. ... pretty useful and flexible... I'd read it (or something like it)

Re: [flexcoders] custom component dataprovider

2008-04-21 Thread gabriel montagné
On Fri, Apr 18, 2008 at 6:50 PM, Tracy Spratt <[EMAIL PROTECTED]> wrote: > dataprovider again, right? I had assumed that implementing a dataprovider > would make updates to the UI cleaner (not having to re-create all items), > but I could be wrong on that assumption- don't know yet. > I like to d

Re: [flexcoders] Looping over Object of Objects..

2008-04-20 Thread gabriel montagné
Util is to be able to have a simple, trace-friendly x-ray of whatever object you what. If you want to quickly figure out the structure of an object, you can always throw a quick: trace(ObjectUtil.toString(myWhatever)); cheers, -- gabriel montagné láscaris comneno http://rojored.com t/506.8392.2040

Re: [flexcoders] data modeling question : vo's in subclasses. should be pretty easy

2008-04-17 Thread gabriel montagné
interface don't really know that subclasses can use more sophisticated subclassed version of your object. You'll have to choose at what level of specificity you want to define your interface. If you find a cleaner solution, though, it'd be cool to know! -- gabriel montagné láscaris comneno http://rojored.com t/506.8392.2040

Re: [flexcoders] svg image not load through xml ???

2008-04-16 Thread gabriel montagné
structions are for the compiler, not for the player, those won't help at runtime. -- gabriel montagné láscaris comneno http://rojored.com t/506.8392.2040

Re: [flexcoders] Re: Cairngorm ModelLocator array filter...

2008-04-15 Thread gabriel montagné
guess the only thing I wouldn't recommend at all would be to have filtering / sorting logic wired on the model class. -- gabriel montagné láscaris comneno http://rojored.com t/506.8392.2040

Re: [flexcoders] Re: Cairngorm ModelLocator array filter...

2008-04-15 Thread gabriel montagné
sorry, On Tue, Apr 15, 2008 at 2:27 PM, gabriel montagné <[EMAIL PROTECTED]> wrote: > on a particular view, sorting an array ... on the view... > would make the most sense. -- gabriel montagné láscaris comneno http://rojored.com t/506.8392.2040

Re: [flexcoders] Cairngorm ModelLocator array filter...

2008-04-14 Thread gabriel montagné
commands for processing search that would be in charge of taking the query and use it to build the custom filters and sorts for the catalog data. Hope this helps, G. -- gabriel montagné láscaris comneno http://rojored.com t/506.8392.2040

Re: [flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-14 Thread gabriel montagné
ned with asynchronous commands in mind only; if you run a command that can send a result right away, you might get a racing condition bug which will produce a runtime error. EventGenerator will take UMEvent classes, instance or other EventGenerators, so you can nest them in arbitrarily inter

Re: [flexcoders] Runtime Class Loading

2008-03-29 Thread gabriel montagné
Also, you should wait for the INIT event to be sure that the loaded movie is ready. COMPLETE signals that all the bytes have loaded, but init gets fired after all initialization is complete and the swf is already added to the loader. -- gabriel montagné láscaris comneno http://rojored.com t

Re: [flexcoders] Re: Free Flex Gauge Component

2008-03-28 Thread gabriel montagné
this one out, it's super good and thorough (really): http://livedocs.adobe.com/flex/3/createcomps_flex3.pdf The documentation, in general, is super good. http://livedocs.adobe.com/flex/3/ Also, you should take walks through the framework's code, it's very well written and full of com