[flexcoders] Adobe - Please answer / Best method for Flash install for everyday users

2006-08-13 Thread Robert Thompson
Dear Adobe,Internet Explorer requires SWFObject (and it works).Firefox now disables _javascript_ and some of my potetial visitors say they can't enter the site.I've noticed Adobe appears to:1. Run/Install Flash for IE.2. Display JPEG or GIF for Flash Movies and place a notice that "This site

Re: [flexcoders] Re: Best way to reference items in a parent MXML component?

2006-08-13 Thread Sergey Kovalyov
If you want to use utility function, make the utility class with static methods only and place the function there instead of parent class. Then call it from children via MyUtilityClass.myMethod(); On 8/13/06, ben.clinkinbeard [EMAIL PROTECTED] wrote: How would a child call a function in the

[flexcoders] datagrid column sort numerically?

2006-08-13 Thread Impudent1
I was noticing one one of my datagrids that its sorting a column of data as strings vs numbers. ie if it contains values of 0, 120, 2 as default ascending sort, clicking the header results in a descending sort of 2,120,0.

Re: [flexcoders] datagrid column sort numerically?

2006-08-13 Thread Carlos Rovira
Here is another link,This one from Mike Chambers for Flex 1.5.Don't know if could be of help.Best,C.On 8/13/06, Impudent1 [EMAIL PROTECTED] wrote: I was noticing one one of my datagrids that its sorting a column of data as strings vs numbers. ie if it

[flexcoders] how to use get/set to make a custom property? HELP!

2006-08-13 Thread shemeshkale
hello group. using flex 1.5, i want to make a 3 state checkbox so i have extended a button to do this. on this button i have added a new property named : checkState. please see the code below for my 2 files. i know there is a better way (much more elegant) with the use of get/set to make a custom

[flexcoders] Flex / Eclipse under Mac OS X

2006-08-13 Thread tomkrcha
Hi, does anybody already tried to run Eclipse under Mac OS X? Is that possible? And what about Flex? Because, all eclipse extensions are in Java, so is it possible to run Flex plugin for Eclipse under Mac OS X? Thanks Tom -- Flexcoders Mailing List FAQ:

[flexcoders] Re: how to use get/set to make a custom property? HELP!

2006-08-13 Thread gotgoose09
Rename checkState to _checkState. private var _checkState:String; public function get checkState():String { return _checkState; } public function set checkState(val:String):void { // make sure val is a valid value if (val == true || val == semi || val == false) {

Re: [flexcoders] MyPrintPreview,,,,,how to print images?

2006-08-13 Thread Michael Schmalle
Hi,This method might help you protected function getComponentBitmap(target:IUIComponent,transparent:Boolean = false):IUIComponent { var bitmapData:BitmapData = new BitmapData( Math.round(target.width / target.scaleX), Math.round(target.height / target.scaleY), transparent);

Re: [flexcoders] loading xml

2006-08-13 Thread list
Looks like you need to use the mxmlc compiler argument '-use- network=false' when compiling your application. Flex livedocs entry on this topic: http://livedocs.macromedia.com/ flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm? context=LiveDocs_Partsfile=1500.html You're code also looks a

RE: [flexcoders] Help regarding WebServices (FLEX) in Actionscript

2006-08-13 Thread Franck de Bruijn
Hi Samuel, A few things: Are you sure that you host your Flex application also at the www.ifeel3.com site? This is a necessity for a Flex application to communicate with a webservice, due to Flashs security model. (unless there is somewhere a crossdomain.xml file

[flexcoders] Re: AS3 Question

2006-08-13 Thread Weldon MacDonald
Do you use other peoples code? Of course you do, if only the mx classes. Do you know every detail of every implementation? Probably not, why would you want to. Isn't MXML doing the same thing? The syntax is different, the language structure is different and this is probably what your not

[flexcoders] Re: Help regarding WebServices (FLEX) in Actionscript

2006-08-13 Thread Samuel Colak
Solved ;) Actually i forgot that it doesnt execute inline (sniff sniff) but i have a way of coping with that ;) Many thanks for those interested. --- In flexcoders@yahoogroups.com, Samuel Colak [EMAIL PROTECTED] wrote: var tsWS:WebService = new WebService(); tsWS.wsdl =

Re: [flexcoders] Flex / Eclipse under Mac OS X

2006-08-13 Thread Samuel Colak
Yes, Eclipse does run under Mac OSX - it was because version 3.2 had issues under MacOSX that adobe didnt port Flex at the same time as the windows release - now this has occurred, it strikes me as a little odd that there isnt a mac version announced.As for the extensions - yes you are right in

[flexcoders] Re: Draw Label Border

2006-08-13 Thread Samuel Colak
You need to put the label within an object (panel or form) and then you can access the graphics properties within actionscript to draw a border using the lineTo function - dont forget the id though otherwise Flex wont know what you are taking about. Alternatively put it in a box :) But hey,

