Re: [flexcoders] FlowBox Nesting

2009-05-17 Thread Eric Cancil
try using this http://blog.appdivision.com/2009/05/13/horizontal-and-vertical-alignment-added-to-flowcontainer/ On Wed, May 13, 2009 at 9:48 AM, Mike Oliver wrote: > > > > Thanks Doug, > > So how much was that bet? > > I replaced the FlobBox with FlowContainer and while yes the height did > calc

[flexcoders] Embedding a font with a space in it

2009-03-28 Thread Eric Cancil
When I try to embed a font with a space in it in Flex I get an error. @font-face { src: url("../asset/font/futura.swf"); fontFamily : Futura Medium; } Although this font exists within the SWF i get the following error font (*) with normal weight and regular style not found. If found a p

Re: [flexcoders] SuperTabNavigator any idea howto blink tab

2008-08-31 Thread Eric Cancil
I did this a while back for synclive.com and i remember it being pretty easy...ill try to look for the code. On Sun, Aug 31, 2008 at 7:29 AM, Sajid Hussain <[EMAIL PROTECTED]>wrote: > Gurus , > I m developing web-messenger with flex , everything going very smooth for > users chat widnow I have

Re: [flexcoders] Re: download many files at a time

2008-08-31 Thread Eric Cancil
http://blog.3r1c.net/?p=80 On Sun, Aug 31, 2008 at 2:07 PM, Robert Thompson <[EMAIL PROTECTED]>wrote: > There is one out there I remember seeing it. > > It's a Flash Downloader also and looks similar to the Safari Download > Dialog in that it stacks the progress bars on top of each other. > > I

[flexcoders] SummaryField summaryFunction question

2008-06-17 Thread Eric Cancil
When writing a summaryFunction for summaryFields I've noticed that if it returns a string (let's say you want to format a summary to be a number delimited by commas at the thousands, or add a dollar sign to a dollar amount summary) the NaN is displayed in your summary row. To me this really doesn'

Re: [flexcoders] How to get image width/height ???

2008-04-24 Thread Eric Cancil
image.addEventListener(Event.COMPLETE, onLoad); private function onLoad(e:Event):void{ trace(image.contentHeight); } On Thu, Apr 24, 2008 at 5:32 PM, Jason The Saj <[EMAIL PROTECTED]> wrote: > Approximate example > > [Embed(source="images/myphoto.png")] > [Bindable] > public var MyPhoto:Class;

[flexcoders] describeType() question

2008-04-24 Thread Eric Cancil
I want to use describeType to lookup properties added at runtime - But it doesnt seem to see them even tho though propertyIsEnumerable returns true and I can see them defined in the debugger I've never really used describeType to look up dynamically added properties like this...am I missing so

[flexcoders] Cairngorm ServiceLocator

2008-04-22 Thread Eric Cancil
I think a little more thought could be put into this class. Due to the fact that it uses describeType to discover the services that have been added to it, and it is not a dynamic class/ does not have any way to dynamically add services at runtime...it makes it in my view impossible to add say for

Re: [flexcoders] Why would this event never fire?

2008-04-20 Thread Eric Cancil
If it doesnt extend from uicomponent then youll never get a creationcomplete event On Sun, Apr 20, 2008 at 10:57 PM, Eric Cancil <[EMAIL PROTECTED]> wrote: > I don't think your onInit function ever fires - what does your controller > class extend? > > On Sun, Apr 20

Re: [flexcoders] Why would this event never fire?

2008-04-20 Thread Eric Cancil
I don't think your onInit function ever fires - what does your controller class extend? On Sun, Apr 20, 2008 at 10:51 PM, dnk <[EMAIL PROTECTED]> wrote: > Ok, I have a controller class that has an onInit function that is > fired form a class constructor. For some reason when I call a function >

Re: [flexcoders] Re: Feedback on my "Image-caching" code

2008-04-19 Thread Eric Cancil
I'm not passing a new passing a new bitmap instance every time i'm just redrawing the existing one. On Sat, Apr 19, 2008 at 5:10 PM, justSteve <[EMAIL PROTECTED]> wrote: > Wondering if 'Image-Caching' is any different than 'pre-loading'. If I > know my app will use (at some future point) a give

