Re: [flexcoders] Re: "undefined" in stack trace (Console), stack overflow (2nd try)

2009-07-14 Thread Erik de Bruin
Alex, The local variables in methods "on the stack", by which I presume you mean "have been called recently", are mostly counters and such, as well as references to properties of other objects, to avoid too much lookup (myVarRef instead of repeatedly calling Controller.instance.myList.myVar). 2 q

[flexcoders] Re: create class on the fly

2009-07-14 Thread wrhinfl
Ok, I think the way your question is worded can cause problems with the answer you get. If your real question was "Can a class be modified during runtime and how?" Would this be the same question you are asking? I searched the ASDocs and found Dynamic Class, which allows you to add variables

[flexcoders] clearing the flex cache?

2009-07-14 Thread jedierikb
I would like to clear my cache of all the flex libraries used by my browsers. I would like to do this to see the speed of my flex apps loading the flex rsls for the first time. Are there instructions for how to do clear my flex cache? I tried deleting the files listed at the paths listed here

[flexcoders] Re: Possible to create a chart with clustered & overlaid columns? (picture inside)

2009-07-14 Thread gmoniey22
Thanks for the feedback, I will play with those ideas and see if I can get something going. --- In flexcoders@yahoogroups.com, "gmoniey22" wrote: > > I haven't been able to find an example of this, or any indication in the docs > of how to do this, but I would imagine it is possible. > > I wan

[flexcoders] Linux says corrupt file when clicking on an air app.

2009-07-14 Thread Raymond Brown
Question for anyone who can point to a better answer than what google has currently provided: We wrote a adobe air app on OSX using the latest version of flex builder (3 series) and the latest adobe air sdk. When we export the air app and double click it on windows or OSX it installs fine and

[flexcoders] LCDS without a class for every table?

2009-07-14 Thread postwick
OK, so I was the one looking for a way to do classes at runtime. The bottom line is I want to use LCDS because it's, well, fantastic. However, in my app I cannot know at compile time all the tables (and columns in them) that will need to be accessed. Is there a way to use one single class whi

RE: [flexcoders] [Gumbo] Gumbo equivalent of ViewStack

2009-07-14 Thread Alex Harui
There isn't one at this time. Many folks use the new states syntax to delay creation of views Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Charles P

RE: [flexcoders] Re: "undefined" in stack trace (Console), stack overflow (2nd try)

2009-07-14 Thread Alex Harui
I'm not sure you can try/catch a stack overflow, and adding "try" does change the stackframe. I think you're just running out of stack. The stacks have different sizes on different platforms. What kinds of local variables are in each method on the stack? Alex Harui Flex SDK Developer Adobe S

Re: [flexcoders] Re: create class on the fly

2009-07-14 Thread Julien Nicoulaud
Interesting topic ! I would like to go further on the dynamic class manipulations: Does anybody see a way to list all classes from a package that implement a given Interface ? Well, the part "that implement a given Interface" is easy to do using isPrototypeOf(), but the "list all classes from a pac

Re: [flexcoders] Drag n Drop from one Flex application to another Flex application.

2009-07-14 Thread Julien Nicoulaud
I guess it is not possible, because "between" the two applications you should have access to the system drag and drop manager. By the way, you can do it in an air application. (by the way, hi everyone, i'm new :) 2009/7/13 avibhujade > > > Hi, > > I have two flex applications and I want to drag

Re: [flexcoders] Re: Flex logging

2009-07-14 Thread Julien Nicoulaud
Flex provides a real logging API, spare you some efforts :) http://livedocs.adobe.com/flex/3/html/help.html?content=logging_09.html 2009/7/14 valdhor > > > Shared Objects? > > > --- In flexcoders@yahoogroups.com , > "vladakg85" wrote: > > > > Hi, > > > > I need to setup my flex application to

Re: [flexcoders] Opening popups while in full-sceen mode would crash the browser

