[flexcoders] Re: graphics object seems to degrade performance

2008-04-15 Thread Eric Cooper
Is there a way to clock exactly how long the actual drawing to the screen was taking? I know that profiling tools will show time spent within [pre-render] and [render], but I wonder if there is some thing that could be done inside my own code. In particular, I am trying to figure out where ti

Re: [flexcoders] Re: Flex 3 purchased version, still displays "Trial" water mark...

2008-04-15 Thread Josh McDonald
Checked license.properties in: /Applications/Adobe\ Flex\ Builder\ 3/sdks/3.0.0/frameworks/ -J On Wed, Apr 16, 2008 at 3:49 PM, Ilam Mougy <[EMAIL PROTECTED]> wrote: > I tried that. > I tried changing the install location, the workspace, nothing works. > I use Mac and I bought the FB Pro. > >

RE: [flexcoders] SelectedIndex In A Datagrid

2008-04-15 Thread Alex Harui
selectedIndex should work after the dataprovider has been updated. To see the selected row if it is offscreen, call scrollToIndex() From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bloodylag Sent: Tuesday, April 15, 2008 6:15 PM To: flex

RE: [flexcoders] Error thrown in application is being 'swallowed'

2008-04-15 Thread Alex Harui
Binding swallows all errors. Also note that on the release players (you are running a debugger player) no dialogs are shown for uncaught errors. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of twcrone70 Sent: Tuesday, April 15, 2008

RE: [flexcoders] Pass Variables and then run a command

2008-04-15 Thread Alex Harui
We're not an interpreted language and don't have eval(). The best you can probably do is something like: this[_stackName].selectedChild = this[_stateName] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of timgerr Sent: Tuesday, April

RE: [flexcoders] Invalidation problem with popups

2008-04-15 Thread Alex Harui
If you do any explicit sizing of the popup you could have problems later. What does the popup code look like? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bw71 Sent: Tuesday, April 15, 2008 3:21 PM To: flexcoders@yahoogroups.com Subj

RE: [flexcoders] Do modules break tabbing???

2008-04-15 Thread Alex Harui
Did you verify that tabChildren=true on all containers of the IFocusManagerComponents in the module.? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Tuesday, April 15, 2008 9:12 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Letting parents handle drag events

2008-04-15 Thread Alex Harui
Is there a reason you can't use capture phase listeners? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Troy Gilbert Sent: Tuesday, April 15, 2008 10:19 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Letting parents handle

[flexcoders] Re: Flex 3 purchased version, still displays "Trial" water mark...

2008-04-15 Thread Ilam Mougy
I tried that. I tried changing the install location, the workspace, nothing works. I use Mac and I bought the FB Pro. --- In flexcoders@yahoogroups.com, Matt Chotin <[EMAIL PROTECTED]> wrote: > > You probably need to build the project as clean. Also, you purchased Flex Builder Pro and not standar

Re: [flexcoders] Letting parents handle drag events

2008-04-15 Thread Troy Gilbert
> Troy - drag events are dispatched to what _you_ attach them to. If you want > the event to spawn from a child - but be handled by the parent... you > should > override addChild in the parent and attach the listener there. Your handler > will be in the parent and each child will announce whatev

[flexcoders] Troubles with license.properties file not working

2008-04-15 Thread Josh McDonald
Is there any reason my license.properties file works fine in 2.01 HF3, but not in HF1? I just can't get it to work :( -J -- "Therefore, send not to know For whom the bell tolls, It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

[flexcoders] Do modules break tabbing???

2008-04-15 Thread Bjorn Schultheiss
Do i need to do anything to get tabbing working within a loaded modules. It works when i replace the module tags with application.

[flexcoders] Invalidation problem with popups

2008-04-15 Thread bw71
I've noticed issues where if we do popup = new Component; PopUpManager.addPopUp( popUp ), on some later click PopUpManager.removePopUp( popUp ) invalidate popup (add new children) popup.addChild( someChild) and then later PopUpManager.addPopUp( popUp ) - the popUp will not display correctl

