Re: [flexcoders] 1044 Compile time error - help?

2008-11-14 Thread Joseph Balderson
Your root application file needs to be an Application class. If you need a proxy root component, build a custom MXML component based on Canvas and place it inside the Application container. ___ Joseph Balderson, Flex Flash Platform

Re: [flexcoders] fla file format license

2008-11-14 Thread Joseph Balderson
IFAIK, you cannot license the FLA format from Adobe, and it is a closed source binary format. Wait a little while for when they come out with the XFL format for Flash, otherwise you'll have to do what every other SWF tool vendor has done and create your own format.

[flexcoders] Override navigateToURL

2008-11-14 Thread kyleashipley
I'm writing a wrapper around the core Flex HTML engine to add tabbed browsing. Everything works fine for links with targets of _self or _top. I had to scan all the links on each page and add click handling when the target was new or _self (to re-route the calls into my own tabbing engine).

Re: [flexcoders] fla file format license

2008-11-14 Thread vuthecuong
Joseph Balderson wrote: IFAIK, you cannot license the FLA format from Adobe, and it is a closed source binary format. Wait a little while for when they come out with the XFL format for Flash, otherwise you'll have to do what every other SWF tool vendor has done and create your own

[flexcoders] Re: Help: Datagrid first and last selection

2008-11-14 Thread Tim Hoff
Sure, just look at the DataGrid's selectedItems array. Then filter your chart dataProvider with the items in the array. -TH --- In flexcoders@yahoogroups.com, cox.blair [EMAIL PROTECTED] wrote: Hi, is it possible to output the first and last selection of a datagrid if selecting multiple

[flexcoders] Re: mx:RemoteObject loadWSDL() equivalent method