RE: [flexcoders] Re: Best way to reference items in a parent MXML component?

2006-08-13 Thread Franck de Bruijn
I was wondering about this after I sent my reply ... What if you need a return value? I think there are basically 3 ways to go: The circular dependency way: define an instance of your (custom) view stack in your child, with a setter. After you loaded the child into

Re: [flexcoders] loading xml

2006-08-13 Thread Samuel Colak
Aaron,there is a space in the filename " menu.xml" and i also think it might be in the resources directory - try "resources/menu.xml" - when you go and publish this you need to be aware that the relative path is from the root of the webserver - not the path of the flash file.I have a nice

RE: [flexcoders] loading xml

2006-08-13 Thread Franck de Bruijn
I use a function like this: private function loadXml(aXmlFileName:String, aResultCallBack:Function):void { var xmlLoader:HTTPService; xmlLoader = new HTTPService(); xmlLoader.resultFormat = e4x; xmlLoader.url = ""> xmlLoader.addEventListener(fault,

Re: [flexcoders] how to use get/set to make a custom property? HELP!

2006-08-13 Thread Samuel Colak
getter and setters are really easy in reality - simply an example is such private var __someproperty:Number = 0; public function get someproperty():Number { return __someproperty; } public function set someproperty(value:Number):void { __someproperty = value; }Note that you can exclude a get or

Re: [flexcoders] Flex / Eclipse under Mac OS X

2006-08-13 Thread hank williams
On 8/13/06, Samuel Colak [EMAIL PROTECTED] wrote: Yes, Eclipse does run under Mac OSX - it was because version 3.2 had issues under MacOSX that adobe didnt port Flex at the same time as the windows release - now this has occurred, it strikes me as a little odd that there isnt a mac version

[flexcoders] onData Equivalent?

2006-08-13 Thread Mike Britton
I see onData for the URLLoader class. What do I use to detect when data has loaded into a DataGrid?Thanks in Advance,Mike Britton __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: how to use get/set to make a custom property? HELP!

2006-08-13 Thread shemeshkale
tnx, this works great. but i m still confused with this set/get. where can i read about it? questions like: - who and when invoke each one? - which happens first? - the return on the 'get' is returning where? . . . --- In flexcoders@yahoogroups.com, gotgoose09 [EMAIL PROTECTED] wrote: Rename

Re: [flexcoders] MXML Reference

2006-08-13 Thread Greg Hamer
Weldon, The Flex 2 MXML tag reference is a subset of the Flex 2LanguageReference which you can find online here: http://livedocs.macromedia.com/flex/2/langref/ The packages in the Flex 2LanguageReference fall into two general categories: Flash Player core classes (flash.*), and MXML Framework

Re: [flexcoders] Type Coercion failed Error when returning date from web service

2006-08-13 Thread Oriol Gual
Hi Daniel,I'm having the same problem but using AMFPhp, did you finally solve it?Thanks,Oriol.2006/6/26, Daniel Tuppeny [EMAIL PROTECTED]: I think this is definately a bug. Attached is a screenshot showing my dates that are strings, and the relevant part of the WSDL (all items with

[flexcoders] Re: how to use get/set to make a custom property? HELP!

2006-08-13 Thread gotgoose09
The get function is invoked when you want to read it: object.someproperty; The set function is invoked when you set it: object.someproperty = semi; semi is the val parameter. Also, search in the Flex documentation for getter setter. --- In flexcoders@yahoogroups.com, shemeshkale [EMAIL

Re: [flexcoders] loading xml

2006-08-13 Thread aaron smith
Ok question about using the -use-network switch.why do you have to use that to access local files. That just seems like a pain. why would you have to switch back and forth depending on you're build type. DEV sv LIVE. What if in some cases you're DEV version needs to access network for remoting

[flexcoders] logging options other than the flex builder debugger?

2006-08-13 Thread aaron smith
Is there any logging / tracing options out there that I can use other than the current flex builder debugger? I am not building projects with flex builder, using flashdevelop... having a hard time without some sort of logging available. thanks __._,_.___ -- Flexcoders Mailing List FAQ:

[flexcoders] Re: logging options other than the flex builder debugger?

2006-08-13 Thread disasterstruckonthedayofmybirth
I just found one solution in flashdevelop.. http://www.flashdevelop.org/community/viewtopic.php?t=767 if anyone has any others. please shate. thanks. --- In flexcoders@yahoogroups.com, aaron smith [EMAIL PROTECTED] wrote: Is there any logging / tracing options out there that I can use

[flexcoders] Duplicate function error using setters

2006-08-13 Thread Oriol Gual
Hi,I'm getting a 1021 Duplicate function definition. when I declare the setters of to variables, there's no problem with the getters. The class is marked as Bindable, has a remote alias and both vars are private, and I'm using Flex 2 What I'm doing wrong?Thank you,Oriol. __._,_.___ --

[flexcoders] Re: Charting Dilemma....can anyone help?

2006-08-13 Thread yaagcur
I'm no expert but what I do for roll overs is import mx.charts.HitData; and in the function do something like private function formatDataTip(h:HitData) : String { return h.item.Publication etc. } --- In flexcoders@yahoogroups.com, Joshua Lingwai [EMAIL PROTECTED] wrote: Im

[flexcoders] how to communicate between Flash and Flex

2006-08-13 Thread junhufr
I built some polygonal buttons in Flash, and inside Flex, I want to invoke the flash, how to capture the click events inside Flash? Or is there another solution that i could made polygonal buttons inside Flex. Any help is appreciated. Jun -- Flexcoders Mailing List FAQ:

Re: [flexcoders] Help regarding WebServices (FLEX) in Actionscript

2006-08-13 Thread Samuel Colak
Franck,i managed to get it working without any issues - yes i own ifeel3.com, so there arent any security violations as the flash file is originating from the same site.The code issue you mention is very valid for the startup - once the wsdl is cached it doesnt take much more time - i forgot to

Re: [flexcoders] Flex / Eclipse under Mac OS X

2006-08-13 Thread Samuel Colak
Flex does run under Eclipse 3.2 - i can post screen shots ;)On 13 Aug 2006, at 16:11, hank williams wrote:On 8/13/06, Samuel Colak [EMAIL PROTECTED]at-home.com wrote:Yes, Eclipse does run under Mac OSX - it was because version 3.2 had issues under MacOSX that adobe didnt port Flex at the same

RE: [flexcoders] Adobe - Please answer / Best method for Flash install for everyday users

2006-08-13 Thread Matt Chotin
Hi Robert, Unfortunately we havent been able to recreate your experiences ourselves. The HTML that ships with Flex is meant to work with all browsers. It works in IE including dealing with the Eolas issue and it works in Firefox. Weve scanned everything we can think of to see if

RE: [flexcoders] Flex / Eclipse under Mac OS X

2006-08-13 Thread Matt Chotin
Flex Builder definitely had some probs in 3.2 but it doesnt mean it wont run at all. However we do need 3.2 support for the Mac release to work. We are building it right now and as mentioned hope to get it out before the end of the year (though the release date is not announced).

[flexcoders] How to detect absolute image URL when using mx.controls.Image control?

2006-08-13 Thread Sergey Kovalyov
Hi All! Sure, image URL is placed in source property of mx.controls.Image instance. But there could be relative path that is not starting from either http://; or https://;. Also the reference to the embeded resource could be the value of source property. So how to detect whether mx.controls.Image

Re: [flexcoders] How to get Panel headerHeight and what is its default value?

2006-08-13 Thread Sergey Kovalyov
Also this makes example, provided in help, not working. That example also refers to getStyle(headerHeight) value. As I remember it returned default value, not undefined, in Flex 1.5. On 8/12/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: On 8/12/06, Gunther Konig [EMAIL PROTECTED] wrote: Isn't

Re: [flexcoders] Flex / Eclipse under Mac OS X

2006-08-13 Thread hank williams
On 8/13/06, Matt Chotin [EMAIL PROTECTED] wrote: Flex Builder definitely had some probs in 3.2 but it doesn't mean it won't run at all.Oh, thats good to know. My impression based on other statements that I had heard here was that critical things did not work with 3.2. You

RE: [flexcoders] Flex / Eclipse under Mac OS X

2006-08-13 Thread Matt Chotin
Sorry, fixed internally (and still being fixed). Supported platforms as mentioned in our release notes and whatnot still holds. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams Sent: Sunday, August 13, 2006 12:22 PM To:

[flexcoders] Simple Question re: ToggleButtonBar

2006-08-13 Thread graysonpierce
Hello, I'm new to the list. TIA. I'm working in a space constrained environment and I'd like to have Flex 2 draw a ToggleButtonBar on multiple lines. I played around with width/height to no avail. Thank you, Gray -- Flexcoders Mailing List FAQ:

[flexcoders] Re: How to check that uploaded file is image?

2006-08-13 Thread arnold_charming
Hi! I don't want to open another thread about file upload so I'll post my question here. I'm using ProgreesEvent to check if uploaded file already exists on the server. Because of that I was wondering if the uploaded file (name) already exists on the server, how can I then manually break up the

[flexcoders] Re: onData Equivalent?

2006-08-13 Thread Mike Britton
The reason I ask: Cairngorm is a lightweight framework and I want to keep it that way. I want to Flex framework to do the heavy lifting on the UI. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Where should the services-config.xml file be?

2006-08-13 Thread Wally Randall
When I install the various sample CF/FLex apps they all contain a copy of the services-config.xml file and say to copy it to replace the default services-config.xml file. This seems wrong to me as it destroys whatever file exists for other applications. Adobe documentation for this file all

[flexcoders] File - flexcodersFAQ.txt

2006-08-13 Thread flexcoders
Flexcoders Frequently Asked Questions Last Updated: 30th May 2005 Contributors: Matt Chotin, Steven Webster, Alistair McLeod, Tariq Ahmed, Jeff Tapper,

Re: [flexcoders] File - flexcodersFAQ.txt

2006-08-13 Thread Weyert de Boer
Macromedia? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ *

RE: [flexcoders] File - flexcodersFAQ.txt

2006-08-13 Thread Matt Chotin
Yeah yeah, I submitted an updated version to Steven but he hasnt had time to get it up. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Weyert de Boer Sent: Sunday, August 13, 2006 3:17 PM To: flexcoders@yahoogroups.com Subject: Re:

[flexcoders] Re: Simple Question re: ToggleButtonBar

2006-08-13 Thread Tim Hoff
Hi Gray. This is a bit of a hack, but it does what you're looking for. -TH ?xml version="1.0"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" mx:Script ![CDATA[ import mx.events.ItemClickEvent; import mx.controls.Button; private function init():void {

[flexcoders] Re: T shirt......Was.. Loading Unicode values from XML and viewing in Flex compo

2006-08-13 Thread Michael
Gordon, Lol, thanks for the info. I will be attending the conference in Vegas, I already registered and have the hotel. - michael ritchie --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: If you attend MAX 2006, the annual Adobe user conference, there should be some

[flexcoders] Datagrid as an ItemRenderer for a ComboBox

2006-08-13 Thread graysonpierce
Hello, I'd like to have a datagrid show up when you pull down a combox box as in the following image: http://i8.tinypic.com/24l3r0z.png whichever line you highlight in the datagrid should return to the combox (obviously with some actionscript that matches the fields) But what Flex 2 does from

Re: [flexcoders] loading xml

2006-08-13 Thread Raffaele Sena
I had the same questions and I did some testing today. If you are using URLLoader.load you don't have to use the use-network compiler switch. Assuming you are using relative URLs, as in URLLoader.load(new URLRequest(data.file)), you will be able to load from local to local (when testing your

RE: [flexcoders] Where should the services-config.xml file be?

2006-08-13 Thread Matt Chotin
This is the services-xml that comes with the CF samples? You want to replace the one that comes with the flex WARs because that services-config will have the new entries for connecting to CF. For your default installations you generally dont edit services-config.xml that much, you

[flexcoders] RE: About the DateField

2006-08-13 Thread Muruganandh Ramadass
Hi,It's a bug.Logged.Thanks"Bas J. Brey" [EMAIL PROTECTED] wrote: Hi,Your code works but the datefield itself displays a datechooser (I only want to use a datefield component). Its the displayed one that doesnt work correctly JRegards,Bas Van: Muruganandh

[flexcoders] FDS - ie: how many users are connected

2006-08-13 Thread Alexander Tsoukias
Is there a way to keep track of how many users are currently on a fds app with fds? Thanks, Alexander -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups

Re: [flexcoders] Flex / Eclipse under Mac OS X

2006-08-13 Thread Samuel Colak
Matt,im working with the Eclipse group (former IBM team) and wondered if there was a bug tracker internally to adobe on what issues etc exist at the moment and how i can submit issues. In particular, i noticed alot of issues around flex binding to the help system and trying to link into the

RE: [flexcoders] Configuring a ColdFusion server for Flex

2006-08-13 Thread Bjorn Schultheiss
The docs should come with the CF 7.02 updater or look for Mystic on adobe labs Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ryan SabirSent: Friday, 11 August 2006 12:33 PMTo:

RE: [flexcoders] FDS - ie: how many users are connected

2006-08-13 Thread Matt Chotin
You can use a session listener with the FlexSession static methods to track session creation and desctruction. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alexander Tsoukias Sent: Sunday, August 13, 2006 9:03 PM To:

[flexcoders] Re: FDS - ie: how many users are connected

2006-08-13 Thread Alexander Tsoukias
1) Is there documentation related to this or any examples. 2) How can I track a list of which actual members are logged in? I guess this would be something like the peoplelist in asc? Your help is much appreciated. Alexander --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED]