Re: [flexcoders] Feedback on my "Image-caching" code

2008-04-17 Thread Eric Cancil
I made something fairly similar at one point http://3r1c.net/cacheableImages/ On Thu, Apr 17, 2008 at 7:55 PM, handitan <[EMAIL PROTECTED]> wrote: > Hi all, > > I am trying to find a simple solution on caching images into the memory. > > I had written a code to do that and it seemed to be worki

Re: [flexcoders] Question on calling multiple Functions in sequence

2008-04-02 Thread Eric Cancil
When dealing with things inside the flash player - you need to deal with it as if it was single threaded - because generally, it is. In your example, the functions would be called in order, one after another...not all at the same time as you may think so lets say you had an example like this var

Re: [flexcoders] Re: Date Bug??

2008-03-31 Thread Eric Cancil
But makes working with dates in most controls very easy :) On Mon, Mar 31, 2008 at 2:20 PM, jmfillman <[EMAIL PROTECTED]> wrote: > Thank you Alex. I knew that, but obviously can't count starting at > zero :-) Took my a while to also catch that since April only has 30 > days, it went to May 1st.

Re: [flexcoders] Image centering

2008-03-31 Thread Eric Cancil
On Mon, Mar 31, 2008 at 2:03 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > verticalAlign="center" /> > > > > No matter how big you make mx:Image, it should center source1.jpg. > > > > > > > -- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > B

Re: [flexcoders] Re: How to scroll to/navigate to an object in an app??

2008-03-31 Thread Eric Cancil
Oops the updated is at http://blog.3r1c.net/?p=95 On Mon, Mar 31, 2008 at 3:53 PM, Eric Cancil <[EMAIL PROTECTED]> wrote: > My updated anchor component is at http://blog.3r1c.net/?p=94 - you would > want to listen to the link event from the text area and scroll to the > as

Re: [flexcoders] Re: How to scroll to/navigate to an object in an app??

2008-03-31 Thread Eric Cancil
My updated anchor component is at http://blog.3r1c.net/?p=94 - you would want to listen to the link event from the text area and scroll to the associated anchor heres a blog post about listening for link clicks within htmlText in flex http://blog.3r1c.net/?p=78 Eric On Mon, Mar 31, 2008 at 12:25

Re: [flexcoders] Re: EFFECT_END handler called twice

2008-02-25 Thread Eric Cancil
Why don't you perform the fade in in the childrenCreated method of the popUp itself? On Mon, Feb 25, 2008 at 1:18 PM, Greg <[EMAIL PROTECTED]> wrote: >Hi, > > > > I am thinking I may have to start counting event triggers too, hoping I am > doing something wrong and don't have to do this… > >

Re: [flexcoders] Flex Open Source

2008-02-24 Thread Eric Cancil
I don't think there's a backwards compiler On Sun, Feb 24, 2008 at 12:45 PM, Mohammed Osama <[EMAIL PROTECTED]> wrote: > I have a SWF file and want to get its MXML file > > - Original Message > From: Paul Andrews <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com > Sent: Sunday, Febr

Re: [flexcoders] Flex Open Source

2008-02-24 Thread Eric Cancil
wrote: > > > - Original Message - > *From:* Eric Cancil <[EMAIL PROTECTED]> > *To:* flexcoders@yahoogroups.com > *Sent:* Sunday, February 24, 2008 5:41 PM > *Subject:* Re: [flexcoders] Flex Open Source > > I don't think this even entirely makes sense >

Re: [flexcoders] Re: What is the best way to compare two arrays element by element ignoring the o

2008-02-24 Thread Eric Cancil
A more specific use case may result in a more elegant solution On Sun, Feb 24, 2008 at 10:18 AM, andrii_olefirenko <[EMAIL PROTECTED]> wrote: > The trick is to keep hash value of all elements of the array. > Prerequisites are following: > 1. Hash function H(index, object) should return unique v