[flexcoders] Terbaru dengan penjanaan maksimum

2008-04-15 Thread Usahawan B
*http://sistemunik.googlewebsites.net/index.asp * * * *Inilah kelebihan SISTEM UNIK ini. Dengan menyertai program ini, anda tidak perlu risau lagi tentang keuntungan anda, malah setiap ahli baru yang mendaftar dibawah anda tidak akan mendaftar ke akaun lain. Ini kerana anda telah menjadi admin ke

[flexcoders] any flex image editor control?

2008-04-15 Thread slee_usa
I am looking for a flex control which allows photo or image editing. It should be very light, and I need to embed it in my flex app. Anybody knows any good one? Thanks in advance, Sean

[flexcoders] Flex Compenents, how to make them talk

2008-04-15 Thread timgerr
I was wondering if I create a Flex Application and have 5 Flex components that integrate within my Flex App, how can they all talk to each other Since they do not know about each other till the swf file is compiled, I am unable to have one component event trigger something on another componen

[flexcoders] Pass Variables and then run a command

2008-04-15 Thread timgerr
Hey all, I am new with flex, coming from JavaScript and perl. I am writing an application that will have lots of MXML components like a login component, register component and many more. The problem is I am trying to have all the components talk to each other, I am having trouble doing that. Th

RE: [flexcoders] Writing text directly to Graphics object.

2008-04-15 Thread Rick Winscot
Exactly - the method I provided uses a simple transport mechanism to get the string into a graphics context. that perhaps could be used with beginBitmapFill or a programmatic skin. As you say, without an API to do this directly. hmm. I feel a feature request coming on. Rick Winscot From:

[flexcoders] Error thrown in application is being 'swallowed'

2008-04-15 Thread twcrone70
If there is a critical failure in my applications I make sure to throw and error to bring the system down so that nothing fails quietly that can't be recovered from gracefully. However, I just found a case where a custom Error instance is thrown and even though it is not being caught in code, it

[flexcoders] Where to put flex 2 serials in flex builder 3?

2008-04-15 Thread Josh McDonald
Hey guys, Where do I put the flex 2 serial numbers in flex 3 builder? I'm currently targetting flex 2, and I'm getting "Could not resolve to a component implementation", which I assume is because there's no charting serial that fx3 knows about? There's also no "charting" in the components panel w

[flexcoders] Chart effects

2008-04-15 Thread Rafael Faria
Any suggestion which effects is good for area or line charts?

[flexcoders] Re: Charting...

2008-04-15 Thread Rafael Faria
Josh, I tried messing with the order but it didnt work. But thanks for your suggestion. callLater work quite good as well. I think is a better solution than 1ms timer ;p Cheers Raf --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > That doesn't seem right :) > >

Re: [flexcoders] Re: Charting...

2008-04-15 Thread Josh McDonald
That doesn't seem right :) Try messing about with the order in which you're setting various properties - perhaps just setting the provider last will do it? Also if that doesn't work, try using callLater() instead of a 1ms timer. -J On Wed, Apr 16, 2008 at 11:40 AM, Rafael Faria <[EMAIL PROTECTED

[flexcoders] Re: Charting...

2008-04-15 Thread Rafael Faria
For some reason if you put a timer to set the dataprovider it work just fine. var loadTimer:Timer = new Timer(1,1); loadTimer.addEventListener("timer", function():void { barchart.dataProvider = chartdata.item }); .start(); Now.. 1 msecond is what it takes to make

Re: [flexcoders] Re: What would cause a Canvas subclass to not clip its content?

2008-04-15 Thread Ben Clinkinbeard
OK, as promised here is the enhancement request, lets see some votes on it. https://bugs.adobe.com/jira/browse/SDK-15307 Rick, I am doing transformations on the SWFLoader in addition to the loaded content to recreate a fairly complex layout requirement. Partly because that is just whats required d

Re: [flexcoders] Best time to do graphics calls?