2009-07-14 Thread Julien Nicoulaud
I noticed several bugs while trying to setup my application for full screen mode: - Text fields not editable - keyboard events not dispatched - IFrame stay blank - ProgressBar crashing the browser (I guess this is the same issue as the one you describe) - Drag and drop severe performance issue

[flexcoders] Programmaticly created Consumer does not find endpoint

2009-07-14 Thread Michael Slinn
I am able to programmatically create a RemoteObject to call RPCs against, and now I am trying to programmatically create a messaging Consumer that listens on a streaming AMF channel. I have cranked up logging verbosity. I note the 404 (not found) message: [SWF] /samples/testdrive-datapush/ProgMsg

[flexcoders] Opening popups while in full-sceen mode would crash the browser

2009-07-14 Thread Robert Csiki
Hello, I created a bunch of MXML components and the application them as popups PopUpManager.createPopup(), but when executing that while the application is in full-screen mode, the browser crashes. Reproducible with Windows/Firefox and IE, and Flash Player 9. Any idea why? Has anyone seen

[flexcoders] Embedded Assets: SWF or Image?

2009-07-14 Thread kenny14390
When would it be appropriate to embed graphical assets as SWFs? Does it increase/decrease file size or load time? Would it be better to convert the SWF to a PNG or something?

Re: [flexcoders] Re: LCDS fallback and firewalls which inspect packets

2009-07-14 Thread Johannes Nel
the https idea is worth a try. Thanks for the input. On Tue, Jul 14, 2009 at 8:07 PM, valdhor wrote: > > > Just a couple of ideas... > > Try AMF over HTTPS. > > Could you use PPTP or L2TP? > > > --- In flexcoders@yahoogroups.com , Johannes > Nel wrote: > > > > Someone must see some easy money he

[flexcoders] Custom Events in multiple components

2009-07-14 Thread Jake Churchill
I ran into something that I've never come across before and now curiosity is killing me. I had a base component, call it ComponentBase. I made this component dispatch a custom event using the appropriate event metadata. I have another component which extends ComponentBase, call it SubC

[flexcoders] Setting firstVisibleItem in ADG

2009-07-14 Thread vin.flex
HI, I have an ADG with piechart as he itemrenderer for the entire row. If I click any node the chart is shown. I want to set the opened node as the firstVisibleItem, so that the chart is visible completely. I am doing the following in itemOpen event. myADG.fisrtVisibleItem = evt.item;

[flexcoders] Re: Possible to create a chart with clustered & overlaid columns? (picture inside)

2009-07-14 Thread Tim Hoff
Here's another way. You would have some challenges with data tips, but nothing that can't be handled. Hope that this gives you some ideas: Multi-Clustered Column Chart Sample -TH --- I

[flexcoders] Re: Remote AMF all in IE7 Fails NetConnection.Call.Failed: HTTP: Status 403