[flexcoders] For Each loop with ArrayCollection

2006-08-13 Thread michrx7
In my flex app I send a company name over to a cfc. The CFC returns a query of company names with close matches. I am trying to output that list of names in an Alert but keep getting a list of [object Object] Of course the number of items in that list matches the number that should be

RE: [flexcoders] Re: FDS - ie: how many users are connected

2006-08-13 Thread Matt Chotin
http://livedocs.macromedia.com/flex/2/fds2javadoc/flex/messaging/FlexSessionListener.html Some more info here: http://livedocs.macromedia.com/flex/2/docs/1113.html The FlexCab example in FDS does this kind of tracking. Matt From: flexcoders@yahoogroups.com

RE: [flexcoders] For Each loop with ArrayCollection

2006-08-13 Thread Bjorn Schultheiss
mytestcompanyOutput = mytestcompanyOutput + testcompanyValue + "\n"; should be mytestcompanyOutput = mytestcompanyOutput + testCompany[ testcompanyValue ]+ "\n"; Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Re: Dynamic combobox

2006-08-13 Thread Jeremy Rottman
Yes I am returng several records in the result object. I re-wrote this and tried to use a for loop over the results, and that didnt get me anywhere either. --- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote: The red line seems very suspecious, I guess this has something to do

RE: [flexcoders] Re: Dynamic combobox

