[flexcoders] Re: Problem With type checking...

2008-07-23 Thread Michael Ritchie
Is the ArrayCollection FamilyMember and FriendMember located in the Cairngorm Model or are you passing these into the Module through an Interface? - Mr --- In flexcoders@yahoogroups.com, "[EMAIL PROTECTED] Uttarwar" <[EMAIL PROTECTED]> wrote: > > Hi Everybody, > > I am using cairngorm and modul

[flexcoders] Re: Flex Library Project crashing Eclipse with a StackOverflow

2007-10-05 Thread Michael Ritchie
This usually happens when adding multiple SWC files to your application, its a real bear to track down :\ - michael --- In flexcoders@yahoogroups.com, "Brendan Meutzner" <[EMAIL PROTECTED]> wrote: > > Just encountered this one myself... I deleted the project for now, and am > about to try and rec

[flexcoders] Re: Flex Library Project crashing Eclipse with a StackOverflow

2007-10-05 Thread Michael Ritchie
Try adding the entire library folder (where the library swc lives) to your project under Library Path as opposed to the individual SWC file, see if that does the trick. - michael --- In flexcoders@yahoogroups.com, "Brendan Meutzner" <[EMAIL PROTECTED]> wrote: > > Just encountered this one mysel

[flexcoders] Re: TextInput control and long text

2007-09-05 Thread Michael Ritchie
@yahoogroups.com, "Michael Ritchie" <[EMAIL PROTECTED]> wrote: > > Thanks for the suggestion Alex, but that doesn't seem to help. I set > it using AS and not MXML, thought it might be related to this bug: > > http://bugs.adobe.com/jira/browse/SDK-387 > > a

[flexcoders] Re: TextInput control and long text

2007-09-05 Thread Michael Ritchie
me: > > > xmlns:mx="http://www.adobe.com/2006/mxml"; > > > > > > > > Focus into first textinput, type until it scrolls, tab out to next > textinput. > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMA

[flexcoders] Re: TextInput control and long text

2007-09-04 Thread Michael Ritchie
Thanks for the suggestion Alex, but that doesn't seem to help. I set it using AS and not MXML, thought it might be related to this bug: http://bugs.adobe.com/jira/browse/SDK-387 and this one seems to be match for my issue: http://bugs.adobe.com/jira/browse/SDK-1057 --- In flexcoders@yahoogrou

[flexcoders] TextInput control and long text

2007-09-04 Thread Michael Ritchie
If you have text in a TextInput control that is longer than the control you get a undesirable behavior. When take the the cursor to the end of the TextInput control and leave it, only the last part of the file name is displayed when the control loses focus. I tried a few different ways to force

[flexcoders] Re: Module Interface Problems

2007-04-07 Thread Michael Ritchie
> > And thus you are in the shared code topology. That's why you need to > add your interfaces to the main app or use the shared code trick from my > blog, or specify the applicationDomain for ModuleOne somehow. > > > > -Alex > > > > __

[flexcoders] Re: Module Interface Problems

2007-04-05 Thread Michael Ritchie
n you post a test case? > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Michael Ritchie > Sent: Thursday, April 05, 2007 11:00 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Module Interface Probl

[flexcoders] Re: Module Interface Problems

2007-04-05 Thread Michael Ritchie
le which > gets around to tickling the module's ModuleLoader, that ModuleLoader > won't load its module. Did you see it get loaded and dispatch READY? > > This is all within a single domain right? > > > > From: flexcoders@yahoogrou

[flexcoders] Re: Module Interface Problems

2007-04-04 Thread Michael Ritchie
READY you may see it before moduleloader had a chance to see > it and create the child. > > -Alex > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Michael Ritchie > Sent: Tuesday, April 03, 2007 1:04 PM >

[flexcoders] Re: Module Interface Problems

2007-04-03 Thread Michael Ritchie
CallBack(me, me.onLibraryInitiated, > null, cb); > > }else > > onLibraryInitiated(libraryClip, cb); > > } > > _ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Michael Ritchie > Sent: den 3 ap

[flexcoders] Re: Module Interface Problems

2007-04-03 Thread Michael Ritchie
Using ModuleManager to load the modules allows me to access the Interface methods(in this case 'selectedMedia'). It seems that casting the child within ModuleLoader as an ISoundPlayer interface (in my example) always reports the child as NULL when loaded. However, casting the loaded module as a

[flexcoders] Re: Module Interface Problems

2007-04-03 Thread Michael Ritchie
Well scratch those ideas. NO matter what I do the loaded module reports that the ModuleLoader.child is Null. Back to the lab for more experiments. -mr --- In flexcoders@yahoogroups.com, "Michael Ritchie" <[EMAIL PROTECTED]> wrote: > > From my experience there is a defi

[flexcoders] Re: Module Interface Problems

2007-04-03 Thread Michael Ritchie
>From my experience there is a definite timing issue when loading modules. The ModuleLoader ready event is fired before the Module is fully loaded and you have the ability to talk to it through a common interface (hence the error reporting access to a null value). I would term this one as a "bu

[flexcoders] Re: Cairngorm & FMS

2007-01-04 Thread Michael Ritchie
ut I think its a good solution. Remember, Cairngorm is a meant to be modified to fit your needs, it is not engraved in stone that everything must fit in the current architecture. Have a look and see if it helps at all. You can find the sample zip file here: http://thanksmister.com/?p=26 Micha

[flexcoders] Re: Cairngorm Architecture Question - How to Implement a Workflow