2009-07-14 Thread valdhor
403 is a "Access Denied/Forbidden" error. Seeing as you are making a secure call, could it be a damaged certificate file in IE? You may want to try repairing IE7 (http://support.microsoft.com/kb/318378) or perhaps some registry error? --- In flexcoders@yahoogroups.com, "Anthony DeBonis" wrote

[flexcoders] Remote AMF all in IE7 Fails NetConnection.Call.Failed: HTTP: Status 403

2009-07-14 Thread Anthony DeBonis
Need a fix for this ASAP - any help would be great We have remote object calls to LCDS that work fine in Firefox and Chrome but fail when we user IE 7 as the browser. FaultDetail: NetConnection.Call.Failed: HTTP: Status 403 Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 4

[flexcoders] Re: BrowserManager not working

2009-07-14 Thread valdhor
I tried your code and it worked fine (Of course, I ended up in an endless loop as it kept loading the same page over and over again). --- In flexcoders@yahoogroups.com, edencane wrote: > > > Hi. > > trace(url1) outputs the server name and port eg. 'www.myserver.com:7070' > > Alex: I am usin

[flexcoders] Re: remote sandbox addCallback

2009-07-14 Thread Nicholas Bilyk
I've narrowed the problem down further. The Security.allowDomain("*") does allow this to work in flash. In Flex, my problems are coming from the BrowserHistory javascript, that doesn't wait until the point where the Security.allowDomain call is made, causing a js error.

[flexcoders]

2009-07-14 Thread Gustavo Duenas
Hi coders, I have installed the flex 4 sdk (placed onto the sdk folder on flex builder 3) onto my flex builder 3 let me know if I'm doing something possible or not. Gustavo

[flexcoders] Re: Flex logging

2009-07-14 Thread valdhor
Shared Objects? --- In flexcoders@yahoogroups.com, "vladakg85" wrote: > > Hi, > > I need to setup my flex application to save log information in some *.txt > file, but I don't know how to setup this. Help me :( >

[flexcoders] Re: LCDS fallback and firewalls which inspect packets

2009-07-14 Thread valdhor
Just a couple of ideas... Try AMF over HTTPS. Could you use PPTP or L2TP? --- In flexcoders@yahoogroups.com, Johannes Nel wrote: > > Someone must see some easy money here! come on people! > > On Tue, Jul 14, 2009 at 3:03 PM, Johannes Nel wrote: > > > I have. They are not prepared to change

[flexcoders] remote sandbox addCallback

2009-07-14 Thread Nicholas Bilyk
I have a swf that I'm trying to embed across sites. In the simplest form of the problem, I have the actionscript: ExternalInterface.addCallback('foo', test); function test():void { // Do stuff } When the swf is embedded on the page in the same domain, the callback works. If the swf is

[flexcoders] Annotating a PieChart

2009-07-14 Thread tphipps
Has anyone played with the PolarDataCanvas canvas object to annotate Pie Charts? There are plenty of examples in the Live Docs and elsewhere on the web on how to annotate Bar and Column Charts (using a CartesianDataCanvas), but none that I can find using PieCharts. Assuming that a valid NameFie

[flexcoders] Drag n Drop from one Flex application to another Flex application.

2009-07-14 Thread avibhujade
Hi, I have two flex applications and I want to drag n drop display objects for one application to another application. Is this possible? if yes please provide some pointers. Thanks, Avi

[flexcoders] can't launch application

2009-07-14 Thread fgno...@rocketmail.com
I just transferred my project from one computer to another. The project has multiple applications, one of which is named "index.mxml". Everytime I try to launch an application it will only launch index.mxml and not the one I'm trying to launch. Project worked fine on my other computer (which has

[flexcoders] Re: Livecycle DS with Flex Questions

2009-07-14 Thread postwick
1 - as far as I know, it doesn't care what app it is. if you're subscribed to that data service, that's all that matters. 2 - yes. I get to go back to the drawing board on about 40% of my app because I just learned how to use the data service...and everything so far is remoteobjects. but it'

[flexcoders] Livecycle DS with Flex Questions

2009-07-14 Thread Wally Kolcz
I am trying to get into using LiveCycle DS with my Flex app. I have a couple question for anyone who uses it and understands it. 1.) If I were to have 2 seperate applications (swfs, client / admin) that both subscribe to the same destination, when a change is made (say a admin adds a records) w

Re: [flexcoders] LCDS fallback and firewalls which inspect packets

2009-07-14 Thread Johannes Nel
Someone must see some easy money here! come on people! On Tue, Jul 14, 2009 at 3:03 PM, Johannes Nel wrote: > I have. They are not prepared to change their setup so I really want to > get hold of an expert who can solve or answer with finality. > > > > On Tue, Jul 14, 2009 at 2:54 PM, Tom Chiver

[flexcoders] [Gumbo] Gumbo equivalent of ViewStack

2009-07-14 Thread Charles Parcell
Is there an equivalent of the the Halo ViewStack? The issue is that it indicates only Halo components can be placed inside a ViewStack. So if I want to put Spark components within what should I use? Charles P.

[flexcoders] Re: Possible to create a chart with clustered & overlaid columns? (picture inside)

2009-07-14 Thread EddieBerman
While I haven't yet attempted that layout, here are my thoughts on one potential path: You'll need 5 series, with the first one (series 0) being the composite (as the series are drawn from 0 to n, and if the composite column was the last one it would draw over the previous columns). You'll need