2006-08-13 Thread Bjorn Schultheiss
Try trace and debug branchID.dataProvider = result.FLD_BRANCH_NAME asArrayCollection;and see what it is. Are the values of the dp strings or objects? Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

[flexcoders] Re: For Each loop with ArrayCollection

2006-08-13 Thread michrx7
Ok, I tried that and now I get the following error when running the app: Error: Unknown Property: '[object Object]'. at mx.collections::ListCollectionView/http://www.adobe.com/2006/actionsc ript/flash/proxy::getProperty() at admin_AddCompany/::checkcompanyHandler() at

RE: [flexcoders] Re: For Each loop with ArrayCollection

2006-08-13 Thread Bjorn Schultheiss
So that means the the element you are trying to concatenate into a string is an object. So your Array contains objects and the value must be inside the object Array[index].value Get it, good Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From:

[flexcoders] Getting RPC Error, Channel.Connect.Failed error NetConnection.Call.Failed:HTTP

2006-08-13 Thread malik_robinson
Hi, I seem to be getting this error all of a sudden on some test code that used to work. Using Flex 2. Here is a snippet: Error: [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500"] ?xml

Re: [flexcoders] Re: Dynamic combobox

2006-08-13 Thread Jeremy Rottman
I ahve already traced and debugged them, and they are perfectly fine. The records I am returning to my objects are returned as query objects from my cfc.On 8/13/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote: Try trace and debug branchID.dataProvider =