Re: [flexcoders] Re: Show progress while using for()

2008-09-08 Thread Josh McDonald
http://blogs.adobe.com/aharui/2008/01/threads_in_actionscript_3.html On Tue, Sep 9, 2008 at 4:26 PM, itdanny2002 <[EMAIL PROTECTED]> wrote: > > You can set a public variable to keep the progress > within your for() loop and then before running the > routine, create SetTimeOut() loop to get the va

[flexcoders] Re: Dynamic destination of remote object?

2008-09-08 Thread Cato Paus
channel = new AMFChannel('my-amf', 'http://{server.name}: {server.port}/flex/messagebroker/amf'); in your as file. --- In flexcoders@yahoogroups.com, "xmwang1982" <[EMAIL PROTECTED]> wrote: > > Hi, > > So far as I know all destinations of remote object must be defined in > remote-cofig.xml. >

[flexcoders] Dynamic destination of remote object?

2008-09-08 Thread xmwang1982
Hi, So far as I know all destinations of remote object must be defined in remote-cofig.xml. Can we do it by programming? If we could set destination properties in code, it is much more flexible. Anybody knows how to do that? Here is my code for dynamic channel setting:

[flexcoders] Re: Show progress while using for()

2008-09-08 Thread itdanny2002
You can set a public variable to keep the progress within your for() loop and then before running the routine, create SetTimeOut() loop to get the value.

Re: [flexcoders] Hi

2008-09-08 Thread Robert Thompson
Nancy, We might be talking about different things. (1) Under the FLEX 2.0 examples, you could, for example, go to the FLEX Style Explorer, http://www.adobe.com/devnet/flex/samples/style_explorer/ (2) Then click on "Experience the application" which leads you to here, http:

[flexcoders] Re: Show progress while using for()

2008-09-08 Thread Cato Paus
--- In flexcoders@yahoogroups.com, "Cato Paus" <[EMAIL PROTECTED]> wrote: > > Hi all :) > > I have a text file that i put into flex. I do some parising on the > data, I use the for() logic, but I would like to show/use the prgressBar > (i,fileData.length) but it seems the for() have to complete!

[flexcoders] avoid red-eye effect library in photographs made in actionscript - possible?

2008-09-08 Thread slackware2142
Hi, is possible the subject? Is there any library/algorithm to avoid the red eye effect in a photograph made in actionscript? I'm working on AIR, so access to file system is covered. If not, has any of you tried some library/solution? Any help/link/idea is welcome. I'm making my research on this b

[flexcoders] Show progress while using for()

2008-09-08 Thread Cato Paus
Hi all :) I have a text file that i put into flex. I do some parising on the data, I use the for() logic, but I would like to show/use the prgressBar (i,fileData.length) but it seems the for() have to complete! and then all the data just comes in one big bang!

Re: [flexcoders] Is it possible to increase the heigth and width of scroll bars in any container?

2008-09-08 Thread anuj sharma
Hi Alex Thanks a lot for the reply. What exactly is IIRC? I googled it but could not find enough good resources. Do you have any article which clears the concept of IIRC. I would appreciate if you can give some more info/links. Again many many Thanks Anuj On Mon, Sep 8, 2008 at 5:17 PM, Alex Harui