[flexcoders] using as an xaxis label on a bar chart

2009-07-14 Thread shafram
Hi, I have a string '' and I need to have the entire string be used as an x-axis label and in the datatip on a bar chart (including the ). I can't see to be able to do this. Is there any way I can have this entire string displayed?

[flexcoders] Re: create class on the fly

2009-07-14 Thread ag_rcuren
To return a class is pretty simple. If you look at the source of the Modules they have create method. For my example they are returning instances but there is no reason you can not return a Class from these, infact I have done it before so I know it works. import mystuff.junk.SomeClass; import

Re: [flexcoders] Re: create class on the fly

2009-07-14 Thread mark . jonkman
Hi Somewhere you will need to write an .as file and compile it into a swf in order to use it at runtime. Flash can't compile an .as file or a string at runtime. You can however, compile any number of .as files into a Flex Library project, load that library at runtime then using getDefinitionB

[flexcoders] Re: create class on the fly

2009-07-14 Thread postwick
Thanks for everyone's help. I think this points me in the right direction. Of course, if there's a way to successfully use data messaging without instantiating classes...that would eliminate my need to do this. But I don't think there is... --- In flexcoders@yahoogroups.com, "ag_rcuren" wrot

[flexcoders] Re: create class on the fly

2009-07-14 Thread ag_rcuren
Yes you could create the class and build it into an RSL. Once the RSL is loaded you can just reference it by name. When you add or make changes you just need to rebuild the RSL or push a new RSL out and have a way for your app to know whats available. I found it easier to use Modules, because t

Re: [flexcoders] Re: create class on the fly

2009-07-14 Thread mark . jonkman
Hi If you load a module that has a pile of classes in it, you can instantiate them without having a static reference in your original code. However, you do need to be a bit cautious. By default, modules load into a child of Application.currentDomain and thus aren't as "accessible" as classes

[flexcoders] Re: create class on the fly

2009-07-14 Thread postwick
Yeah, I saw your post in my hours of Googling last night. Seems very promising. The idea is to have a database table that stores a list of classes and their properties, and instantiate them at runtime without having to recompile the app - so that if a new class is added to the db my app can us

[flexcoders] Re: create class on the fly

2009-07-14 Thread postwick
>From your blog post... var myClass:Class = getDefinitionByName("com.myDomain.myPackage.SomeClass"); Does this mean I don't have to create the class as a .as file and compile it into the SWF, I can just reference it this way? Then I could add a new class to myPackage and tell my app (via db,

[flexcoders] Re: create class on the fly

2009-07-14 Thread ag_rcuren
This might help you, its a little something I wrote a little while ago. http://flexinonroids.wordpress.com/2009/05/27/flex-3-dynamically-loading-components-at-runtime/ --- In flexcoders@yahoogroups.com, "postwick" wrote: > > If I compile the class as a module, can I then load it in without havi

[flexcoders] Re: create class on the fly

2009-07-14 Thread postwick
If I compile the class as a module, can I then load it in without having to statically reference it in my compiled code? I can predict the package name based on data from my database ie com.something.somethingelse etc. Then I could compile new classes as needed and load them. --- In flexcoder

Re: [flexcoders] Eclipse and flex setup questions

2009-07-14 Thread Howard Fore
Tom, what does XSD4MXML do? The info on the Google Code page doesn't make it clear how it relates to code hinting. -- Howard Fore, howard.f...@hofo.com "The worthwhile problems are the ones you can really solve or help solve, the ones you can really contribute something to. ... No problem is too s

Re: [flexcoders] LCDS fallback and firewalls which inspect packets

2009-07-14 Thread Johannes Nel
I have. They are not prepared to change their setup so I really want to get hold of an expert who can solve or answer with finality. On Tue, Jul 14, 2009 at 2:54 PM, Tom Chiverton wrote: > > > On Tuesday 07 Jul 2009, Johannes Nel wrote: > > deity, has a network which inspects packets. They se