Re: [flexcoders] Re: EFFECT_END handler called twice

2008-02-24 Thread Eric Cancil
I sincerely doubt this is a bug. Since youre using Flex Builder - please but a breakpoint on the line where you instantiate / play the fade effect and run in debug mode - You are most likely calling it twice on accident On Sat, Feb 23, 2008 at 9:54 AM, Syed Mazhar Hasan Qadri < [EMAIL PROTECTED]>

Re: [flexcoders] Bug on IF..ELSE Condition Or What ?

2008-02-24 Thread Eric Cancil
If you're using Flex Builder add a watch expression to stat On Sat, Feb 23, 2008 at 8:51 AM, Patrick Driggett <[EMAIL PROTECTED]> wrote: > I agree, with Gordon, do that and if that doesn't work, I'm willing to > bet that your first if-statement you actually have "if( stat=2 )" as opposed > to "

Re: [flexcoders] Flex Open Source

2008-02-24 Thread Eric Cancil
I don't think this even entirely makes sense On Sun, Feb 24, 2008 at 12:23 PM, Sherif Abdou <[EMAIL PROTECTED]> wrote: > you can't do that, SWF file for Flex/AIR will not be decompiled. > > - Original Message > From: Paul Andrews <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com > S

Re: [flexcoders] flex version of html float?

2008-02-22 Thread Eric Cancil
tually implement this, but my company is certainly > interested in a better flow container)? > > Thanks, > > -- > Maciek Sakrejda > Truviso, Inc. > http://www.truviso.com > > -Original Message- > From: Eric Cancil <[EMAIL PROTECTED] > > Reply-To: flexcod

Re: [flexcoders] flex version of html float?

2008-02-22 Thread Eric Cancil
will you commit it back in FlexLib? > > > > Thanks, > Carl > > Carl-Alexandre Malartre > Directeur de projets, Scolab > 514-528-8066, 1-888-528-8066 > > Besoin d'aide en maths? > www.Netmaths.net > > > > *From:* flexcoders@yahoogroups.com [mailto:[

Re: [flexcoders] flex version of html float?

2008-02-22 Thread Eric Cancil
Hi, I have created a flow container component that fixed a lot of the bugs that existed in the one that existed in FlexLib - you can find it athttp://blog.3r1c.net/?p=89 On Fri, Feb 22, 2008 at 11:07 AM, Maciek Sakrejda <[EMAIL PROTECTED]> wrote: > Jerry, check out the FlowBox container from F

Re: [flexcoders] Drawing in Panel Insanity

2008-02-19 Thread Eric Cancil
kofamerica.com/sites/ddc/rd/blog/_layouts/SubNew.aspx?List=%7B41BD3FC9%2DBB07%2D4763%2DB3AB%2DA6C7C99C5B8D%7D&Source=http%3A%2F%2Fsharepoint%2Ebankofamerica%2Ecom%2Fsites%2Fddc%2Frd%2Fblog%2FLists%2FPosts%2FArchive%2Easpx> > . > > > > > > --

Re: [flexcoders] Re: Default Application background color during intialization

2008-02-19 Thread Eric Cancil
you can add a compiler option On Feb 19, 2008 1:03 PM, jmfillman <[EMAIL PROTECTED]> wrote: > You can also add a compiler option to set this. > > -default-background-color #00 > > > --- In flexcoders@yahoogroups.com , "Jerry > DuVal" <[EMAIL PROTECTED]> wrote: > > > > > On Tuesday 19 Feb 20

Re: [flexcoders] Drawing in Panel Insanity