2008-11-14 Thread bhaq1972
What are you trying to do? What I noticed with mx:WebService, is if a fault occurs, i need to call loadWSDL() before i can reuse the webservice object (maybe its the way i'm using it). So i was thinking is there anything like that for RemoteObject. But its okay, i've decided to

Re: [flexcoders] 1044 Compile time error - help?

2008-11-14 Thread nwebb
Thanks Joesph. Yes, the root tag is Application. Turns out it was a problem with the version of ascorelib I was using. Once I reverted to V 0.90 the problem went away. I've not looked in to it further yet as I'm on a 3 week contract with a very strict deadline (hence ++relief at getting it

[flexcoders] Re: Override navigateToURL

2008-11-14 Thread livemidnite
In order to catch ALL attempts to open a new window from both html a href= target=_blank... and javascript:window.open(... you will need to look into the HTMLHost class. Every HTML control in Flex has a property htmlHost, but you can give it your own instead. Then just override this method:

[flexcoders] Flex HTTP Request for Data

2008-11-14 Thread shamini.arch
Hi, I am writing a flash GUI that uses a python program to handle requests. In my python file, I parse the GET request that is sent by the flex GUI and I respond accordingly. The problem rises when the GUI asks for a query, and then appends /crossdomain.xml to the end of the query. I am

[flexcoders] Re: Traverse through a TabNavigator

2008-11-14 Thread livemidnite
You are correct, this is because TabNavigator hides it's children. What are you trying to do? Cheers, Jesse --- In flexcoders@yahoogroups.com, timgerr [EMAIL PROTECTED] wrote: Hello all, I have a TabNavigator that contains 2 forms: mx:TabNavigator x=196 y=160 width=200 height=200

Re: [flexcoders] ArrayCollection

2008-11-14 Thread Mike Duncan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tracy Spratt wrote: The issue is that there is only one “lastResult” for the entire framework. “There is only one result” No, this is not correct. Because they are asynchronous, there can be multiple pending RPC data calls. There is no

Re: [flexcoders] Re: How can I directly access the yField data?

2008-11-14 Thread - -
Thanks Amy, it worked!

[flexcoders] Re: Show the module second time

2008-11-14 Thread ilikeflex
Hi I am doing the addChild(module) second time but it does not load into screen. I am storing the reference to modules loaded in associate array. In my code showContent is canvas.I have put the unload listener to see if the module is unloaded. But this is never invoked. So i am clear that

[flexcoders] how can I set styles to a SummaryField where the placement is group?

2008-11-14 Thread Mark
Just like the Subject reads... I'm looking to do some pretty basic text formating like Bold and a little larger text size to a SummaryField. The operation I'm using is count with the placement being group. I understand how to use the AdvancedDataGridRendererProvider for a last placement, but

[flexcoders] Re: Flex Application Memory Footprint

2008-11-14 Thread djbrown_rotonews
I'm seeing the same behavior. DataGrid headerRenderer is a simple Label with a toolTip, and there's just 15 columns in the grid itself. Before the data is even populated, I have 75 instances of the header renderers (5 for each column), and they never get cleaned up. Around 35-40% of my

[flexcoders] How can I get my CircleItemRenderer to work with SeriesInterpolate?

2008-11-14 Thread sailorsea21
Hi everyone, how can I get my CircleItemRenderer to work with my interpolate on a LineSeries??? If I remove the Interpolate, the ItemRenderer works fine but when I add the Interpolate, the itemRenderer disapears??? Do I need to import anything to make this work??? (import mx.charts...) This

Re: [flexcoders] Actionscript SSH Library..heard of any?

2008-11-14 Thread Tom Chiverton
On Thursday 13 Nov 2008, r.fender wrote: Just thought I'd throw that question out there to see what you all know. SSH is really, really, complicated. What are you trying to achieve ? -- Tom Chiverton Helping to synergistically enhance functionalities

Re: [flexcoders] How to apply a custom sort to ArrayCollection??

2008-11-14 Thread Adrian Williams
Thanks Josh, That was exactly what I was looking for...didn't think to access the compareFunction property of the sort() function... Adrian Josh McDonald wrote: var s : Sort = new Sort(); s.compareFunction = myComparer; collection.sort = s; -Josh On Fri, Nov 14, 2008 at 9:14 AM,

[flexcoders] Huzzah for MAX!

2008-11-14 Thread Gregor Kiddie
Finished work, and off to the states! See some of you there! Feel free to kick my rear or buy me a beer as required ;) Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577

Re: [flexcoders] Huzzah for MAX!

2008-11-14 Thread Farid Shahlavi
Make sure you wear a kick me sign so we don't kick the wrong brits butt!!! Farid On Fri, Nov 14, 2008 at 10:58 AM, Gregor Kiddie [EMAIL PROTECTED]wrote: Finished work, and off to the states! See some of you there! Feel free to kick my rear or buy me a beer as required ;) Gk.

[flexcoders] Re: How can I get my CircleItemRenderer to work with SeriesInterpolate?

2008-11-14 Thread EddieBerman
Hmmm. It works for me. Here's my quick code sample: ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:local=* creationComplete=Init() mx:Script![CDATA[ import mx.collections.ArrayCollection; [Bindable] public var profits1:ArrayCollection = new

[flexcoders] Is there a licence for the Flex framwork?

2008-11-14 Thread whatabrain
I'm using dynamic linking, and distributing framework_3.0.0.477.swf with my web control. My company has been desperately searching around for a licence for this file, but can't find one. In fact, they can't even find a licence for the statically-linked version. I know it sounds silly, but some

Re: [flexcoders] Is there a licence for the Flex framwork?

2008-11-14 Thread Matt Chotin
I'm not not sure why you say the SDK license doesn't apply. It does apply (unless you mean because we've indicated the piece falls under the MPL). But it is expected that you may distribute the framework_3.0.0.477.swf as an RSL as part of your program. Matt Adobe, Flex Product Manager

[flexcoders] Accessing a Basic Auth protected site from flex.

2008-11-14 Thread wdsnapper
I'm trying to access a basic auth protected site from Flex and not having any success. I see that you can no longer add the Authorization header as you could over a year ago. The setCredentials and setRemoteCredentials methods in the HTTPService class seem like they should do the trick but

[flexcoders] Re: Is there a licence for the Flex framwork?

2008-11-14 Thread whatabrain
If this is covered under the SDK licence, then distributing the framework gives Adobe the right to audit us. If that's the case, we may have to stop using Flex altogether. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: I'm not not sure why you say the SDK license

[flexcoders] HTTP request error

2008-11-14 Thread markgoldin_2000
I am getting this error when I am trying to access my web site from computers that are not running under my name. This my url in flex: http://servername/web directory/subfolder/asppage.asp In the browser I am using the following: http://servername/web directory/startpage.html Works for me from

[flexcoders] need some help with an effect I made and its glitches

2008-11-14 Thread Pan Troglodytes
I'm fairly new to making effects, and it's a miracle I have any hair left. I have created the following effect so that I can transition between various states of a component. The problem is that I want to reuse the same component and not make a new one for every different screen. So I'm making a

Re: [flexcoders] Huzzah for MAX!

2008-11-14 Thread wkolcz
See ya there! San Fran BABY! From: Farid Shahlavi [EMAIL PROTECTED] Sent: Friday, November 14, 2008 8:05 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Huzzah for MAX! Make sure you wear a kick me sign so we don't kick the wrong brits

[flexcoders] Re: mx:RemoteObject loadWSDL() equivalent method

2008-11-14 Thread valdhor
You should not need to re-instantiate the RemoteObject - just re-set the properties and call the send() method. --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: What are you trying to do? What I noticed with mx:WebService, is if a fault occurs, i need to call

RE: [flexcoders] Re: Flex Application Memory Footprint

2008-11-14 Thread Alex Harui
If you have more header renderers than columns, I'd be checking them for leaks using the Profiler. See http://blogs.adobe.com/aharui/2008/09/using_the_flex_builder_3x_prof.html for tips on using the Profiler. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [flexcoders] Re: Is there a licence for the Flex framwork?

2008-11-14 Thread Howard Fore
Maybe I'm missing something but what kind of scenario would require redistributing the framework? On Fri, Nov 14, 2008 at 12:01 PM, whatabrain [EMAIL PROTECTED] wrote: If this is covered under the SDK licence, then distributing the framework gives Adobe the right to audit us. If that's the

RE: [flexcoders] Re: Show the module second time

2008-11-14 Thread Alex Harui
One of my favorite techniques is to have a button on screen that when clicked, does some introspection, like checking numChildren to make sure the module is still there, and testing its size, visibility, position, etc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] datagrid select

2008-11-14 Thread Alex Harui
Datagrid edits on a cell-by-cell basis. Not sure how you'll make the whole row editable at once. It looks like when you click the button the row gets selected so the row to be edited should be the selectedIndex row From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Darrin

Re: [flexcoders] URLRequest truncated in Flash Player 10 on Linux

2008-11-14 Thread Maciek Sakrejda
Actually, I think I misdiagnosed this. There's definitely a problem somewhere, but I don't think it's a truncation issue. I'll follow up when I figure out some details... -Original Message- From: Maciek Sakrejda [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders

RE: [flexcoders] Re: All Focus Components in Container

2008-11-14 Thread Alex Harui
I think you also have to test if CurObj is IFocusManagerComponent. See addFocusables in mx.managers.FocusManager.as From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of itdanny2002 Sent: Thursday, November 13, 2008 10:44 PM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Re: Is there a licence for the Flex framwork?

2008-11-14 Thread whatabrain
When it's linked dynamically. There's an option to build the framework into something like framework_3.0.0.477.swf. --- In flexcoders@yahoogroups.com, Howard Fore [EMAIL PROTECTED] wrote: Maybe I'm missing something but what kind of scenario would require redistributing the framework? On

[flexcoders] DataGridColumn add a button and have the btn label = the returned dataField info

2008-11-14 Thread timgerr
Hello all, I was wondering how to do somtgin that I think is complicated. I want to have a button in a DataGridColumn, I would like to have the button label be set to the data returned in that fataField. Here is what I mean: mx:DataGrid id=MEDG width=100% height=100% mx:columns

[flexcoders] Re: DataGridColumn add a button and have the btn label = the returned dataField info

2008-11-14 Thread timgerr
OK, I did this to the button: mx:Button label={data.ability} width=75 / but now I get warnings when I run the app: warning: unable to bind to property 'ability' on class 'Object' (class is not an IEventDispatcher) What is this and what should I be doing to get the label? Thanks again,

[flexcoders] Re: Actionscript SSH Library..heard of any?

2008-11-14 Thread r.fender
Yep, that's the complication that scares me. I have an application that runs in an embedded device. Currently, it is browser based, running through SSL, using AMFPHP to execute shell_exec() commands to run low-level Unix scripts to configure the devices. The project managers now want to

[flexcoders] Re: Accessing a Basic Auth protected site from flex.

2008-11-14 Thread wdsnapper
Anyone out there understand how to get Flex working with a simple Basic Auth protected REST API? If not is there a fundamental reason why this does not work in Flex? It seems like such a core basic (no pun intended) piece of functionality for a Flex app to hook up to an existing XML based

Re: [flexcoders] Re: Actionscript SSH Library..heard of any?

2008-11-14 Thread Fotis Chatzinikos
Could you use ssh tunneling (outside of your air app). It would mean that you would need to install an ssh client and set it up first... It dependes if your project is for private consumption or public... On Fri, Nov 14, 2008 at 8:55 PM, r.fender [EMAIL PROTECTED] wrote: Yep, that's the

RE: [flexcoders] Re: Actionscript SSH Library..heard of any?

2008-11-14 Thread Jim Hayes
Could you use the webkit browser in AIR to do the SSL connection? I don't think it needs to be visible to work. Just an idea, and It's probable I've not understood the reasons the project managers want to use AIR. -Original Message- From: flexcoders@yahoogroups.com on behalf of r.fender

[flexcoders] Re: updating data in Actionscript

2008-11-14 Thread netdeep
Thanks for all the help everybody. I feel like I am close to getting this, but it's still not working. Here are the relevant snippets of actual code which should give a better idea of what I'm doing and why it's not working. // initial assignment when chart is created

[flexcoders] Calling functions with optional parameters

2008-11-14 Thread Amy
I thought that when you have a function that looks like this: private function theFunction(param1:int=0, param2:int=1, param3:String='foo') { //do stuff } That it's ok to call the function like this: theFunction(,,'bar'); But when I do this, I'm getting all sorts of syntax errors, including

Re: [flexcoders] Calling functions with optional parameters

2008-11-14 Thread Fotis Chatzinikos
Amy (usually) all programming languages that support something similar support it from right to left, not with empty 'params'... theFunction() or theFunction(3) or theFunction(4,5) should work... i do not have access to the compiler at the moment thought, so i have not checked On Fri, Nov 14,

[flexcoders] Re: Accessing a Basic Auth protected site from flex.

2008-11-14 Thread nathanpdaniel
Add the request headers (as in the code), where userService is an HTTPService, baseUrl is the page you need to be authorized to use, and auth is the username:password (I'm assuming - I got this example from here: http://geekzguru.wordpress.com/2008/07/04/howto-add-basic-

[flexcoders] Re: HTTP request error

2008-11-14 Thread markgoldin_2000
Nobody has run into this problem? I have googled this error, did not find anything that helped. Please help. --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: I am getting this error when I am trying to access my web site from computers that are not running under

Re: [flexcoders] Calling functions with optional parameters

2008-11-14 Thread Maciek Sakrejda
Amy, Fotis is right--if you want to specify a param that has a default, you need to specify all parameters to the left of it in the argument list. Depending on your function and how many parameters it has, you may want to add a class to represent your function arguments, construct that object

RE: [flexcoders] Re: HTTP request error

2008-11-14 Thread Tracy Spratt
What error? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Friday, November 14, 2008 4:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTP request error Nobody has run into this problem?

RE: [flexcoders] Re: DataGridColumn add a button and have the btn label = the returned dataField info

2008-11-14 Thread Tracy Spratt
What is the dataProvider? What data type are the items? data is an object can you can't bind to dynamic objects. Sometimes a cast/convert will fix the warning, sometimes you need to wraqp the object in ObjectProxy. I would use a real itemRenderer and override the set data(), and asign

RE: [flexcoders] Calling functions with optional parameters

2008-11-14 Thread Tracy Spratt
What if you explicitly passed null? theFunction(null,null,'bar'); Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Friday, November 14, 2008 4:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Calling functions

[flexcoders] Re: Calling functions with optional parameters

2008-11-14 Thread Amy
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: What if you explicitly passed null? theFunction(null,null,'bar'); The defaults aren't always null, and MPO is that the developer shouldn't need to know what the appropriate default is to make the default behavior. I

[flexcoders] Re: HTTP request error

2008-11-14 Thread markgoldin_2000
HTTP request error in a small alert box. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: What error? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Friday, November

[flexcoders] Re: DataGridColumn add a button and have the btn label = the returned dataField info

2008-11-14 Thread valdhor
Use an Item Renderer: package renderers { import mx.controls.*; import mx.controls.dataGridClasses.DataGridListData; public class myColumnRenderer extends LinkButton { private var fieldValue:String; public function myColumnRenderer() {

[flexcoders] Re: HTTP request error

2008-11-14 Thread valdhor
So what is the code to produce this error? There are many places you can use a URI in Flex. --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: HTTP request error in a small alert box. --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote: What error?

[flexcoders] Re: HTTP request error

2008-11-14 Thread markgoldin_2000
When I am setting up HTTPService I am using a string I have showed below: http://servername/web directory/subfolder/asppage.asp with a few parameters. And then from Browser: http://servername/web directory/startpage.html --- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote: So

[flexcoders] Re: Calling functions with optional parameters

2008-11-14 Thread Amy
--- In flexcoders@yahoogroups.com, Maciek Sakrejda [EMAIL PROTECTED] wrote: Amy, Fotis is right--if you want to specify a param that has a default, you need to specify all parameters to the left of it in the argument list. Depending on your function and how many parameters it has, you

[flexcoders] Re: HTTP request error

2008-11-14 Thread markgoldin_2000
Ok, I have run more tests. I have found out that if I add a user that I use for testing to a local admin of my test box then it works. Not like this is a solution but at least now I know where the problem is. Any ideas I can use to have my test box serving other then me only users? --- In

[flexcoders] Is this a problem when my project decompiles??

2008-11-14 Thread djhatrick
[SWF] someSwf.swf - 12,262,803 bytes after decompression [SWF] someSwf.swf - 593 bytes after decompression [SWF] someSwf.swf - 629 bytes after decompression [SWF] someSwf.swf - 629 bytes after decompression [SWF] someSwf.swf - 629 bytes after decompression [SWF] someSwf.swf - 629 bytes after

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-14 Thread Gordon Smith
You can write either MyClass.foo = bar; or MyClass[foo] = bar; to set a static property of a class. Gordon Smtih Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Friday, November 14, 2008 2:28 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-14 Thread Gordon Smith
Optional parameters must come after required parameters. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Friday, November 14, 2008 2:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Calling functions with optional

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-14 Thread Tracy Spratt
If you pass a null value to an optional parameter, the function uses the default values defined in the declaration. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script![CDATA[ import mx.controls.Alert; import mx.core.Application;

[flexcoders] Saving State of the Flash movie

2008-11-14 Thread zoran_101
I have a question about the state of the Flash Movie, for example I have Cilick on a button 1 Click on button 2 And text in field2 And another click on button1 So I would like to define that as State1 in the .swf file. My BIG questions here is, is it possible to somehow externally save that state

Re: [flexcoders] Saving State of the Flash movie

2008-11-14 Thread Guy Morton
Can you use a SharedObject? On 15/11/2008, at 11:48 AM, zoran_101 wrote: I have a question about the state of the Flash Movie, for example I have Cilick on a button 1 Click on button 2 And text in field2 And another click on button1 So I would like to define that as State1 in the .swf file.

[flexcoders] Re: Calling functions with optional parameters

2008-11-14 Thread Amy
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: If you pass a null value to an optional parameter, the function uses the default values defined in the declaration. Great, Tracy. Way to make me feel like a dope ;-). BTW, how do you get such pretty formatting?

[flexcoders] Flex conversion feasibility study

2008-11-14 Thread prem toc
hi am working in design team of a financial company . I need a Flex conversion feasibility study done by any one already working in flex platform please mail it o my id [EMAIL PROTECTED] Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/

[flexcoders] Referring to parent in components

2008-11-14 Thread chrycheng
Is it alright for a component to make references to its parent via the parent property? Wouldn't this go against the principles of encapsulation/abstraction?

RE: [flexcoders] Is this a problem when my project decompiles??

2008-11-14 Thread Alex Harui
Do you have embedded SWFs? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djhatrick Sent: Friday, November 14, 2008 2:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Is this a problem when my project decompiles?? [SWF] someSwf.swf - 12,262,803 bytes after

RE: [flexcoders] Referring to parent in components

2008-11-14 Thread Alex Harui
I would say that making assumptions about your parent is a bad idea for the outermost class of a component, but sub-components being composited to form the component can certainly make assumptions about the parent as that is within the encapsulation. From: flexcoders@yahoogroups.com