2007-01-03 Thread Michael Ritchie
} else { return defaultview; } } Take a look at this post by Alex Uhlmann for full example: http://weblogs.macromedia.com/auhlmann/archives/2006/07/cairngorm_2_for_1.cfm Michael Ritchie AOL Xdrive --- In flexcoders@yahoogroups.com, "Battershall,

[flexcoders] Re: Custom TileWindow Close Button

2007-01-03 Thread Michael Ritchie
that the SWF is scaling, but my close button size in the FLA is actually 18 x 18. Michael Ritchie AOL Xdrive --- In flexcoders@yahoogroups.com, "graysonpierce" <[EMAIL PROTECTED]> wrote: > > I have three 16x16 png images that I would like to use as the close > button of

[flexcoders] Right-click menu while dragging

2006-12-20 Thread Michael Ritchie
also happens when you create Menu and right-click. Michael Ritchie Xdrive.com

[flexcoders] Re: Cairngorm createPopUp in a command

2006-12-14 Thread Michael Ritchie
id think of one advantage of using my method, you could create a queue of the alert messages and do clean up with by firing the "collectionChange" event when you removeItemAt from the ArrayCollection. This could produce and handle multiple alert messages layered on top of each other. M

[flexcoders] Re: Can Flex play rtmp camera video?

2006-10-10 Thread Michael Ritchie
There are a few resources out there with Flex using FMS: http://thanksmister.com/?p=26 http://coenraets.com/viewarticle.jsp?articleId=98 http://flash-communications.net/technotes/fms2/flex2FMS/index.html http://www.adobe.com/devnet/flashmediaserver/articles/video_state_machine_as3_04.html Hope it

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
the quick development of Cairngorm ;). I could not get some parts of the Cairngorm example to work, mainly the part that TH fixed. Maybe someone has a better solution or can locate where I messed up. Michael Ritchie --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]&g

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
d.selectedIndex,0); > > -TH > > --- In flexcoders@yahoogroups.com, "Michael Ritchie" > wrote: > > > > I have tried marking the VO class a couple different ways. The > first > > was following the PhoneExample application by Benoit Hedia

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
tedItem as ContactVO; But same error. I am putting a small example together to demonstrate the issue, I will post it when I have it online. Thanks! - mr --- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > On Thursday 28 September 2006 16:03, Michael Ri

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
I have a similar issue, I have the arraycollection of VO's returned from the CFC. I assign those to a datagrid, then on datagrid change event, assign the selected item to a VO to pass between my tiers. I always get error trying to access a null object. I can't seem to convert my arraycollection t

[flexcoders] Re: How can I block a TabNavigator ?

2006-09-18 Thread Michael Ritchie
Paul, I could imagine a situation where you may want a tab inactive until the data is updated, or the user selects certain options. You might want a user to fill out a form in certain requires steps, so each time the current tab is filled in, the next tab is viewable or active. thanks! mr ---

[flexcoders] Re: Flex with FMS (something like Breeze...)

2006-09-12 Thread Michael Ritchie
I recently updated Adobe's FCS Text Chat example to work with Flex 2 and FMS, you can find my post and example here: http://thanksmister.com/?p=26 The problem with the Adobe examples are that they are outdated and some of the code to update them is not easy to find. I wanted an updated and worki

[flexcoders] Re: Buffer progress bar for streaming FLV

2006-08-30 Thread Michael Ritchie
Abdul is correct, you need to get the netstream time, use the following code for your enterframe function: private function onEnterFrame(event:Event):void { if(stream == null) return; var loadpct:Number = stream.bytesLoaded / stream.bytesTota

[flexcoders] Flex abruptly closes on startup with error

2006-08-29 Thread Michael Ritchie
reproduce. - michael ritchie -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups

[flexcoders] Re: add additional data to list-based drag and drop?

2006-08-25 Thread Michael Ritchie
I had a similar need using two datagrid components. I wanted to drag from datagrid one to datagrid two, and also drag/drop within datagrid two. I had to determine the names of each datagrid to allow/deny drag and drop targets. You can check out my example and source code here: http://thanksmist

[flexcoders] Re: How to bring a combo box component inside the dataGrid Component

2006-08-23 Thread Michael Ritchie
I just finished a sample application because I needed to do the same exact thing for a recent project. I posted my sample files and source on my blog, hope it helps: http://thanksmister.com/?p=24 - mr --- In flexcoders@yahoogroups.com, "richinternetapps" <[EMAIL PROTECTED]> wrote: > > Hi Folks

[flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-09 Thread Michael Ritchie
\u is supposed to be treated as an > escape sequence when compiled into an XML literal. > > > > - Gordon > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Michael Ritchie > Sent: We

[flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-09 Thread Michael Ritchie
gt; > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Michael Ritchie > Sent: Wednesday, August 09, 2006 1:03 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Loading Unicode values from XML and viewing in >

[flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-09 Thread Michael Ritchie
Gordon, That makes sense but its still strange that when I created an XML var in side application, it worked: var localXML:XML = \u00A9 Inverted Exclamation Mark ; I was able to see the copyright symbol as HTML on my label. What threw me was that I couldn't do this from the XML. --- In

[flexcoders] Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-09 Thread Michael Ritchie
In a recent project, I wanted to load the Unicode values for special characters from an external XML file. I wanted these values to show up in a label or text box using something like label.htmlText = "\ul00A9", which would produce the copyright symbol. However, when I loaded the values from a sim