2008-02-19 Thread Eric Cancil
FArchive%2Easpx> > . > > > > > > -- > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Eric Cancil > *Sent:* Tuesday, February 19, 2008 12:36 PM > *To:* flexcoders@yahoogroups.com > *Subject:* Re: [f

Re: [flexcoders] Drawing in Panel Insanity

2008-02-19 Thread Eric Cancil
quot;borderThicknessRight") and getStyle("borderThicknessLeft"). Hope this helps Eric Cancil On Feb 19, 2008 12:29 PM, Merrill, Jason <[EMAIL PROTECTED]> wrote: >So I've been writing an Actionscript component that extends UIComponent > and is wrapped i

Re: [flexcoders] how do I get displayobjects under mouse

2008-02-19 Thread Eric Cancil
getObjectsUnderPoint(point:Point):Array; is a method of DisplayObjectContainer, try using that. getObjectsUnderPoint (point:Point

Re: [flexcoders] FB watch expression for a singleton object

2008-02-10 Thread Eric Cancil
debugging > > I added this to my watch expressions: > this.parentApplication.modelWatcher > > It seems like it works. Did you have something else in mind, or did I > interpret you properly? > > Thank you, > Mike Chabot > > > On Feb 10, 2008 12:15 PM, Eric Ca

Re: [flexcoders] FB watch expression for a singleton object

2008-02-10 Thread Eric Cancil
Why dont you add a local variable to your main application file and watch that. On Feb 9, 2008 5:33 PM, Mike Chabot <[EMAIL PROTECTED]> wrote: > In FB3 debug mode I want to be able to observe the value of my > singleton object at any time. However, if I write > "ModelLocator.getInstance()" as a

Re: [flexcoders] Re: mx:Image memory leak

2008-02-08 Thread Eric Cancil
Also, if youre using even listeners make sure you clean those up / use weak references. This issue can most likely be significantly tamed with some due diligence on your behalf On Feb 8, 2008 10:29 PM, Gaurav Jain <[EMAIL PROTECTED]> wrote: > Hi Damien, > > High memory usage doesn't necessaril

Re: [flexcoders] Problems with Components

2008-02-08 Thread Eric Cancil
You need to include the namespace (it's mxml's version of an import basically to put it in lea mans terms) On Feb 8, 2008 12:43 PM, Jim Hayes <[EMAIL PROTECTED]> wrote: >I think it's the namespace you need to fix : > > > > http://www.adobe.com/2006/mxml"; > xmlns:myNameSpace="*" layout="absol

Re: [flexcoders] Re: is this how to use commitProperties

2008-02-07 Thread Eric Cancil
It may be more code - But not only is it best practices, it's also using the framework to your advantage, and is far more efficient. On Feb 7, 2008 2:19 PM, Merrill, Jason <[EMAIL PROTECTED]> wrote: >My opinion is that is a lot of code to wade through! > > > Jason Merrill > *Bank of America *

Re: [flexcoders] Re: Flex Interview Questions

2008-02-07 Thread Eric Cancil
Nick, you make a really good point, and bring up some great questions. -Eric On Feb 7, 2008 2:34 PM, Uber_Nick <[EMAIL PROTECTED]> wrote: > Tom makes a good point. It depends on what kind of skills you want to > bring in. ecancil's suggestions are ok if you're looking to do a lot > of work wit

Re: [flexcoders] Extending Base Classes

2008-02-07 Thread Eric Cancil
You do realize you can import the Flex framework directly into your eclipse, so anytime you need to open a class, just hit CTRL + SHIFT + T and type it in That works best. -Eric On Feb 7, 2008 1:43 PM, Kevin Aebig <[EMAIL PROTECTED]> wrote: >Actually I'm currently using the Scheduling Fr

Re: [flexcoders] Display Custom ItemRenderer based on previous value in List

2008-02-06 Thread Eric Cancil
listData.rowIndex = indispensable On Feb 6, 2008 7:16 PM, Alex Harui <[EMAIL PROTECTED]> wrote: >If you assume Arrays, and you can efficiently find the index, then you > can use getItemAt to get the previous item. listData.rowIndex might be > useful > > > -- > >

Re: [flexcoders] Some Advises.

2008-02-06 Thread Eric Cancil
I got null object reference errors on pretty much everything i clicked On Feb 6, 2008 3:08 AM, NileAge, Mail <[EMAIL PROTECTED]> wrote: >Hello All, > > We are develop the flex website (http://www.nileage.org/IndexHome.html ) > and uploaded it. I want you to view it and tell me some advises to