Re: [flexcoders] Re: turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-08 Thread Josh McDonald
Not much dispatches a bubbling ADDED_TO_STAGE event IIRC :( However, Container extends UIComponent, so you could use UIComponent.mx_internal::dispatchEventHook. But make sure you chain (!!), and you can't complain when Alex breaks your code in FX 4 :) -Josh On Tue, Sep 9, 2008 at 3:25 PM, Alex H

RE: [flexcoders] Re: turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-08 Thread Alex Harui
How about (untested): systemManager.addEventListener(Event.ADDED_TO_STAGE, noscrollbarshandler, true); function noscrollbarshandler(event:Event):void { If (event.target is Container) { horizontalScrollPolicy = verticalScrollPolicy =

Re: [flexcoders] Re: turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-08 Thread Doug McCune
Could you just use a global CSS stylsheet that set all the scrollbar skins to an empty skin (ProgrammaticSkin) by default, and then you would have to change the style specifically for any components you wanted to actually have scrollbars? Dunno if that would really work or not... Doug On Mon, Sep

[flexcoders] Bug ? IE & FireFox Menubar

2008-09-08 Thread itdanny2002
I write a very simple with a TextInput Box. On IE, I can use "Tab" to move around IE menubar and my application. But, when I press ALT-D to address bar, I can't use any method to go it back to my application except use a mouse to click it. On FireFox, I cannot use hotkey such as ALT-F to access

Re: [flexcoders] Re: turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-08 Thread Brendan Meutzner
Agree here as well... On Mon, Sep 8, 2008 at 9:47 PM, Tim Hoff <[EMAIL PROTECTED]> wrote: > I agree, a lot of time can be wasted looking through nested > containers trying to find a scrollbar culprit. wishlist? > > -TH > > > --- In flexcoders@yahoogroups.com , "Tracy > Spratt" <[EMAIL PROTECTE

Re: [flexcoders] Hi

2008-09-08 Thread Nancy Gill
virus signature database 3426 (20080908) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Re: [flexcoders] SEO and Flash content

2008-09-08 Thread Robert Thompson
Josh could you detail the googlebot and expand on what you write below? -r On Sep 8, 2008, at 10:19 PM, Josh McDonald wrote: Google most definitely re-indexes from various different data- centres (read: class B addresses) and I'm sure also occasionally using random real user-agents, and wi

Re: [flexcoders] Hi

2008-09-08 Thread Robert Thompson
Yes I've noticed that for nearly every other app. But not this one, http://examples.adobe.com/flex3/componentexplorer/explorer.html I've tried in on Firefox and Safari. -r On Sep 8, 2008, at 5:11 PM, Paul Andrews wrote: - Original Message - From: Robert Thompson To: flexcoders@yaho

Re: [flexcoders] SEO and Flash content

2008-09-08 Thread Aaron Miller
Don't return different content to Google or other spiders. Instead, always print the SAME text content hidden behind the swf. Google will index this content just fine and people without flash will also have access to the content. I have confirmed with someone at Google that this is an acceptable pr

Re: [flexcoders] Framework RSLs -- Any Reason Not To Use? Any Problems Related to Their Use?

2008-09-08 Thread Matt Chotin
We're thinking about it but no immediate plans. We don't need a common location for caching, so I think the need is reduced a little bit. I also wonder what those JS libraries do, in theory if they're loaded from different domains they're not allowed to interact with the HTML page due to secur

[flexcoders] Re: Issue when converting HashMap(Java) into Object (ActionScript)

2008-09-08 Thread dmiramontesval
So according to your explanation if i do something like (is B) or (is C), those classes will be included into my SWF I am no longer at the office but tomorrow that will be the first thing i will try. I have used the C object in other modules of the application so i am not really positive that

[flexcoders] Re: turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-08 Thread Tim Hoff
I agree, a lot of time can be wasted looking through nested containers trying to find a scrollbar culprit. wishlist? -TH --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > I do understand. Maybe I should be more pro-active, but often my apps > reach a point where

RE: [flexcoders] turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-08 Thread Tracy Spratt
I do understand. Maybe I should be more pro-active, but often my apps reach a point where the best way to make sense of the scrollbar behavior is to turn them off everywhere. I, too. would prefer the scroll policies to be off by default. Tracy From: flexc

Re: [flexcoders] SEO and Flash content

2008-09-08 Thread Josh McDonald
Google most definitely re-indexes from various different data-centres (read: class B addresses) and I'm sure also occasionally using random real user-agents, and will punish sites which consistently return "A" to googlebot and "B" to browsers. They'd be fools not to, and they hire a *lot* of very s

Re: [flexcoders] repairing pixelation on resized photos

2008-09-08 Thread David Pariente
thnx, i will take a look and try :) - Mensaje original De: Guy Morton <[EMAIL PROTECTED]> Para: flexcoders@yahoogroups.com Enviado: martes, 9 de septiembre, 2008 0:18:26 Asunto: Re: [flexcoders] repairing pixelation on resized photos You need to turn on bitmap smoothing. Look at the B

Re: [flexcoders] SEO and Flash content

2008-09-08 Thread Alan
I had a meeting with ( forgot his name ) from Adobe and he gave me the scoop. You will not be able to determine ( legally ) if and when your .swf is being indexed. You can't even get a report on how successful / unsuccessful the spider was in crawling your .swf There are no 'best practic

RE: [flexcoders] turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-08 Thread Boon Chew
Thanks, good advice. - boon --- On Mon, 9/8/08, Alex Harui <[EMAIL PROTECTED]> wrote: From: Alex Harui <[EMAIL PROTECTED]> Subject: RE: [flexcoders] turn horizontalScrollPolicy and verticalScrollPolicy off for all To: "flexcoders@yahoogroups.com" Date: Monday, September 8, 2008, 5:44 PM

RE: [flexcoders] turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-08 Thread Boon Chew
It's kinda a pain to have to subclass every single container used in the app just to turn the policy to off.  I was hoping that for policy-based stuff we have an app-wide setting, like Application.application.scrollPolicy = "no" that can be overrided by individual containers. Lazy programmers

[flexcoders] SEO and Flash content

2008-09-08 Thread arieljake
I was wondering what it takes for the server to realize that a request is coming from Google's indexing machines so that text can be output instead of a Flex app. Also, do we need to be careful doing this to not get in trouble with Google? Are their best practices to follow when we output the text

RE: [flexcoders] function / method argument validation

2008-09-08 Thread Alex Harui
If he really wanted, I think he could define the type to do the range checking. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews Sent: Monday, September 08, 2008 5:42 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] function / method argument validat

RE: [flexcoders] turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-08 Thread Alex Harui
Or don't use Container. Make sure you need some feature of Container (border, background, clipping) or else you might really want to use UIComponent. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Monday, September 08, 2008 5:36 PM To: flexcoders@yaho

Re: [flexcoders] function / method argument validation

2008-09-08 Thread Paul Andrews
- Original Message - From: Alex Harui To: flexcoders@yahoogroups.com Sent: Tuesday, September 09, 2008 1:21 AM Subject: RE: [flexcoders] function / method argument validation Instead of defining a function, you could define an interface But it still wouldn't have a range c

RE: [flexcoders] turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-08 Thread Gordon Smith
Subclass the containers to set the policies to "off" and use the subclasses instead. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Boon Chew Sent: Monday, September 08, 2008 5:26 PM To: flexcoders Subject: [flexcoders] turn horizontalSc

Re: [flexcoders] Re: Issue when converting HashMap(Java) into Object (ActionScript)

2008-09-08 Thread Josh McDonald
Then the problem is with your definition of C, and it's being unmarshalled incorrectly. That's basically what I was trying to say, but I think I explained it poorly. When you make no explicit reference to the class C it is never included in your SWF, so the remoting system never sees the [RemoteOb

[flexcoders] turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-08 Thread Boon Chew
Hi, Is there a quick way to turn off horizontalScrollPolicy / verticalScrollPolicy or prevent them from showing up once and for all for all containers in an app without resorting to patching? - boon

RE: [flexcoders] datagrid, itemrenderer images and events, . looking for a solution

2008-09-08 Thread Alex Harui
ITEM_ROLL_OVER event? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sanjay Hora Sent: Monday, September 08, 2008 11:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] datagrid, itemrenderer images and events, . looking for a solution Hi, My custom itemRendere

RE: [flexcoders] function / method argument validation

2008-09-08 Thread Alex Harui
Instead of defining a function, you could define an interface From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Monday, September 08, 2008 3:10 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] function / method argument validation No, AS3 doesn

Re: [flexcoders] Re: Changing Root Node attributes

2008-09-08 Thread Josh McDonald
Must simply be a restriction of your original source ( or or something). Glad to have helped! Double check the docs for whatever source you used, and if it makes no mention of un-modifiable attributes in the root node, add a comment to the docs or file a bug with Adobe, and you'll save somebody el

RE: [flexcoders] Is it possible to increase the heigth and width of scroll bars in any container?

2008-09-08 Thread Alex Harui
IIRC, scrollbars size to their skins so make the skins bigger and the SB should be bigger, but if you want to go smaller than 16, it is a lot of work. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of anuj181 Sent: Monday, September 08, 2008 3:54 PM To: flexcoders@yahoogroup

[flexcoders] Re: Issue when converting HashMap(Java) into Object (ActionScript)

2008-09-08 Thread dmiramontesval
I don't think that is what's happening, when i use "if (i is B)" the condition does work, it enters the if block but it resets the C object. I tried a new thing, on B i changed the myC declaration public var myC:Object; // Object instead of C By doing this i can use if (i is B) and now it doesn'

[flexcoders] Re: Changing Root Node attributes

2008-09-08 Thread Rafael Faria
LEGEND! :P It actually works using .copy() :P not sure if the right way thou, but look what i've done and let me know if there is another way to do that. var rootNode:XML = XML(tree.dataProvider); var cloneXML:XML = rootNode.copy(); [EMAIL PROTECTED] = Number(rootNode.attribute('sid').toXMLStri

RE: [flexcoders] Alert error loading Flickr geo feed into XML object

2008-09-08 Thread Alex Harui
The XML is parsed by Actionscript in the XML constructor. Usually this error means that the namespace is not yet defined. Is there an xmlns:georss? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bennettberlin Sent: Monday, September 08, 2008 2:34 PM To: flexcoders@yaho

Re: [flexcoders] Re: Issue when converting HashMap(Java) into Object (ActionScript)

2008-09-08 Thread Josh McDonald
Sounds to me like you're accidentally declaring b.myC as a static, perhaps. Actually, double check your examples (perhaps using the link report option on MXMLC). It might be that you're not actually referencing B and it's not becoming part of your SWF, in which case you're getting a "best guess" o

[flexcoders] Re: Issue when converting HashMap(Java) into Object (ActionScript)

2008-09-08 Thread dmiramontesval
Um actually my example is wrong, i was missing something, let me explain again: I have 3 classes as a matter of fact, classes A and B are correct but i forgot to mention that inside B there is an object C: [RemoteClass(alias="com.test.B")] public class B { public var id:Number; public var nam

Re: [flexcoders] Re: Changing Root Node attributes

2008-09-08 Thread Josh McDonald
Can you change other nodes? It could be something to do with the source of your XML... Perhaps you can .copy() it first? -Josh On Tue, Sep 9, 2008 at 9:38 AM, Rafael Faria <[EMAIL PROTECTED]>wrote: > That's the thing. I thought it would but it doesnt. > > No idea why i can't change the root node

[flexcoders] Re: Changing Root Node attributes

2008-09-08 Thread Rafael Faria
That's the thing. I thought it would but it doesnt. No idea why i can't change the root node of the xml. Any other suggestion?! raf --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > Have you tried: > > [EMAIL PROTECTED] = "59"; > > And it didn't work? > > -Jo

[flexcoders] Streaming images

2008-09-08 Thread tloqueh
I'm tryng to make a "desktop-share" app with flex, java and red5, I have a java program that captures the screen and saves it to a jpeg file, but now, I'd like to stream a set of images captured by my java program to a NetStream but... I don't know how to do it, How can I stream images to my serv

Re: [flexcoders] Re: Issue when converting HashMap(Java) into Object (ActionScript)

2008-09-08 Thread Josh McDonald
Right, I see. I suppose you may be doing something funky in the constructor for your actual impl of A or B. Try commenting out the constructor and see if you have the same problem. -Josh On Tue, Sep 9, 2008 at 9:17 AM, dmiramontesval <[EMAIL PROTECTED]>wrote: > They keys in the Java map are Stri

[flexcoders] Re: Issue when converting HashMap(Java) into Object (ActionScript)

2008-09-08 Thread dmiramontesval
They keys in the Java map are Strings and the values are B objects, you could say it is HashMap. So suppose in Java i do this: A objectA = new A(); objectA.myMap = new HashMap(); B objectB1 = new B(); objectB1.id = 1; objectB1.name = "Test"; myMap.put("key1", objectB1); In Flex if i iterate over

Re: [flexcoders] Issue when converting HashMap(Java) into Object (ActionScript)

2008-09-08 Thread Josh McDonald
The problem I think is you're using the wrong data structures. If your Java map looks like this: HashMap myMap; What you'll get in Flex isn't what you've got below, it's an object like this: var mymap : Object = { 1: "String 1", 2: "String 2", 79: "Blue" } Not the structure tha

[flexcoders] Is it possible to increase the heigth and width of scroll bars in any container?

2008-09-08 Thread anuj181
Hi Guys I have a general question. In general any scroll bar in container(either VBOX or HBOX etc)is (by default)16 pixels wide. Is it possible to change the width and height of any scroll bar for in built containers. Also for styling those scroll bars and scroll er within the container do i have t

[flexcoders] Issue when converting HashMap(Java) into Object (ActionScript)

2008-09-08 Thread dmiramontesval
I have this weird issue and i can't figure it out, let me explain: I have a java object A which has a HashMap variable myMap, this map will hold objects of class B. In ActionScript i have the corresponding class A which has a variable myMap but since there is no HashMap in ActionScript its type is

Re: [flexcoders] How to terminate construction

2008-09-08 Thread Josh McDonald
IIRC, if you throw an error from the constructor the object will still be instantiated but not constructed: ie, memory allocated, instance initialisers run (the code after the "=" in "public var memberVariable : Object = " but the constructor function will be aborted, and there'll be no referen

Re: [flexcoders] repairing pixelation on resized photos

2008-09-08 Thread Guy Morton
You need to turn on bitmap smoothing. Look at the BitMap class in the help docs. eg var bitmap:Bitmap = imageObject.content as Bitmap; bitmap.smoothing = true; On 09/09/2008, at 12:16 AM, David Pariente wrote: Hello, On my website i have lots of pics that i load and then resize to fi

Re: [flexcoders] passing objects to amfphp browser

2008-09-08 Thread dnk
On 8-Sep-08, at 1:55 PM, dnk wrote: > has anyone had any luck passing objects to the amfphp browser for > testing classes? I read a few articles that you need to use valid JSON > for passing in > > So I am typing in something like: > > {id: 3, category: 'a cat'} > > Has anyone been able to do

RE: [flexcoders] function / method argument validation

2008-09-08 Thread Gordon Smith
No, AS3 doesn't support this. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rss181919 Sent: Monday, September 08, 2008 11:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] function / method argument validation Let's say I have

[flexcoders] Re: Embedding SWF with Assets & Code

2008-09-08 Thread nathanpdaniel
I don't think you can use Embed with a dynamic path (you can't embed at run time)... also, what exactly do you mean by: > I managed to get this to work using a bindable variable, but ... :D --- In flexcoders@yahoogroups.com, Sceneshift <[EMAIL PROTECTED]> wrote: > > > Hi guys, > > I'm trying to

[flexcoders] Embedding SWF with Assets & Code

2008-09-08 Thread Sceneshift
Hi guys, I'm trying to embed a SWF into my Flex project so that I can use the library symbols with the code intact. I would also like the path of the embed to by dynamic, something like this perhaps: [Embed[source="{swf_path}"]]; I managed to get this to work using a bindable variable, but I ha

[flexcoders] Re: Framework RSLs -- Any Reason Not To Use? Any Problems Related to Their Use?

2008-09-08 Thread nathanpdaniel
You may also look out for an issue we ran into. The path to our framework RSL was not the default (same folder as main app swf). For some reason when compiling on FB3, we would get framework RSLs in both the path we wanted and the default (same folder as main app swf). The framework RSLs in

[flexcoders] datagrid, itemrenderer images and events, . looking for a solution

2008-09-08 Thread Sanjay Hora
Hi, My custom itemRenderer shows an image in the first column of my datagrid when mouseover happens. I need to know the index of the underlying data (basically image on which row was clicked) when the image is clicked but I am not sure how to get it. Is there any way to do it without making the en

[flexcoders] function / method argument validation

2008-09-08 Thread rss181919
Let's say I have the following call s myvar = myfuntion (arg1:x) Of course arg1 must be of type x or you get a compile time error. Is there any way to force arg1 to be of a certain value range within type x and have it checked at compile time? For example, is there a way to create a group of

[flexcoders] Alert error loading Flickr geo feed into XML object

2008-09-08 Thread bennettberlin
Hi, Yahoo maps, Flex, AS3, Flickr georss. I'm getting the following Alert error when I attempt to parse a geofeed from Flickr: GeoRSS: Error #1083: The prefix "georss" for element "georss:point" is not bound It seems to be happening when I load the rss_200 feed into an XML object, but before I

Re: [flexcoders] passing objects to amfphp browser

2008-09-08 Thread dnk
On 8-Sep-08, at 1:55 PM, dnk wrote: > has anyone had any luck passing objects to the amfphp browser for > testing classes? I read a few articles that you need to use valid JSON > for passing in > > So I am typing in something like: > > {id: 3, category: 'a cat'} > > Has anyone been able to do

Re: [flexcoders] Framework RSLs -- Any Reason Not To Use? Any Problems Related to Their Use?

2008-09-08 Thread Doug McCune
A related question for Matt or someone from Adobe... didn't Google announce sometime back that they are hosting common JavaScript frameworks? The idea being that people could link to those to ensure that download speed was super fast and that they could be cached more easily? Any thoughts on Adobe

Re: [flexcoders] Framework RSLs -- Any Reason Not To Use? Any Problems Related to Their Use?

2008-09-08 Thread greg h
Hi Doug, Thanks! My apology for not including in my initial post the analysis that you have so graciously provided. In our case, we have done the analysis that you indicated, and yes there are cases where visitors downloads will be increased by our use of the Framework RSLs. *-- First Time Visit

RE: [flexcoders] Framework RSLs -- Any Reason Not To Use? Any Problems Related to Their Use?

2008-09-08 Thread Kyle Quevillon
True regarding not being able to monkey patch the cached framework rsl. It is always loaded first. -Kyle From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug McCune Sent: Monday, September 08, 2008 4:15 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Framework

Re: [flexcoders] Framework RSLs -- Any Reason Not To Use? Any Problems Related to Their Use?

2008-09-08 Thread Doug McCune
I think mainly you just need to be aware of the size implications (both good and bad). By using the framework RSL you are removing the framework from your SWF, which will reduce your SWF size by quite a bit. However, you are also requiring the loading of the full framework RSL. The full RSL include

Re: [flexcoders] Hi

2008-09-08 Thread Paul Andrews
- Original Message - From: Robert Thompson To: flexcoders@yahoogroups.com Sent: Monday, September 08, 2008 9:38 PM Subject: Re: [flexcoders] Hi That's a great example alright...many applications lend themselves well to this kind of structure. HOWEVER: There does not appe

[flexcoders] textinput, validation, event

2008-09-08 Thread timgerr
Hey all, I have a question for you. I am trying to trigger an event when a textinput validate is incorrect. Here is my code http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete="MeChild()">

[flexcoders] ArrayCollection.refresh breaks scrollbar in ADG

2008-09-08 Thread whatabrain
1) I call disableAutoUpdate() on an ADG's dataProvider (an ArrayCollection added as mx:HierarchicalData). 2) I add a thousand items to the grid. 3a) If I now call items.enableAutoUpdate(), things work fine, but the refresh takes a really long time, because a thousand events are fired. There's

[flexcoders] passing objects to amfphp browser

2008-09-08 Thread dnk
has anyone had any luck passing objects to the amfphp browser for testing classes? I read a few articles that you need to use valid JSON for passing in So I am typing in something like: {id: 3, category: 'a cat'} Has anyone been able to do this? The above does not work. I am juts test

Re: [flexcoders] Hi

2008-09-08 Thread Robert Thompson
That's a great example alright...many applications lend themselves well to this kind of structure. HOWEVER: There does not appear to be a Right-Click VIew Source which brings up a left pane and then allows you to download source. With a lot on most people's plate, this is a good starter exa

Re: [flexcoders] Framework RSLs -- Any Reason Not To Use? Any Problems Related to Their Use?

2008-09-08 Thread Matt Chotin
I haven't heard of any :-) On 9/8/08 1:26 PM, "greg h" <[EMAIL PROTECTED]> wrote: Hi, I am on a team that is pushing into production a public facing Flex application on the Internet. We have configured the app to use the Flash Player's caching of the Framework RSL. Before going live, I am

RE: [flexcoders] Dynamic ID RadioButtonGroup

2008-09-08 Thread Tracy Spratt
Correct, however, if you use a simple string for the id, repeater will automatically build an indexed array of references to the component. Example: mailto:[EMAIL PROTECTED] On Behalf Of Haykel BEN JEMIA Sent: Saturday, September 06, 2008 11:40 AM To: flexcoders@yahoogroups.com Subject: Re: [flexc

[flexcoders] Framework RSLs -- Any Reason Not To Use? Any Problems Related to Their Use?

2008-09-08 Thread greg h
Hi, I am on a team that is pushing into production a public facing Flex application on the Internet. We have configured the app to use the Flash Player's caching of the Framework RSL. Before going live, I am posting here to see if anyone has experience that causes them to caution against using th

RE: [flexcoders] Flex courses

2008-09-08 Thread Eric Fickes
Flex video training http://www.adobe.com/devnet/flex/videotraining/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Giles Roadnight Sent: Wednesday, September 03, 2008 11:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex cours

RE: [flexcoders] as3 code for the MXML

2008-09-08 Thread Tracy Spratt
Here is a from memory, untested example: private var _myHTTPService:HTTPService; //no ids when using AS, so use this instance var to reference the object = new HTTPService; private function init():void _myHTTPService.url = myURL; //NOT a binding, but that is probably not important _myHTTPS

RE: [flexcoders] object vs AsyncToken ?

2008-09-08 Thread Tracy Spratt
Not a whole lot of difference. But using the more specific type will provide code hinting and compile-time type checking. Using the narrowest type is best prectice. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Se

RE: [flexcoders] Re: HTTPService Synchronization

2008-09-08 Thread Tracy Spratt
I use a single HTTPService instance, and a single result handler. The send() method returns an AsyncToken, which is a dynamic object to which you add most any kind of property you want. The result handler function can access this AsyncToken and read those proerties. I typically set a "call

RE: [flexcoders] Flash skin for DataGrid sort arrow doesn't flip when sort order changes

2008-09-08 Thread Eric Fickes
I noticed the same behavior in a quick test. Maybe this article will help you get around this weirdness. http://blog.flexexamples.com/2008/02/23/changing-the-default-sort-arrow- skin-on-a-flex-datagrid-control/#more-517 EF From: flexcoders@yahoogroups.com [ma

Re: [flexcoders] Re: Getting a reference to a itemRenderer of a chart series

2008-09-08 Thread Fernando Ghisi
Yeah, it´s a good link. I will use it now, for the next issues that I have to solve (legend ones). Thanks. 2008/9/8 Amy <[EMAIL PROTECTED]>: > --- In flexcoders@yahoogroups.com, "Fernando Ghisi" > <[EMAIL PROTECTED]> wrote: >> >> The question here is not if charts uses styles for itemRenderers o

RE: [flexcoders] id of element inside repeater gives an error

2008-09-08 Thread Tracy Spratt
When you get your component repeating, know that it will automatically create an indexed array of references to the repeated components using the base id string. For example, doing: mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Monday, September 08, 2008 2:26 PM To: flexcoders@yahoogro

Re: [flexcoders] Re:Looking for a Flex forum.

2008-09-08 Thread Mike Chabot
The biggest hurdle with creating a Flex forum is that the PHP forums are fantastic, dominant, established, popular, they run on any OS, come with many Web hosting packages, and some of the best ones are free. Anything done in Flex is going to have to complete with the PHP offerings and it would be

[flexcoders] Re: Getting a reference to a itemRenderer of a chart series

2008-09-08 Thread Amy
--- In flexcoders@yahoogroups.com, "Fernando Ghisi" <[EMAIL PROTECTED]> wrote: > > The question here is not if charts uses styles for itemRenderers or > not - it´s fact, it really uses it. > > It´s working like this: I created my CustomItemRenderer extending > BoxItemRenderer and I´m setting the

[flexcoders] Re: Passing an object to an ItemRenderer used by DataGridColumn inside a DataGrid

2008-09-08 Thread Amy
--- In flexcoders@yahoogroups.com, João <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a DataGrid where one of the columns has a custom ItemRenderer. > I need to pass an extra object to the item renderer (beside of the > "data" object, provided via the dataProvider). > My first option was to exten

[flexcoders] Re: Hiding a row in an AdvancedDataGrid

2008-09-08 Thread whatabrain
It turns out that filtering out the parent node hides all the children too, so I guess this isn't what I want after all. --- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "whatabrain" wrote: > > > > Calling refresh() did nothing. > > > >

Re: [flexcoders] Re:Looking for a Flex forum.

2008-09-08 Thread Michael Schmalle
Well, Last year when the Services module came out for Drupal, I pipped into the node/forum API and created a nice forum in flex. The problem with flex has always been RTE editing. We all know this. But, if that hurdle was overcome and text rendering sped up, using an existing CMS like drupal, the

Re: [flexcoders] Re:Looking for a Flex forum.

2008-09-08 Thread Doug McCune
I'm not trying to be a complete "glass is half empty" kind of guy, so if you want to build a Flex message board, go for it. But I do think there are substantial reasons that you haven't seen a successful one yet out in the wild (or has anyone seen one at all?). > Is SEO still an issue when writing

[flexcoders] Re: Getting a reference to a itemRenderer of a chart series

2008-09-08 Thread Tim Hoff
Great Fernando. Thanks for the info too. I learned something as well. -TH --- In flexcoders@yahoogroups.com, "Fernando Ghisi" <[EMAIL PROTECTED]> wrote: > > When you do this in a MXML, I almost sure that it will be transformed > on a setStyle("itemRenderer", ...) in actionscript. > > There is

Re: [flexcoders] Re:Looking for a Flex forum.

2008-09-08 Thread Aaron Miller
Is SEO still an issue when writing a Flex application? I would argue that it's not. A) Google (Yahoo coming soon if not already) now indexes content within a SWF. This includes dynamic content as well. Using dynamic deep linking and a site map that points to different content in the SWF helps a gre

[flexcoders] Re: FP10 and Crossdomain

2008-09-08 Thread Rogerio Gonzalez
Sorry, I found it! This line was needed to everything work OK again. Regards, Rogério Gonzalez On Mon, Sep 8, 2008 at 3:21 PM, Rogerio Gonzalez <[EMAIL PROTECTED] > wrote: > Hello! > > I am having issues with FP10 and crossdomain (on Vista). > For some reason, when I try to use a php webser

RE: [flexcoders] id of element inside repeater gives an error

2008-09-08 Thread Gordon Smith
Repeater works with objects that implement IRepeaterClient, and the UIComponent base class implements this interface. Is your GeometryGroup component a UIComponent? If not, you'd need to make it implement this IRepeaterClient. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [m

[flexcoders] FP10 and Crossdomain

2008-09-08 Thread Rogerio Gonzalez
Hello! I am having issues with FP10 and crossdomain (on Vista). For some reason, when I try to use a php webservice on my other server (both with crossdomain files) he give me the following message: Erro: A solicitação de recurso em http://xxx.com/services.php pelo solicitante de http://yyy.net/R

Re: [flexcoders] Re: Getting a reference to a itemRenderer of a chart series

2008-09-08 Thread Fernando Ghisi
When you do this in a MXML, I almost sure that it will be transformed on a setStyle("itemRenderer", ...) in actionscript. There is no other way of doing this on actionscript. "To apply a renderer to a series in ActionScript, you use the setStyle() method. In that method, you create a new ClassFac

Re: [flexcoders] Re: HTTPService Synchronization

2008-09-08 Thread Tomas Lin
you can chain your calls in your result functions in either your httpservice calls or using a framework like MATE On Mon, Sep 8, 2008 at 1:29 PM, rupal_2381 <[EMAIL PROTECTED]> wrote: > I have a app which has multiple HTTPService calls where the service > calls are dependent on the result of previ

Re: [flexcoders] Re:Looking for a Flex forum.

2008-09-08 Thread Doug McCune
Tim, I haven't seen any forums written in Flex, and I'd argue (as I think many here would) that Flex is not a great technology for writing a forum application. There are some things that Flex does incredibly well, and some that it does not... and text-based content portals is one that Flex is not

Re: [flexcoders] Re:Looking for a Flex forum.

2008-09-08 Thread Sherif Abdou
I don't think your going to see a Flex Forum for a while, Reason is flash does not get indexed by search engines... so unless your a powerhouse and get a billion hits a having a forum in flex is going to be worthless. Now there is this http://www.tufat.com/s_flash_bulletin_board_phpbb_vbulletin

[flexcoders] Re:Looking for a Flex forum.

2008-09-08 Thread timgerr
I am sorry that I might not have stated my question better. I am looking for a forum that is coded in Flex. I have not seen any with Google searches and was wondering what (if any) people are using. I am sorry that my question might not have been formulated to your desire but that was a lousy

[flexcoders] Re: HTTPService Synchronization

2008-09-08 Thread rupal_2381
I have a app which has multiple HTTPService calls where the service calls are dependent on the result of previous service calls. Is it possible that I can check the result of first service call before invoking the second one. Regards, --- In flexcoders@yahoogroups.com, "Igor Costa" <[EMAIL PROTEC

[flexcoders] Re: Passing an object to an ItemRenderer used by DataGridColumn inside a DataGrid

2008-09-08 Thread gaurav1146
You could have the property in the custom ItemRenderer itself. And then use something like: renderer.properties = {propertyName:propertyValue}; Regards, Gaurav --- In flexcoders@yahoogroups.com, João <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a DataGrid where one of

[flexcoders] Formatting a value in an ADG Summary Row cell

2008-09-08 Thread Tom McNeer
Hi, I have an Advanced DataGrid using a Summary Row to sum up budget totals according to some groupings. But I need to apply a Currency Formatter to the value. I've looked through the docs, but I can't find a way to access the value of the summary function. It's obviously not a value within the A

  1   2   >