2008-04-15 Thread Josh McDonald
Ok will do, cheers! -J On Wed, Apr 16, 2008 at 10:47 AM, Gordon Smith <[EMAIL PROTECTED]> wrote: >Best practice is to do your drawing in an override of > updateDisplayList() after calling the supermethod. > > > > Gordon Smith > > Adobe Flex SDK Team > > > -- > >

[flexcoders] SelectedIndex In A Datagrid

2008-04-15 Thread bloodylag
Hey, I have a datagrid which fills out with info via a JSON request. I want to be able to automatically select a row on events that the application throws itself (the datagrid isn't selectable to the user). I have tried to use selectedIndex to no avail. All attempts using validateNow() etc aren'

RE: [flexcoders] Writing text directly to Graphics object.

2008-04-15 Thread Gordon Smith
I think the original poster was looking for something like graphics.drawText("Hello", format); But there are (alas!) no APIs in the Graphics class that know how to render a text string. Only TextField knows how to do that. Gordon Smith Adobe Flex SDK Team __

RE: [flexcoders] Best time to do graphics calls?

2008-04-15 Thread Gordon Smith
Best practice is to do your drawing in an override of updateDisplayList() after calling the supermethod. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Tuesday, April 15, 2008 4:

RE: [flexcoders] Writing text directly to Graphics object.

2008-04-15 Thread Rick Winscot
There is a way to draw a string to an graphical control (i.e. Image) as: private function drawStringOnImage( string:String, image:Image ):void { var t:UITextField = new UITextField(); t.text = string; var b:BitmapData = new BitmapData( t.textWidth, t.textHeight, true, 0x00 );

[flexcoders] Charting...

2008-04-15 Thread Rafael Faria
What am i doing wrong? The chart works fine but there is no effect... not matter what i do it just doesnt play. Can someone help me to apply the Series Slide on this chart?! do i have to do something else? i set the style but doesnt work =/ var bss:SeriesSlide = new SeriesSlide(); bss.duration

RE: [flexcoders] Flexbuilder 2 wont' rebuild my project

2008-04-15 Thread Rick Winscot
>From your project properties window - turn off the html wrapper generation and click ok. Manually delete the bin folder and then reverse the html wrapper step and rebuild. Rick Winscot From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Charlie Hubbard Sent: Tuesday,

RE: [flexcoders] Re: What would cause a Canvas subclass to not clip its content?

2008-04-15 Thread Rick Winscot
I too agree that this is a very useful feature. To the original post - is there any reason that you can't drop back to URLLoader. and when the png comes in (you now have access to the width/height) set its dimensions and invalidate the size of the container? The only reason that any clipping contai

[flexcoders] Best time to do graphics calls?

2008-04-15 Thread Josh McDonald
Hi guys, At the moment (after a bit of messing about with other events), I'm doing my drawing on updateComplete, and it seems to be working fine. I just wanna see if this is the best event to be listening to, or if there's best practice to do custom graphics stuff? Cheers, -J -- "Therefore, se

RE: [flexcoders] Re: Intelligent ViewStack Children

2008-04-15 Thread Rick Winscot
Ok - then here is an approach that will get you started. Components like the view stack use deferred instantiation to help with performance. which means that any control that isn't initially visible hasn't been fully instantiated yet. This means that the 'added to stage' event hasn't fired. and won

[flexcoders] How do I access the ClassFactory property from my chart's custom LineRenderer?

2008-04-15 Thread EddieBerman
I've created a custom LineSegmentRenderer class for my Line Chart. It works fine using a hard-coded color value for the line it draws. However, I want this color value to be dynamic. I've passed a color value property to this class (extended from LineRenderer), but am not understanding how to acces

RE: [flexcoders] Letting parents handle drag events

2008-04-15 Thread Rick Winscot
Troy - drag events are dispatched to what _you_ attach them to. If you want the event to spawn from a child - but be handled by the parent... you should override addChild in the parent and attach the listener there. Your handler will be in the parent and each child will announce whatever event you

[flexcoders] Help using windowsXP theme

2008-04-15 Thread Fidel Viegas
Hi all, I have downloaded the windowsXP theme and wanted to give it a go, but unfortunately I get an error message that I don't know how to handle. I have looked all over the web, and found no solution. I have tried with both sdk2 and sdk3. This is the error I am getting: Error: unable to load S

Re: [flexcoders] Flex 3 purchased version, still displays "Trial" water mark...

2008-04-15 Thread Matt Chotin
You probably need to build the project as clean. Also, you purchased Flex Builder Pro and not standard, right? Only Pro will remove the watermark. Matt On 4/15/08 1:37 PM, "Ilam Mougy" <[EMAIL PROTECTED]> wrote: I downloaded the trial version, worked with it a bit, then I purchased the pa

Re: [flexcoders] Re: MVC - Philosophical question

2008-04-15 Thread Jeffry Houser
Thanks for the explanation. Troy Gilbert wrote: > > > > I've always viewed the service layer as part of the model. It exposes > > "model" functionality through an API. > > I don't know if its "right" or "wrong", but I tend to adhere more to a > MVCS style of architecture, or even Model-Pre

RE: [flexcoders] arrays and indexof()

2008-04-15 Thread Gordon Smith
It works properly for me. I get four alerts with "Test this 2", "Test this -1", "Test this 2", and "Test this -1". By the way, since Alert.show() simply puts up the alert and returns, they stack up on top of each other and the topmost alert is from the last call to Alert.show(). You claim that

Re: [flexcoders] Re: MVC - Philosophical question

2008-04-15 Thread Troy Gilbert
> I've always viewed the service layer as part of the model. It exposes > "model" functionality through an API. I don't know if its "right" or "wrong", but I tend to adhere more to a MVCS style of architecture, or even Model-Presentation-Service architecture. I could certainly see the view that

Re: [flexcoders] Custom Cursors causing slowdown

2008-04-15 Thread Troy Gilbert
> I wondered if anyone else had experienced similar issues? What you're seeing is your app's actual framerate. Nothing is going slower. Here's why... If you don't specify any custom cursors, Flash just uses the OS's cursor and let's the OS do its standard thing of drawing it (which all modern OS

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

2008-04-15 Thread gabriel montagné
On Tue, Apr 15, 2008 at 8:23 AM, Daniel Gold <[EMAIL PROTECTED]> wrote: > I probably do a little more work in views than other people. Our commands > have a great deal of logic but most of that is for client/server > communication. We have a fairly large application where most of the model > data i

[flexcoders] Auto Scrolling List control

2008-04-15 Thread robert_ramirez44
Does anyone know how to scroll through a list of records rather than page them?

[flexcoders] Re: Building with ant

2008-04-15 Thread robert_ramirez44
--- In flexcoders@yahoogroups.com, "skitj5558" <[EMAIL PROTECTED]> wrote: > Here is a is a working ANT file for AMFPHP. Just ignore the config-services stuff, that is for AMFPHP. - - - - - - - - - - -

RE: [flexcoders] pulling my hair out with e4x!!!

2008-04-15 Thread Tracy Spratt
When displaying XML, always use toXMLString(). The behavior you are seeing with toString() which is what trace uses, is actually comformant with ECMA. trace(myXML.toXMLString()); Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behal

[flexcoders] arrays and indexof()

2008-04-15 Thread Ramsey, Robert L
I think I'm being very dumb here, but the indexof() function doesn't seem to work as advertised. I'm working with Flex3. Here's a simplified version of the code: var s:int = new int; var i:int = new int; var l:int = new int; var aYears:Array = new Array("2002", "2003", "2004", "2005"); var o:Obj

[flexcoders] Re: graphics object seems to degrade performance

2008-04-15 Thread Eric Cooper
John, This is helpful. I am not dealing with complex polygons. Rather, I am dealing with triangles and quadrilaterals. I am calling out to a C++ server that includes code that helps maintain constraints within and between my polygons (e.g., perpendicular, concentric, congruence, etc.). This mea

[flexcoders] Building with ant

2008-04-15 Thread skitj5558
Hi, I am new to Flex and have been working to create an ant build that will automate the build process used by the flex builder plugin for eclipse. I am having problems generating a workable swf from my project in ant, when the same source works fine when built with Eclipse. Here are the details

[flexcoders] Re: graphics object seems to degrade performance

2008-04-15 Thread Eric Cooper
Thanks, Troy. I am using alpha currently, and think that I will be able to use various matrix manipulations when I get there. I am drawing to a Canvas. I think that I will be exploring bitmap caching shortly. But if it starts looking like I will need to manage my own dirty rectangles then I wi

RE: [flexcoders] Re: graphics object seems to degrade performance

2008-04-15 Thread Gordon Smith
> Btw, is there any way to inspect the graphics object to see the drawing commands that it has? Unfortunately, no. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Eric Cooper Sent: Tuesday, April

[flexcoders] Re: graphics object seems to degrade performance

2008-04-15 Thread Eric Cooper
Thank, Tom. Perhaps I should have started by extending DisplayObject. At this point, that would be a bit of a slog. I may end up resorting to that, but would like to try other avenues first. --- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > On Tuesday 15 Apr 2008,

[flexcoders] Re: graphics object seems to degrade performance

2008-04-15 Thread Eric Cooper
Thanks. Yes, that one got me when I first started -- and took me a few days to realize what was happening. Btw, is there any way to inspect the graphics object to see the drawing commands that it has? --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Also make sur

[flexcoders] Re: FLEX App to AIR App » flashvars question

2008-04-15 Thread Abyss Knight
I would imagine the best way to do this would be to convert your flashvar to a simple HTTPService call which fetches the XML via the network. As far as I know, AIR applications do not accept flashvars because they are not embedded in a wrapper. -- William --- In flexcoders@yahoogroups.com, "Chri

Re: {Disarmed} Re: [flexcoders] SWFLoader not scaling properly

2008-04-15 Thread Austin Kottke
This stretches the entire movie and makes it distort incorrectly. I need the content to scale correctly using scale 9, not stretching. - Austin John McCormack wrote: In the constructor try stage.scaleMode = StageScaleMode.EXACT_FIT; and in the Flex Navigator right click the project and choose

[flexcoders] Re: Programmatic scrolling of a TileList?

2008-04-15 Thread djbrown_rotonews
anyone? :) --- In flexcoders@yahoogroups.com, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote: > > > I've got a tile list component that I want to be able to scroll > through horizontally without the visual presence of the scroll bars > themselves. I've got a set of arrows that the user can clic

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

[flexcoders] Flex 3 purchased version, still displays "Trial" water mark...

2008-04-15 Thread Ilam Mougy
I downloaded the trial version, worked with it a bit, then I purchased the package. I put the serial number but I am still having the Trial water mark on the charts. I uninstalled and installed from the DVD, still I have the water mark issue. I can't imagine I am the only one who did that and ha

RE: [flexcoders] RegExp searching for [ and ], are they reserved?

2008-04-15 Thread Gordon Smith
I'm confused... why isn't your pattern something like "\[.*]\]" ? What's going on with the ^ and the > ? What is supposed to match against letters like E, m, p, l, etc.? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTE

RE: [flexcoders] Get Key Value Pair from an Object

2008-04-15 Thread Gordon Smith
Use "for-in", not "for-each-in". Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gjessup1 Sent: Tuesday, April 15, 2008 1:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Get Key Value Pair

[flexcoders] Re: Reading & Parsing Large XML File . . .

2008-04-15 Thread Ilam Mougy
Large XML data in Flash player have lots of issues. I thoroughly investigated the issue and I posted a bug here (https://bugs.adobe.com/jira/browse/SDK-15113). It shows that you can't repeatedly download more than 3M of xml and have your browser stable, it will crash. There are leaks when you co

Re: [flexcoders] Community help needed - NYC Flex training USA

2008-04-15 Thread Anatole Tartakovsky
Nick,Most of our training in NYC are for client companies. The next public one is the week of June 2nd - http://www.eventbrite.com/event/109578753 Regards, Anatole Farata Systems On Tue, Apr 15, 2008 at 2:11 PM, nickc316rocks <[EMAIL PROTECTED]> wrote: > Hi All, > > Can the flexcoders comm

[flexcoders] Get Key Value Pair from an Object

2008-04-15 Thread gjessup1
I have an array of objects that gets returned and handled in an event. Once I determine that I need the values in Array[0]...I need to loop through my Object located at Array[0] and get the key value pairs. I am trying to do this for each(var o:String in myobj) { tra

Re: [flexcoders] RegExp searching for [ and ], are they reserved?

2008-04-15 Thread Derrick Anderson
i had tried escaping them, below i've pasted an example of my problem- 2 samples: 1 looking for [Employee First Name] and one looking for {Employee First Name} (curly braces vs square braces) and even though the brackets are escaped, the regex with [ and ] only return the ending ]. do i have the

RE: [flexcoders] pulling my hair out with e4x!!!

2008-04-15 Thread Gordon Smith
> wondering why toXMLString is not the default string representation of an XML object I believe our implementation follows the E4X spec. I don't know why the spec committee designed it this way. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogr

RE: [flexcoders] RegExp searching for [ and ], are they reserved?

2008-04-15 Thread Gordon Smith
[ and ] are metacharacters in RegExp patterns. For example, "[abc]" matches either "a", or 'b" or "c". To prevent this interpretation, escape them with a backslash. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

[flexcoders] Re: Differences between SDK 2.0.1 and SDK 3

2008-04-15 Thread Robert Csiki
Thank you Joan, then I think we'll just have to discover the undocumented one as we go... -Robert --- In flexcoders@yahoogroups.com, "Joan Lafferty" <[EMAIL PROTECTED]> wrote: > > Robert, > > > > This is about the most complete list that we have. We must have missed > this change. > > > > Joan

Re: [flexcoders] pulling my hair out with e4x!!!

2008-04-15 Thread Daniel Gold
toXMLString is almost always the way to go. I hit a major problem related to that early on in our application. I was passing XML objects to the server in an httpService.send(xml), this method will call toString on the objects you pass it to shove them in the HTTP parameters. if you have no children

[flexcoders] Custom Cursors causing slowdown

2008-04-15 Thread dave_defusion
I'm experience an odd situation where when I have added a custom cursor the mouse movement is noticeably slower (although not massively obvious - although a colleague did point it out while testing the app). I've looked through my code and put traces everywhere and nothing is being called excessive

RE: [flexcoders] Define format for new text in a TextArea

2008-04-15 Thread Gordon Smith
What exactly do you mean by "future" text? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Tuesday, April 15, 2008 11:58 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders]

[flexcoders] RegExp searching for [ and ], are they reserved?

2008-04-15 Thread Derrick Anderson
hey all, i'm trying to do a replace on a string and replace anything in brackets with something else. so [this] word would get replaced, however in the regex tester at gskinner this works fine (it's flex based regex test tool) but in my local code- i always get unexpected results when my regex ex

RE: [flexcoders] pulling my hair out with e4x!!!

2008-04-15 Thread Gordon Smith
You probably want to use toXMLString() rather than toString(). Note that the cause of your problem wasn't in the code that you posted. That's a reason why it's best to post a complete non-working sample. Gordon Smith Adobe Flex SDK Team From: flexcoder

[flexcoders] How to close current windows?

2008-04-15 Thread markflex2007
Hi, Javascript 'window.close()' will close current. I need close current window from Flex.that mean I need a function in Flex to the javascript. Please give me a idea how to do this. Thanks Mark

[flexcoders] FLEX App to AIR App » flashvars question

2008-04-15 Thread Chris Simeone
I'm converting a Flex app to an AIR app. The current flex app uses the SWFObject inthe html template to pass in flashvars... var so = new SWFObject("myappp.swf", "myappp", "${width}", "${height}", "9.0.115"); so.addVariable("XMLData", getXML(document.getElementById("MyXMLData"))); so.w

Re: [flexcoders] pulling my hair out with e4x!!!

2008-04-15 Thread Derrick Anderson
yes, i tried it and have it working now- mostly user error but I must say not being able to debug e4x expressions has ruined my day on many occasions. i was using toString on the xml list, thinking it would show me the xml node it found and children (if any), toString was returning nothing and a l

[flexcoders] Re: BindingUtils question

2008-04-15 Thread Dominic Pazula
Got it! Thanks again for the help. --- In flexcoders@yahoogroups.com, "Daniel Gold" <[EMAIL PROTECTED]> wrote: > > so I'm guessing your constructor is setting these properties from XML? If > you bind to a read only property of an Object, the binding will fire when > object reference changes, s

RE: [flexcoders] Re: graphics object seems to degrade performance

2008-04-15 Thread Alex Harui
Also make sure you are calling graphics.clear() before re-drawing all of your graphic commands. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Eric Cooper Sent: Monday, April 14, 2008 9:23 PM To: flexcoders@yahoogroups.com Subject: [fle

RE: [flexcoders] Re: Custom preloader bug

2008-04-15 Thread Alex Harui
CREATION_COMPLETE is passed to each UIComponent before INIT_COMPLETE tells the preloader to go away. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of maximecowez Sent: Tuesday, April 15, 2008 5:13 AM To: flexcoders@yahoogroups.com Subject

RE: [flexcoders] Define format for new text in a TextArea

2008-04-15 Thread Alex Harui
Use RichTextEditor instead From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Flap Flap Sent: Tuesday, April 15, 2008 6:54 AM To: FlexCoders Subject: [flexcoders] Define format for new text in a TextArea Hi there, I need to have a beh

Re: [flexcoders] pulling my hair out with e4x!!!

2008-04-15 Thread Daniel Gold
I've never used the attribute syntax you're using, so I'm not familiar with it, but in your first employee example this syntax returned the matching node, have you tried it? debugModel.employees.node.(@display == "Employee First Name") looks like you added another level in your latest example so

RE: [flexcoders] Specify RLS's at runtime?

2008-04-15 Thread Alex Harui
You should use Modules. See ModuleManager/ModuleLoader. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aut0poietic_us Sent: Tuesday, April 15, 2008 11:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Specify RLS's at runtime?

Re: [flexcoders] Re: BindingUtils question

2008-04-15 Thread Daniel Gold
so I'm guessing your constructor is setting these properties from XML? If you bind to a read only property of an Object, the binding will fire when object reference changes, so if it was null and then you created the object the binding would fire once. If you have a method on the object that update

[flexcoders] with itemRenderer

2008-04-15 Thread tchredeemed
I have a list that has an itemRenderer. The footer of the itemRenderer can be dragged up or down in order to show/hide data. I want to be able to drag that without triggering the dragHandler for the list. In other words, I want to be able to drag an item from anywhere except the footer to move

[flexcoders] Re: Best .NET AMF Implimentation?

2008-04-15 Thread redden96
I have found WebORB very easy to install and implement in my application. I love the interface, tutorials, and documentation. They have made it very easy to figure out what your options are for integration and so far I've found it to be quite flexible. Mark Pillar, the founder of The Midnight Code

Re: [flexcoders] Best .NET AMF Implimentation?

2008-04-15 Thread Samuel Neff
We're extremely happy with Fluorine. Especially having source code available so we can step through the serialization/deserialization has helped tremendously (even just as a learning tool so you know exactly how AMF works). Sam On Tue, Apr 15, 2008 at 11:52 AM, Nate Pearson <[EMAIL PROTECTED]>

RE: [flexcoders] Re: handling scope of functions inside an itemrender

2008-04-15 Thread Tracy Spratt
Search the help docs for outerDocument. Google: dispatch event from itemRenderer bubble Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason B Sent: Tuesday, April 15, 2008 1:39 PM To: flexcoders@yahoogroups.com Subject: [

Re: [flexcoders] Re: Default Background Color for Preloader

2008-04-15 Thread Maciek Sakrejda
That should do it. The # is a comment character, so if you leave it unquoted (and unescaped), everything after it (including the pound sign itself) is considered a comment. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: maximecowez <[EMAIL PROTECTED]> Re

[flexcoders] Re: SOAP Web Services not working in Flash Player 9.0.124.0

2008-04-15 Thread ben.clinkinbeard
If you're using .NET Web Services there are most likely SOAPAction headers involved, which is one of the recently blocked header types. You don't need anything to do with sockets, you probably just need to add something like this to your crossdomain.xml file: HTH, Ben --- In flexcoders@yahoogr

[flexcoders] Re: BindingUtils question

2008-04-15 Thread Dominic Pazula
Thanks for the information. I am in the process of moving what I can to typed classes. Unfortunately that data comes from our server component and it will take a while before our Java guy can get to it on his end. One last question. I have a custom class, extends EventDispatcher, declared a

[flexcoders] Community help needed - NYC Flex training USA

2008-04-15 Thread nickc316rocks
Hi All, Can the flexcoders community help us locate the best Flex training course in New York City? The adobe site and the WWW list the following as potentials: figleaf.com, fmctraining.com, webucator.com, and trainsimple.com. It would be great to know if you recommend any of these or know

Re: [flexcoders] How do i split up a very large MXML?

2008-04-15 Thread Jeffry Houser
Use MXML Components! I'd start with the Flex documentation on creating + using components and go from there. Jason B wrote: > > > ive got 5000 lines of mxml and im a month away from finishing how the > heck can i seperate this up. > i tried modules but then its very difficult to handle pass

[flexcoders] Specify RLS's at runtime?

2008-04-15 Thread aut0poietic_us
I'm in the process of designing an application which will require multiple components that can be switched out of the main application -- call them plug-ins. I've been building this in AS2 using SWF's compiled with the needed classes and a "manifest" of the classes it contains to be instantiated

Re: [flexcoders] pulling my hair out with e4x!!!

2008-04-15 Thread Derrick Anderson
thanks guys, i'm sure that my xml is valid, i've refined what i'm trying to do here a bit public var debugModel:XML = ... what i'm trying to do is find any node that has a certa

Re: [flexcoders] Re: Best .NET AMF Implimentation?

2008-04-15 Thread Jeffry Houser
I had problems because IIS was not properly "speaking" to .NET 2. There was some "reset" type command that I used to get it working. Once I got that problem addressed, I had no issues. I'm comfortable saying that the above problem was not due to WebORB. Nate Pearson wrote: > > > Is it h

Re: [flexcoders] How do i split up a very large MXML?

2008-04-15 Thread dnk
Just section it off into custom components. Pretty trivial to do. Dnk On 15-Apr-08, at 10:57 AM, Jason B wrote: ive got 5000 lines of mxml and im a month away from finishing how the heck can i seperate this up. i tried modules but then its very difficult to handle passing data right now my

[flexcoders] How do i split up a very large MXML?

2008-04-15 Thread Jason B
ive got 5000 lines of mxml and im a month away from finishing how the heck can i seperate this up. i tried modules but then its very difficult to handle passing data right now my project contains many tabs and lots of objects and tabs under those. its getting quite large please anyone?

[flexcoders] SOAP Web Services not working in Flash Player 9.0.124.0

2008-04-15 Thread byte.sensei
OK, I've been reading all the web content on the security changes that were implemented in 9.0.124.0. I'm more confused than ever. The security updates seem to apply to XMLSockets, and I'm not using these *unless* they are implicitly used by SOAP Web Services. Here is an example of web servi

Re: [flexcoders] Re: What would cause a Canvas subclass to not clip its content?

2008-04-15 Thread Doug McCune
Being able to set clipContent to false is very useful. Even if there was an additional flag to force clipping at all times, I would also want to ability to turn off clipping at all times (which is what clipContent="false" already does). Doug On Tue, Apr 15, 2008 at 10:43 AM, esaltelli <[EMAIL PRO

[flexcoders] messaging to a specific client

2008-04-15 Thread netdeep
I want to send a message to a specific client with messaging. The closest thing I could find was this method from the API: --- pushMessageToClients public void pushMessageToClients(Set subscriberIds, Message message, boolean evalSelector) This method is not inv

  1   2   3   >