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

2006-08-10 Thread Sergey Kovalyov
Hi All! When file filter like *.jpg; *.gif; *.png is used, it does not guarantee that file uploaded is actually an image, because any file could have such extension. Is there any way without server side code to check that uploaded file is image? Sergey. -- Flexcoders Mailing List FAQ:

Re: [flexcoders] TileList customizing

2006-08-10 Thread Sergey Kovalyov
Sure, but how this itemRenderer should look if writing it inline in MXML? On 8/10/06, Joost Nuijten [EMAIL PROTECTED] wrote: What about writing your own custom item renderer? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: Bug in printing with test case (was Re: [flexcoders] Flex print jobs)

2006-08-10 Thread Samuel Reuben
Can you try proceeding with theprinting on updateComplete event of the Image? If they are small images, I think Embeding the images in the swf should do the trick. thanks, -sam On 8/10/06, wayneposner [EMAIL PROTECTED] wrote: After going back and adding an event listener for the

[flexcoders] tycnique to load my rotation swf in my mxml page

2006-08-10 Thread Satish
Hi, --In my mxml file i am loading one rotation file for half of the screen. And in remainig half content is there. While i am trying load the rotate swf file with mx:Loader i am not atall able to load the file. mx:Image id="signup_content_loader" source="swf-templates/rotation.swf"

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

2006-08-10 Thread Stefan Schmalhaus
--- In flexcoders@yahoogroups.com, Sergey Kovalyov [EMAIL PROTECTED] wrote: Is there any way without server side code to check that uploaded file is image? No, you have to check the mime type of the uploaded file on the server side. Stefan -- Flexcoders Mailing List FAQ:

[flexcoders] Re: Timeout on RemoteObject (flex 1.5)

2006-08-10 Thread digital_eyezed
Hi, here it is: mx:RemoteObject id=getDataOOS source=uk.co.mycompany.SalesDAO showBusyCursor=true mx:method name=getData result=setDataProvider(event)/ /mx:RemoteObject public function setDataProvider(event){ summaryGrid.dataProvider = event.result; } I will try to see what

Re: Bug in printing with test case (was Re: [flexcoders] Flex print jobs)

2006-08-10 Thread Tom Chiverton
On Wednesday 09 August 2006 19:50, wayneposner wrote: var printjob:FlexPrintJob=new FlexPrintJob(); printjob.start(); var pp:PartPrint=new PartPrint(); pp.product=bom[1]; this.addChild(pp); callLater(doPrint,[printjob,pp]); private function doPrint(printjob:FlexPrintJob,

Re: [flexcoders] text_mc

2006-08-10 Thread Tom Chiverton
On Wednesday 09 August 2006 10:10, moni_singhal wrote: but this variable is nowhere defined Which variable ? in d file.so if anyone knows wat the. what. shud be d should. the. type of this variable ,plz let me know.i mean i should please. declare a variable of which type?.Bcz we are

Re: [flexcoders] Webservices help needed! Please

2006-08-10 Thread Tom Chiverton
On Wednesday 09 August 2006 13:59, dinger0007 wrote: dataProvider={getData.getData.lastResult.data.result} Try just getData.getData.lastResult.data -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP

Re: Bug in printing with test case (was Re: [flexcoders] Flex print jobs)

2006-08-10 Thread Tom Chiverton
On Thursday 10 August 2006 10:39, Tom Chiverton wrote: callLater(doPrint,[printjob,pp]); callLater(doPrint,pp); private function doPrint(printjob:FlexPrintJob, item:PartPrint):void private function doPrint(item:PartPrint):void Oops :-) -- Tom Chiverton

[flexcoders] Binding properties routine

2006-08-10 Thread Sergey Kovalyov
Hi All! I want to bind some properties of some controls (like Validator) created in constructor to some properties of class. But constructor is called before all the properties are set via respective setters from MXML component instantiation. So the binding in constructor dependent on properties,

Re: [flexcoders] Passing an id to a function?

2006-08-10 Thread Tom Chiverton
On Thursday 10 August 2006 03:18, flxcoder wrote: In this example, how can I pass the id of the element label to be updated? Just pass in the element itself: private function displayDate(date:Date,control:Text):void { var displayTo:String='';                 if (date == null)          

Re: [flexcoders] Passing an id to a function?

2006-08-10 Thread Tom Chiverton
                    displayTo.text = Date selected: ; displayTo = Date selected: ;                 else                     displayTo.text = Date selected: + displayTo = Date -- Tom Chiverton, not do well today :-) This email is