Re: [flexcoders] Eclipse and flex setup questions

2009-07-14 Thread Tom Chiverton
On Tuesday 07 Jul 2009, vladakg85 wrote: > 1) What is better to use for build code with ANT or without ANT? Without, to start with. It's less to learn or have break. > 2) Is there any way to add code hint (Ctrl + Space) while coding AS3 class > or MXML file inside eclipse? XSD4MXML from Google c

Re: [flexcoders] Gumbo Graphs

2009-07-14 Thread Tom Chiverton
On Monday 13 Jul 2009, Peter Cowling wrote: > I have not used fx:Application before; is it not s:Application? You can use anything to the left of the colon you like, as long as you declare the XMLNS at the top. > 1. I can compile in Flash Builder 4, using the old (2006) mxml namespace > (at the

Re: [flexcoders] LCDS fallback and firewalls which inspect packets

2009-07-14 Thread Tom Chiverton
On Tuesday 07 Jul 2009, Johannes Nel wrote: > deity, has a network which inspects packets. They seem to be throwing out > out all my AMF over http packets. So...is there something I can do? Presumably this is more than inspection, it's some sort of MPLS/DPI/application protocol security/etc. that

[flexcoders] Re: Issue adding an Image component to a custom component

2009-07-14 Thread gordofeatherfoot
Hey Alex, Thanks for your reply. I solved my issue. for some reason my custom component never got it's systemManager set. This is not a problem when all you add to the component are Hboxes or labels apparently, but as soon as you add an image the systemManager must be set. All i did was to set

Re: [flexcoders] Re: "undefined" in stack trace (Console), stack overflow

2009-07-14 Thread thomas parquier
I think errors can be thrown using a localized string (from a resource bundle), so I'm not sure but I think a missing translation can cause an "undefined". thomas --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net téléphone portable : +3360

Re: [flexcoders] Re: Trying to change Flex 3 ToggleButtonBar dataprovider on user or admin log in

2009-07-14 Thread Yesaya handoyo
I got it manually,not using server call..The truth is i'm intending to create an online store with admin backend..It just i haven't figured how to make it..I've tried to follow http://www.keithcraigo.com/archives/66,but when i try it,it doesn't work the way it should be..Do you mind to point what s

[flexcoders] Tomcat LCDS configuration, contractor seeked

2009-07-14 Thread Johannes Nel
Hi All We are having problems with configuring LCDS to work in all enviroments and would like to hire a contracter to set it up for us. Please contact me offlist if you have experience in this. We use Tomcat 6 and LCDS 2.6.1. My main concern is really fall back management. Regards Johan -- j:p

[flexcoders] Flex logging

2009-07-14 Thread vladakg85
Hi, I need to setup my flex application to save log information in some *.txt file, but I don't know how to setup this. Help me :(

Re: [flexcoders] Re: "undefined" in stack trace (Console), stack overflow

2009-07-14 Thread Erik de Bruin
Thomas, Can you elaborate? I'm seeing this problem when I run the code in AIR on a Mac with a US MacOS Leopard. Thanks, EdB On Fri, Jul 10, 2009 at 9:33 PM, thomas parquier wrote: > > > I think "undefined" can come from a problem of error string localization. > > thomas > --- > http://www.web-a

Re: [flexcoders] Re: "undefined" in stack trace (Console), stack overflow (2nd try)

2009-07-14 Thread Erik de Bruin
Alex, Well, that's the thing. The code in that method doesn't seem to be the problem. If I put the seemingly offending line in a try...catch block, it runs without triggering the catch. And weirder still, the "undefined" exception happens somewhere a little further in the flow... This happens onl

[flexcoders] Re: Issue adding an Image component to a custom component

2009-07-14 Thread gordofeatherfoot
Thanks for your reply Alex, Are you refering to an init function that is built into the base flex component (ie canvas in this case), because IDSWeather has a custom init() function defined. In this function I use createComponentsFromDescriptors(); with a creation policy set to NONE. Since my