[flexcoders] adding and removing event listeners madness (flex1_5

2006-08-10 Thread ilya Devers
Hi, After a longtime just lurking i have ran into a mindboggling situation again. This is the setup: - regular cairngorm setup - a view with two inputs, an input and a slider - the slider has an snapInterval of 5000 - the text input has no Interval, obvious.. - when the user updates the slider

[flexcoders] adding a custom property - flex 1.5

2006-08-10 Thread shemeshkale
using flex 1.5 i m extending a Button and have added a custom property: time. it is probably a small thing of syntax or scope. but the value is not passed to the class. the mxml component: myComponents:myBTN id=customBTN time=now / and the AS: class myComponents.myBTN extends mx.controls.Button {

[flexcoders] Re: adding a custom property - flex 1.5

2006-08-10 Thread ilya Devers
are the attributes installed in the constructor? Maybe you have to check after the constructor, maybe on a click event... Or mayby you have to call super() in the constructor? just guessing really, but maybe it helps... --- In flexcoders@yahoogroups.com, shemeshkale [EMAIL PROTECTED] wrote:

[flexcoders] Re: adding a custom property - flex 1.5

2006-08-10 Thread shemeshkale
i do get the correct values on a click. but i do also need to get this property when component initialized - how do i do that? plus: how do i check from within the class if the value is changed? on an other button i have click=customBTN.time='later' and i have verified that the class gets this

RE: [flexcoders] TileList customizing

2006-08-10 Thread Joost Nuijten
A custom item renderer can be done like this: mx:TileList id=tileList mx:itemRenderer mx:Component //Your mxml code here, e.g. mx:Image

Re: [Junk E-Mail - LOW] [flexcoders] which event?!

2006-08-10 Thread arnold_charming
Hi! As it seems this doesn't work. I tried everything and show doesn't even raise an Alert.show() box. Belowis my code: File.mxml - mx:ViewStack id=myViews width=100% height=100% mx:Panel id=knjigaScreen width=100% height=100%

[flexcoders] Tree-to-tree drag drop

2006-08-10 Thread John Mazzocchi
This seems like such a simple thing, and yet ... I'd like to be able to drag drop nodes between 2 trees ... both to copy and to move. Now both trees have: dragEnabled=true dropEnabled=true. Scenario (a): they both have dragMoveEnabled=true ... so while they *will* MOVE nodes between each

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

2006-08-10 Thread Joost Nuijten
You don't have access to file that is about to upload due to security restrictions. So, the only thing you can do is to check is server side. A more advanced option is to write a Java applet or ActiveX component for it. Joost -Original Message- From: flexcoders@yahoogroups.com

Re: [flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-10 Thread ryanm
That makes sense but its still strange that when I created an XML var in side application, it worked: var localXML:XML = character data\u00A9/data labelInverted Exclamation Mark/label /character; I was able to see the copyright symbol as HTML on my label. What threw me was that I

Re: [flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-10 Thread ryanm
I got word back that the SpiderMonkey implementation of E4X does NOT treat \u as an escape sequence in an XML literal, so I've filed it as an AS3 bug that we do. However, whoever gets assigned this bug will have to consult the E4X spec carefully to determine whether it has anything to say

Re: [flexcoders] accessing item data in an XMLList

2006-08-10 Thread Rick Root
Gordon Smith wrote: Your code is properly traversing all nodes, including the root node. But when you recursively call showList(item.children()), the first thing that happens is that you set txtResults.txt = ; DING DING DING! Thanks Gordon. You see when I wrote the function

[flexcoders] centerPopUp in ActionScript component

2006-08-10 Thread dadrobson
I wrote a component in ActionScript that is designed to be used as a pop-up, and it needs to center itself. I tried invoking PopUpManager.centerPopUp(this) from the constructor, and then I tried it in the createChildren method, but the Flash player seemed to ignore it both times. The pop-up kept

[flexcoders] Image reading from Oracle Intermedia

2006-08-10 Thread tinywhistles
Hi I am storing images in Oracle Database using Oracle Intermedia. I need to display the images directly on the UI without storing them into the server filesystem. This I have achieved using JSP by embedding scriplets. Now I'm trying to render the same images using Flex and AMF. Could anyone

[flexcoders] geturl() along with javascript to modify the specified url

2006-08-10 Thread moni_singhal
Hi All, I m trying to migrate an application from Flex1.5 to Flex2. In flex 1.5 the code was smwt like this: getURL(javascript:window.open(' + UPLOAD_PAGE_URL + ?userID= + userID + userName= + userName

Bug in printing with test case (was Re: [flexcoders] Flex print jobs)

2006-08-10 Thread wayneposner
Hi Sam, I tried a few events and complete was the only one that would work. Unfortunately, the data (path to the images) is being fed via an XML file which is constantly being updated, so there is no way for me to embed the images. I'm trying to build a custom template batch printing

[flexcoders] Re: adding and removing event listeners madness (flex1_5

2006-08-10 Thread wayneposner
I think you're trying to do something I just did. Add the following mxml lines to your component (just change the values as necessary): mx:NumericStepper id=resultStepper focusOut=updateSlider() value=100 change=updateSlider() maximum=1000 minimum=0 stepSize=10 textAlign=left x=168 y=18

[flexcoders] text_mc

2006-08-10 Thread moni_singhal
Hi All, I m trying to migrate an application from flex1.5 to lfex2 In few of the fiels we are using a variable text_mc like this: The problem is that variable /property is not defined anywhere in the code. So m not able to decide that variable shud be of which type. The code is smwt like this:

[flexcoders] EBay SOAP Headers

2006-08-10 Thread npkrunde
Hi All, I am trying to make Flex 2 talk to EBay. I can send SOAP message to EBay, but they use SOAP Headers to pass along account info. Also they have 2 levels of headers. See the example below. I see how to create simple SOAP headers (key:value). How do you create a SOAP header that has several

Re: [flexcoders] Image reading from Oracle Intermedia

2006-08-10 Thread The Irrelevant Elephant
tinywhistles wrote: I am storing images in Oracle Database using Oracle Intermedia. I need to display the images directly on the UI without storing them into the server filesystem. This I have achieved using JSP by embedding scriplets. Now I'm trying to render the same images using Flex and

Re: [flexcoders] Simple Date Stuff

2006-08-10 Thread Tom Chiverton
On Wednesday 09 August 2006 18:06, Jeff Tapper wrote: private var date2:Date = new Date(date1.getFullYear(),date1.getMonth(),date1.getDate()-30); today:Date=new Date(); millsPerDay:Number= 1000 * 60 * 60 * 24; 30daysago:Date=new Date( today.getTime()-30*millsPerDay );

[flexcoders] Re: Passing an id to a function?

2006-08-10 Thread flxcoder
Thanks all --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote:                     displayTo.text = Date selected: ; displayTo = Date selected: ;                 else                     displayTo.text = Date selected: + displayTo = Date -- Tom

Re: [flexcoders] Re: ComboBox doesn't update display unless 'activated' first

2006-08-10 Thread Tom Chiverton
On Wednesday 09 August 2006 17:26, ben.clinkinbeard wrote: // WITHOUT THIS LINE, COMBOBOX WILL NOT UPDATE ITS DISPLAY ModelLocator.getInstance().arr_selectedPlans.source = arr.toArray(); Should I really have to do this? I thought ArrayCollection was supposed to have all these magical

[flexcoders] Getting XML from server

2006-08-10 Thread falecomozig
Hi fellows. I have a test application where I send two variables to the server, I get the two as POST vars and make a search in the db. As a result, I have an agent sending this XML: ?xml version=1.0? root solicitante nomeAAA/nome ramal/ramal departamentoBBB/departamento secaoCCC/secao

[flexcoders] multi-axis charts

2006-08-10 Thread dadrobson
Eric Anderson's intro to F2B3 indicates that Flex's Charting components provide advanced charting capabilities including multi-axis charts. Does this mean that a chart can have more than one Y-axis? I'm building an app with a LineChart where the ideal situation would be to have a separate Y-axis

[flexcoders] Re: Binding properties routine

2006-08-10 Thread thunderstumpgesatwork
Yeah, If you have a UIComponent (or subclass of), you can bind properties in the initialize() function. You can also overload the setters, and create/manage the bindings in the setters. Just remember when the setter changes to a new value, you need to remove the old binding to the previous value

[flexcoders] Re: Timeout on RemoteObject (flex 1.5)

2006-08-10 Thread digital_eyezed
Ok how weird is this: In the remote object debug you can see the return with all the data being sent: Info: Completed 'uk.co.mycompany.dao.GetSalesDAO.getData' with reply method 'onResult' in 96295ms Info: Serializing response (Message #0 targetURI=/1/onResult, responseURI=null) (Array

Re: [flexcoders] Re: Binding properties routine

2006-08-10 Thread Sergey Kovalyov
So I can do it this way: public override function initialize() : void { super.initialize(); BindingUtils.bindProperty(_validator, expression, this, expression); BindingUtils.bindProperty(_image, source, this, imageSource); } True? On 8/10/06, thunderstumpgesatwork [EMAIL

[flexcoders] Re: Getting XML from server

2006-08-10 Thread dadrobson
Here's something you can try: Instead of this... requestSolicitante.lastResult.solicitante.nome; Try this... private function onResult(oEvent:ResultEvent):void { var r:XML = XML(oEvent.result); txSolicitante.text = r.solicitante.nome; } --- In flexcoders@yahoogroups.com, falecomozig [EMAIL

RE: [flexcoders] Getting XML from server

2006-08-10 Thread Darren Houle
Try requestSolicitante.lastResult.root.solicitante.nome Darren From: falecomozig [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Getting XML from server Date: Thu, 10 Aug 2006 15:03:14 - Hi fellows. I have a test application

Re: [flexcoders] newbie poblem

2006-08-10 Thread Tom Chiverton
On Wednesday 09 August 2006 13:37, erixuss wrote: folder or to my server (with crossdomain.xml file) and change url nothing happens, the datagrid is empty. Anybody can help me? Hard to tell with than little info. Do you have the debug version of the Flash player installed ? Otherwise some (all

Re: [flexcoders] How do I implement HTML wrapper for loading several SWF files

2006-08-10 Thread Tom Chiverton
On Thursday 10 August 2006 00:52, yaagcur wrote: This looks like it might be what I'm after but unfortunately the 'view source' does not appear to be enabled. Any chance of that being amended or is there another similar example with code out there You want the HTML source of the page, not the

Re: [flexcoders] multi-axis charts

2006-08-10 Thread Paul BH
you can have two vertical axes - look at secondVerticalAxis property (i think)but as far as I can see, only two axes allowed...On 8/10/06, dadrobson [EMAIL PROTECTED] wrote: Eric Anderson's intro to F2B3 indicates that Flex's Charting components provide

[flexcoders] Flashvars not available

2006-08-10 Thread grahampengelly
HiCan someone please point out the glaringly obvious thing that I am doing that is preventing me accessing flashVars from my application. I have included the flashVars in the object tags of the html wrapper page (as param tags and in the embed) and am attempting to access them from my mxml like

[flexcoders] Re: Getting XML from server

2006-08-10 Thread falecomozig
That worked. Thanks a lot. I´m just starting with flex.. so.. that´s a good help. Zig --- In flexcoders@yahoogroups.com, dadrobson [EMAIL PROTECTED] wrote: Here's something you can try: Instead of this... requestSolicitante.lastResult.solicitante.nome; Try this... private function

[flexcoders] Debugging Web Service call

2006-08-10 Thread Tom Lee
Hi guys, Im having some trouble with a WebService call and cant seem to pinpoint the trouble. The WSDL loads fine, but any calls to the web service result in nothing. No fault, no result, not even the busy cursor (even though Ive got showBusyCursor=true). Anyone have any suggestions

Re: [flexcoders] multi-axis charts

2006-08-10 Thread Brendan Meutzner
Yes, you can have a second vertical axis, which utilizes seperate series allowing you to have two different chart types, different axis values, etc...There has been some discussion (last week I believe) about writing a custom component to support more than 2 axis... nobody has shared a solution

[flexcoders] Re: Debugging Web Service call

2006-08-10 Thread flexnadobe
Hi Tom, If you want try to post some code so we can see what you are doing? There are alot of cool bro's on this site that will help but we will need a starting point. cya, Rich --- In flexcoders@yahoogroups.com, Tom Lee [EMAIL PROTECTED] wrote: Hi guys, I'm having some trouble with

Re: [flexcoders] Flashvars not available

2006-08-10 Thread Brendan Meutzner
can you post the html script/tags where the flashVars are embedded? They do work...On 8/10/06, grahampengelly [EMAIL PROTECTED] wrote: HiCan someone please point out the glaringly obvious thing that I am doing that is preventing me accessing flashVars from my

[flexcoders] Cainrgorm/Flex 2 document

2006-08-10 Thread Paul Andrews
Hi, I've just been told of a document ( http://www.digimmersion.com/support/Flex%20UI%20Design%20For%20Cairngorm.pdf ) describing one way to go with Cairngorm/flex when developing applications. It might be interesting for those finding their feet with Cairngorm and/or Flex 2. The document

[flexcoders] how do I get the type or class of an object in AS3

2006-08-10 Thread hank williams
I have an object that is either a TextArea or a TextInput. I want to find out which one it is. How do I do that? Hank -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

[flexcoders] display dataTip depending on series

2006-08-10 Thread Paul BH
Hi there,trying to buidl a chart where dataTips are only rendered under certain circumstances, for example, a chart has two series - I want to always display the datatips on one series, but on the other, only if certain conditions are met (say, the value 100, whatever..) theproblem is that the

Re: [flexcoders] how do I get the type or class of an object in AS3

2006-08-10 Thread Claus Wahlers
hank williams wrote: I have an object that is either a TextArea or a TextInput. I want to find out which one it is. How do I do that? if(o is TextArea) { .. } Cheers, Claus. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

RE: [flexcoders] how do I get the type or class of an object in AS3

2006-08-10 Thread Andrew Trice
Try using the is keyword: if( myObject is TextArea ){ //do something } else{ /// do something else } -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog:

RE: [flexcoders] how do I get the type or class of an object in AS3

2006-08-10 Thread Nelson Batista
Hello Hank, In heather TextArea and TextInput objects you have a property called ClassName that has your object type. Best regards, Nelson Batista From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams Sent: quinta-feira, 10

RE: [flexcoders] Re: Caringorm - Visual Flowchart Poster!

2006-08-10 Thread Steven Webster
I'm not sure I like the Validator in there; it's not really a part of the Cairngorm architecture, it's more a practice one might choose to employ rather than one you have to employ. Steven Steven

RE: [flexcoders] Cainrgorm/Flex 2 document

2006-08-10 Thread Evan Gifford
Nice! They actually used the Cairngorm diagram in this PDF, but it hasnt really been finalized. (Hopefully my edits last night were correct!) Specifically, I need Alexs blessing on my depiction of a ModelObject in the view doing the verification and also business logic

Re: [flexcoders] how do I get the type or class of an object in AS3

2006-08-10 Thread hank williams
Thanks Claus. So is is a new keyword. Cant find it in the online docs because I guess its to common so it returns nothing found. Does that have any other uses? Thanks Hank On 8/10/06, Claus Wahlers [EMAIL PROTECTED] wrote: hank williams wrote: I have an object that is either a TextArea or a

RE: [flexcoders] Re: Caringorm - Visual Flowchart Poster!

2006-08-10 Thread Evan Gifford
That was my concern as well Is Alex still on vacation? I cant really think of a compromise with this single diagram to incorporate what Alex suggested with depicting the Business Logic in the view like that and still represent pure cairngorm best practices. I think Ill take it

RE: [flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-10 Thread Gordon Smith
Sorry, no t-shirt... just our thanks for helping us improve Flex. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ritchie Sent: Wednesday, August 09, 2006 5:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Loading

[flexcoders] Re: Timeout on RemoteObject (flex 1.5)

2006-08-10 Thread Doug Lowder
A fault handler on your RO may help. mx:RemoteObject ... fault=onRemObjError(event) Then define the handler function and maybe show an alert containing event.fault.faultstring to let you know a fault occurred. --- In flexcoders@yahoogroups.com, digital_eyezed [EMAIL PROTECTED] wrote: Ok how

Re: [flexcoders] how do I get the type or class of an object in AS3

2006-08-10 Thread Tom Bray
Hey Hank,Check the Other section at this link: http://livedocs.macromedia.com/flex/2/langref/operators.htmlas is a new one too. -TomOn 8/10/06, hank williams [EMAIL PROTECTED] wrote: Thanks Claus. So is is a new keyword. Cant find it in the online docs

[flexcoders] request for adobe: stop being so private

2006-08-10 Thread Pan Troglodytes
Time and again, I have tried extending components only to find that the important stuff is marked private. I suggest this approach for adobe: mark things as protected by default, not private. Only mark something as private if you're really, really sure it should never be overridden by someone

Re: [flexcoders] how do I get the type or class of an object in AS3

2006-08-10 Thread Claus Wahlers
hank williams wrote: So is is a new keyword. Cant find it in the online docs because I guess its to common so it returns nothing found. Does that have any other uses? Not that i know of.. http://livedocs.macromedia.com/flex/2/langref/operators.html#is Although the instanceof operator is

Re: [flexcoders] how do I get the type or class of an object in AS3

2006-08-10 Thread hank williams
Thanks Tom,I've been using as already. In fact, I must say I am really impressed with the compiler, which actually suggests that you use as when you are trying to do type casting the old type(object) way. It says something like hey dude I think you are tryin to type cast, but the way you're

[flexcoders] How to load an external txt file into a mx:TextArea

2006-08-10 Thread Igor Costa
Hi listI have some problems how do I load an external .tex file into a mx:TextArea component?I tried to load using AS3 but no sucess and then I tried to load using an HTTP service to do that but no sucess. Any one could help me?Thanks-- Igor Costawww.igorcosta.com

[flexcoders] hitTestObject on ChartElements

2006-08-10 Thread Brendan Meutzner
Hey,I'm trying to write an annotationLayer for Charts in which I can run a hitTestObject call for the individual chart elements... eg. Columns, data points, etc...I've been digging through the docs, and tracing out the generated objects, but haven't had any luck finding a way to access the

Re: [flexcoders] request for adobe: stop being so private

2006-08-10 Thread Paul BH
I second thatOn 8/10/06, Pan Troglodytes [EMAIL PROTECTED] wrote: Time and again, I have tried extending components only to find that the important stuff is marked private. I suggest this approach for adobe: mark things as protected by default, not private.

[flexcoders] calling a method using a string

2006-08-10 Thread geiger947
Can I call a method on another class using a string? in as2 you used to be able to call otherclass[method]() to execute it. How do you do this in as3 ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] create swc from mxml components?

2006-08-10 Thread Douglas Knudsen
Can we create a swc from mxml components? I'm trying to in Flex Builder, but is not working. I have a mxml based component say com.foo.ui.myTree. Seems to build a swc in a library project. I drop the swc into a FB project and add it to the library but can't see com.foo.ui.myTree. Somethign

[flexcoders] How do I create an XML object inline to pass to addItem?

2006-08-10 Thread Jeff Kroll
This has been driving me crazy for a day! I have defined my XMLListCollection as follows: mx:XMLListCollection id="customAttributes"mx:XMLList xmlns=""custAttr label="myCustomer" value="Big Cheese, Inc."/custAttr label="serverRoom" value="Ice Box"/custAttr label="tempThreshold"

[flexcoders] Re: Flashvars not available

2006-08-10 Thread grahampengelly
Hi Brendan Thanks for your quick response. As I thought it was obvious and I have just realised what it was. I had edited the index.template.html file to add some test 'flashVars' but I had only added them to the html inbetween the 'noscript' tags. I hadn't really looked at the content of the

[flexcoders] finding the URL that the current flex application was loaded from

2006-08-10 Thread hank williams
How do I find the URL that the current flex app was loaded from? Hank -- 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

[flexcoders] Re: Timeout on RemoteObject (flex 1.5)

2006-08-10 Thread digital_eyezed
Tried that, still does nothing, it's just the most annoying thing ever, even worse than that frog. Here is the main code from the page: ?xml version=1.0 encoding=utf-8? mx:Application usePreloader=false xmlns:mx=http://www.macromedia.com/2003/mxml; width=100% height=100% mx:Script ![CDATA[

[flexcoders] Re: Search Flex2 LiveDocs Bookmarklet

2006-08-10 Thread Steve Gustafson
Oops.It occurred to me that saving the bookmarklet from some peoples email program may not work, so I put up a quick webpage that should work for anyone. You should be able to test and load the Flex2 LiveDocs search bookmarklet from the link below.

RE: [flexcoders] Re: Debugging Web Service call

2006-08-10 Thread Tom Lee
Yeah, I hate generic questions too, sorry about that. Problem is, I can't show you the web services due to company policy, and can't show you my code because it would expose the web services. I can tell you that I've connected successfully to other web services using the same syntax, so I'm

[flexcoders] Search Flex2 LiveDocs Bookmarklet

2006-08-10 Thread Steve Gustafson
Greetings,I've created a bookmarklet that uses Google to search the Flex 2 Live Docs. I find this to be the fastest way to deal with Live Docs.Firefox users:Right click this link, and save as a bookmark. I keep mine on my bookmarks toolbar for quick access. IE Users:Right click this link, click

[flexcoders] Re: create swc from mxml components?

2006-08-10 Thread Douglas Knudsen
nevermind, I had a id-ten-t moment there. Sorry to eat the bandwidht.DKOn 8/10/06, Douglas Knudsen [EMAIL PROTECTED] wrote:Can we create a swc from mxml components? I'm trying to in Flex Builder, but is not working. I have a mxml based component say com.foo.ui.myTree. Seems to build a swc in

Re: [flexcoders] finding the URL that the current flex application was loaded from

2006-08-10 Thread Brendan Meutzner
Application.url = "" URL from which this Application's SWF file was loaded. On 8/10/06, hank williams [EMAIL PROTECTED] wrote: How do I find the URL that the current flex app was loaded from? Hank __._,_.___ -- Flexcoders

Re: [flexcoders] Re: Search Flex2 LiveDocs Bookmarklet

2006-08-10 Thread Paul BH
hi steve - dunno if you saw my post about a similar thing yesterday - lets you search livedocs flexcoders at the same time...http://www.eyefodder.com/blog/2006/08/finding_flex_facts_faster.shtml now if I could only get livedocs pages to load quicker...On 8/10/06, Steve Gustafson [EMAIL

Re: [flexcoders] hitTestObject on ChartElements

2006-08-10 Thread Paul BH
I'm doing similar digging at the moment- what are you trying to find? so a rollover event on a chart (or mouseup or whatever) sends a ChartItemEventthat has a hitData property (also hitSet which is an array of hitDatas) when you're at hitData you can get everything you need from there on

[flexcoders] Re: DataGridEvent.HEADER_RELEASE not working

2006-08-10 Thread Aldo Bucchi
ou my mistake... it DOES work. but not for what I want. I need to listen to column drag events... any ideas? On 8/10/06, Aldo Bucchi [EMAIL PROTECTED] wrote: DataGridEvent.HEADER_RELEASE not working anyone else noticed this?.. dataGrid.addEventListener( DataGridEvent.COLUMN_STRETCH,

Re: [flexcoders] Re: Search Flex2 LiveDocs Bookmarklet

2006-08-10 Thread Steve Gustafson
Hey Paul,I did see that. I thought I'd make the bookmarklet available so non-firefox users had an option too. SteveOn 8/10/06, Paul BH [EMAIL PROTECTED] wrote: hi steve - dunno if you saw my post about a similar thing yesterday - lets you search livedocs

[flexcoders] Flash Event vs FLexEvent in custom component?

2006-08-10 Thread Clare Todd
I'm writing a custom component (extending UIComponent) and want to issue some events. All of them are simple "I happened" sort of events like "loginButtonClicked", "theyMovedTheirMouse", etc -- no additional information passed in the event object other than target, type, etc. I have been

[flexcoders] how to add event into menuBar xml item?

2006-08-10 Thread Igor Costa
Hi listHow should I create a event into the mx:menuBar to add some transitions between my states?here's what I havemx:MenuBar alpha=0 id=itensdoMenu labelField=@label mx:XMLList menuitem label=Home itemClick=currentState='' /menuitem menuitem label=Sobre o Flex click=currentState='sobreFlex'

[flexcoders] T shirt......Was.. Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-10 Thread Impudent1
Gordon Smith wrote: Sorry, no t-shirt... just our thanks for helping us improve Flex. Eh he, well you guys need to talk amongst your depts :0 I was lucky enough to earn the after effects one and a couple encore ones. Granted that was a lot more than one bug report and a few surveys. I

[flexcoders] Re: Timeout on RemoteObject (flex 1.5)

2006-08-10 Thread Doug Lowder
I'm stumped. But just for kicks, try: mx:RemoteObject id=getDataOOS source='uk.co.mycompany.dao.GetSalesDAO showBusyCursor=true result=hello(event) fault=onRemObjError(event) / No method declaration, and result and fault handlers on the RO itself. You should be able to call the getDataOOS()

[flexcoders] FlexSession expiration question

2006-08-10 Thread Dmitry Miller
I have a managed Object (via FDS) which I need to update via server-side push. Also, I have multiple clients that need to display this up-to-date object. Everything works great untill I leave one of the clients for 20 minutes or so after which the client stops receiving updates from the server. I

[flexcoders] Split Application in Sections. Prevent one loading only.

2006-08-10 Thread falecomozig
Hi, I´m new in Flex, so forgive me if this is a dumb question. I want to know what´s the normal way to split a application, so it doesn´t need to load everything at the begining. To make it clear, let´s say I have a form with 3 sections. Only the first section is needed, the section 2 and 3 are

[flexcoders] Re: ComboBox doesn't update display unless 'activated' first

2006-08-10 Thread ben.clinkinbeard
Neither of those suggestions work :( Guess I have to stick with what I've got. Ben --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 09 August 2006 17:26, ben.clinkinbeard wrote: // WITHOUT THIS LINE, COMBOBOX WILL NOT UPDATE ITS DISPLAY

[flexcoders] ToggleButtonBar deselect

2006-08-10 Thread Tom Fitzpatrick
Is there any way to programmatically deselect a button on the ToggleButtonBar - to start out, say, with no button selected? - Tom -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] Split Application in Sections. Prevent one loading only.

2006-08-10 Thread Thomas Rühl -akitogo-
Hi there, yes, this is possible. You'd need to create one application for each of the parts you want to be loaded during runtime. The compiler creates the additional swfs for you. Then take a look at the SWFLoader class and the events the TabNavidator dispatches. Cheers, Thomas falecomozig

[flexcoders] Creating State using ActionScript

2006-08-10 Thread Sergey Kovalyov
Hi All! Does anybody have experience creating view states using ActionScript, not in MXML? Imagine, I have two view states, defined in MXML and I want to extend this structure with one more state in ActionScript class inherited from this MXML. How to do that? Thank you in advance. Regards,

RE: [flexcoders] Re: adding a custom property - flex 1.5

2006-08-10 Thread Tracy Spratt
Instead of a public variable, use a setter function: Public function set time(sTime:String):Void { //do whatever you need } You can also provide a getter function. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of

[flexcoders] Re: Binding properties routine

2006-08-10 Thread thunderstumpgesatwork
That should work. I can't tell exactly where the _validator and _image properties are defined, but if they're just children of your component, they should be initialized by the time initialize() is called. cheers, Thunder --- In flexcoders@yahoogroups.com, Sergey Kovalyov [EMAIL PROTECTED]

RE: [flexcoders] Simple Date Stuff

2006-08-10 Thread Gordon Smith
Why Flash doesn't have a proper set of date and time function I dunno... ActionScript has the same date and time functions as JavaScript/ECMAScript as far as I know. We're just trying to follow standards when that makes sense and not reinvent everything. If we decide to add more functionality

Re: [flexcoders] Creating State using ActionScript

2006-08-10 Thread Johannes Nel
http://www.lennel.org/blog/2006/04/09/some-more-on-viewstacks-and-states/ On 8/10/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: Hi All!Does anybody have experience creating view states using ActionScript,not in MXML? Imagine, I have two view states, defined in MXML and Iwant to extend this

[flexcoders] Scoping Assistance

2006-08-10 Thread Rick Root
I'm working on an app with a mainPanel and a couple of popup windows that do various things.. one of them allows a user to enter search criteria, and then the grid on the main panel is populated with results. The other popup allows a user to select options for dropping the data to a file.

  1   2   >