RE: [flexcoders] changing a component's currentstate...

2007-09-12 Thread Alex Harui
Recent flash player downloads should be ok. 9,0,0,28 or later. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Tuesday, September 11, 2007 10:07 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] changing a

RE: [flexcoders] type 1009 because of zoominstance?

2007-09-12 Thread Alex Harui
Seems like you're hitting a timing issue. Effects during a busy period like creation time can be slightly skewed. Make sure the effect targets are in fact created and ready. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks

RE: [flexcoders] modules httpservice

2007-09-12 Thread Alex Harui
I think the original poster is hitting a shared code issue. HTTPService might be in two different modules? If putting a dummy HTTPService in the main app makes it go away, then that's what it is. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Re: font in comboBox and Title not the same SIMPLE TEST CASE

2007-09-12 Thread Alex Harui
Typically, to use embed fonts in a CB, you embed both normal and bold faces under the same font name and do not specify a fontStyle in the styledecl. I modified your example. Both embed font CB's are now the same: ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] Re: Mousewheel on a scrollbar (List or combobox)

2007-09-12 Thread kevintuhumury
No, but since I was using dynamic data, I thought that might be a reason. I just tested it with static data and it's still not working. I really don't get it. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Are you saying that it works for you with static data, but not

[flexcoders] Re: @ symbol and xml

2007-09-12 Thread kevintuhumury
LOL, I posted this way before the other guys, why is it taking so long for my messages to show up? --- In flexcoders@yahoogroups.com, kevintuhumury [EMAIL PROTECTED] wrote: The @ symbol is basicly a shortcut for attribute(). var oXML:XML = xmlelement type=text //xml [EMAIL PROTECTED] for

RE: [flexcoders] Re: Mousewheel on a scrollbar (List or combobox)

2007-09-12 Thread Alex Harui
BTW, mouseWheel only works on Win. I've also had problems on Win with laptop touchpad mousewheels. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kevintuhumury Sent: Wednesday, September 12, 2007 12:19 AM To:

[flexcoders] File upload in Flex

2007-09-12 Thread stephen50232
Hi, I've got a new project, which requires that the user can upload resources to a system, which other users can access and download through the same system. The types of documents which can be uploaded through the system will include PDFs, Word docs, Excel docs, but this list may increase (e.g.

[flexcoders] Re: PrintDataGrid and the last row problem

2007-09-12 Thread mitek17
Hi Alex, There are 5 columns in the grid, 3 of which have custom itemRenderers. Flex 2.0.1 SDK Hotfix 1 Thanks! Regards, Dmitri. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Custom renderer or default renderers? Which version of Flex? I'm investigating a similar

Re: [flexcoders] File upload in Flex

2007-09-12 Thread Roman Protsiuk
It's possible. See FileReference and FileReferenceList. R. On 9/12/07, stephen50232 [EMAIL PROTECTED] wrote: Hi, I've got a new project, which requires that the user can upload resources to a system, which other users can access and download through the same system. The types of

[flexcoders] Re: File Upload Weirdness (DataEvent.UPLOAD_COMPLETE_DATA)

2007-09-12 Thread Stefan Schmalhaus
Come on, guys, I can't believe that I'm the only one with this problem. ;-)

Re: [flexcoders] Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-12 Thread Tom Chiverton
On Tuesday 11 Sep 2007, [EMAIL PROTECTED] wrote: Holmes, Brendan Meutzner and myself just launched. flexmdi is a framework for creating MDI interfaces in Flex that is open source, You star ! :-) -- Tom Chiverton Helping to quickly target open-source developments on:

Re: [flexcoders] Getting xml in code only

2007-09-12 Thread Muzak
When loading at runtime the path has to be relative to where the html file (holding the swf) is located. If you left everything at the default settings for your project, the /bin folder is where your app is compiled to. Files that need to be loaded at runtime should be in the /bin folder (or

RE: [flexcoders] Flash Player Instance Unique ID

2007-09-12 Thread Mark Ingram
I think I've found a way around it - pass a connection name with a unique number through to the widget on load up (probably via flash vars or url) - that way the application knows which name to send on. At the same time we can send the name of the application connection name + a unique number.

[flexcoders] Re: Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-12 Thread ben.clinkinbeard
LOL, its so hard to tell from text on a screen Tom... was that sarcasm? No worries if it is, just curious. Ben --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 11 Sep 2007, [EMAIL PROTECTED] wrote: Holmes, Brendan Meutzner and myself just launched.

[flexcoders] Resource bundle chaining

2007-09-12 Thread espic
How do I do a multiple resource bundle chaining using ActionScript in Flex 2.

[flexcoders] tab navigator componene

2007-09-12 Thread Muharem Lubovac
Greetings, I'm trying to fire an event when a tab is changed within tab navigator component but I'm not having any luck. Each tab has a canvas that has a list. When I change tab I want to fire an event so I can call appropriate HTTPService in order to populate the list. Any ideas are greatly

[flexcoders] Re: Adobe Air - How to save remote .flv to applicationStorageDirectory

2007-09-12 Thread francescomagalini
?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import flash.filesystem.*; import flash.events.*; var os:File = File.applicationStorageDirectory.resolve (prisma.flv); var ds:File =

[flexcoders] 1009 error

2007-09-12 Thread grimmwerks
This is getting frustrating. I've removed all references to transitions/effects, and have a simple button on click calling function {resetRegWindow()}. There IS a resetRegWindow function. I get this: TypeError: Error #1009: Cannot access a property or method of a null object reference.

Re: [flexcoders] 1009 error

2007-09-12 Thread Jobe Makar
Hi, That error isn't saying that the function doesn't exist. It is saying that the thing that is supposed to contain that function doesn't exist. Perhaps there is a slight scoping issue here? Jobe Makar http://www.electrotank.com http://www.electro-server.com phone: 252-627-8026 mobile:

Re: [flexcoders] Flex and Verisign

2007-09-12 Thread Tom Chiverton
On Tuesday 11 Sep 2007, [EMAIL PROTECTED] wrote: Has anybody out there implemented a totally Flex e-commerce website with Verisign? I'm having trouble implementing the Verisign seal I downloaded from them Assuming this 'seal' is some sort of Java applet, DHTML, IFRAME or other 'your site is

Re: [flexcoders] Re: Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-12 Thread Tom Chiverton
On Wednesday 12 Sep 2007, [EMAIL PROTECTED] wrote: LOL, its so hard to tell from text on a screen Tom... was that sarcasm? No worries if it is, just curious. No, tis real ! We starting building something similar, and this is a lot better. The only thing ours has over it is save/load of laytouts

[flexcoders] deleting rows from grid --- need help

2007-09-12 Thread siva.flex
Hi All , Need some help in deleting selected rows from grid. I am able to add rows to Grid. But unable to delete selected rows from Grid. Even user checks multiple rows its deleting only one row at a time. And one more problem I am facing is its not retaining the values entered by

Re: [flexcoders] tab navigator componene

2007-09-12 Thread Tom Chiverton
On Wednesday 12 Sep 2007, [EMAIL PROTECTED] wrote: I'm trying to fire an event when a tab is changed within tab navigator component but I'm not having any luck. Have you looked at the LiveDocs for the component to see the events it supports ? -- Tom Chiverton Helping to conveniently develop

Re: [flexcoders] Resource bundle chaining

2007-09-12 Thread Tom Chiverton
On Wednesday 12 Sep 2007, [EMAIL PROTECTED] wrote: How do I do a multiple resource bundle chaining Do what ? -- Tom Chiverton Helping to simultaneously strategize turn-key users on: http://thefalken.livejournal.com This email is sent for

RE: [flexcoders] Flex and Verisign

2007-09-12 Thread Jeff Hindman
I run that up the flag pole, but I don't think the legal department will buy it :) The search continues ... --Jake -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Wednesday, September 12, 2007 5:45 AM To:

[flexcoders] BarChart scrolling

2007-09-12 Thread Mark
Is there anyway to get the horizontalAxis to always be visible while the chart area and VerticalAxis scroll? Right now the entire area scrolls. Thanks

Re: [flexcoders] Re: Formatting incoming numerical data

2007-09-12 Thread Tom Chiverton
On Tuesday 11 Sep 2007, [EMAIL PROTECTED] wrote: the database and, later, amending saved records. So that datagridcolumn requires a datafield. Use a custom item renderer that knows about formatting then. Have you read the live docs on this ? -- Tom Chiverton Helping to enormously utilize

[flexcoders] [SOLVED] File Upload Weirdness (DataEvent.UPLOAD_COMPLETE_DATA)

2007-09-12 Thread Stefan Schmalhaus
My anti-virus software (Kaspersky Internet Security 6) caused all the trouble with uploading files. After I turned it off everything worked fine. It's not a real solution though... Stefan

Re: [flexcoders] tab navigator componene

2007-09-12 Thread cisnky
yourTabNavigatorID.addEventListener(change, tabNavigatorChangeEvent); tabNavigatorChangeEvent is your event method. On 9/12/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 12 Sep 2007, [EMAIL PROTECTED] wrote: I'm trying to fire an event when a tab is changed within tab navigator

[flexcoders] Re: Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-12 Thread ben.clinkinbeard
Good deal. I like the save/load layouts idea, might have to look into integrating that... feel like sharing some code? Does it just save panel dimensions and locations or does it record their contents as well? As for LoadModule (another nice feature), I would imagine you could pretty easily

[flexcoders] sorry - one more about effects...

2007-09-12 Thread grimmwerks
Trying to do about 50 things at once for a demo today. Say I've got a state with a number of addChildren elements. I've got a transition I want to call on those children, but not all at once -- in sequence. How can I do this? I realize the Sequence is for sequencing effects, not elements;

[flexcoders] Re: File upload in Flex

2007-09-12 Thread Derrick Grigg
Stephen, Check this post http://www.dgrigg.com/post.cfm/08/02/2007/Flex-and-Flash-file-uploading-with-return-data Derrick -- Derrick Grigg www.dgrigg.com --- In flexcoders@yahoogroups.com, stephen50232 [EMAIL PROTECTED] wrote: Hi, I've got a new project, which requires that

[flexcoders] Re: modules httpservice

2007-09-12 Thread keithtucci
thanks for the feedback so far... my orginal post was referncing a single project with both the module and the calling application in the same project. this scenario is what caused the error. if i now create a new project and call the orginal module from the new project (the module is in

[flexcoders] Re:File upload in Flex

2007-09-12 Thread Muharem Lubovac
Here's nice summary of file upload techniques with Flex http://www.flex888.com/2007/08/14/9-flex-file-upload-examples-visited.html ~moe - Pinpoint customers who are looking for what you sell.

Re: [flexcoders] tab navigator componene

2007-09-12 Thread Tom Chiverton
On Wednesday 12 Sep 2007, [EMAIL PROTECTED] wrote: yourTabNavigatorID.addEventListener(change, tabNavigatorChangeEvent); You should use the constants from the relevant Event class, rather than string literals. -- Tom Chiverton Helping to seamlessly generate front-end e-tailers on:

[flexcoders] Using @Resource directive with Moxie

2007-09-12 Thread kramus0
Hi, when I use the 2.0.1 SDK I can use a localized value for the url in a HTTPService and it would look like this: mx:HTTPService id=myService url=@Resource(key='myServiceUrl', bundle='myServiceBundle')/ But when I try to compile the same code with the Moxie SDK I get an error

[flexcoders] Re: tab navigator componene

2007-09-12 Thread muharem_l
Gents, Thanks for the replies. I guess what was throwing me off was the tabBar property. According to docs, it returns reference to currently selected tabBar of this TabNavigator however, I could not get following to work mx:TabNavigator id=tabNav x=820 y=249 width=260 height=422

[flexcoders] Re: DateTimeAxis without the weekends

2007-09-12 Thread gaurav1146
Hi Sunil, Thanks for the reply. I tried disabledDays property of DateTimeAxis in flex3. The problem is that when I disable the weekends the chart does not span over the entire chart area. After some googling i found out this as a bug mentioned here: http://bugs.adobe.com/jira/browse/FLEXDMV-963

[flexcoders] Re: Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-12 Thread dbronk
Very nice indeed! I've always thought the MDI application UI was a lost treasure. I think I have exposed a bug though. Load the example app as normal. Window 2 has focus. Close window 2 and I would expect Window 1 to gain focus. Even after click, clicking and dragging, etc. window 1, it does

[flexcoders] Re: Skinned Scrollbar Track now clickable

2007-09-12 Thread Mike Greiner
I see the same behavior and would be interested if you find a solution. One workaround: The offending property seems to be trackSkin -- if I comment this out and leave everything else, the track click behavior goes back to normal. Mike

[flexcoders] Re: Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-12 Thread ben.clinkinbeard
Thanks Dale. The focus management is definitely buggy. In fact, I probably should have provided a disclaimer but it slipped my mind. That is definitely an area that will be improved in the near future but thanks for pointing out a good test case. Thanks again, Ben --- In

Re: [flexcoders] Re: File upload in Flex

2007-09-12 Thread Rico Leuthold
To upload files, you could start with this http://weblog.cahlan.com/ 2006/12/flex-upload-component.html and customize, extend it. The only thing they don't show in this component is how to handle the returned result. In order to get the result add an UPLOAD_COMPLETE_DATA Event listener to

[flexcoders] Re: How to converst an XML to AS Object ?

2007-09-12 Thread lytvynyuk
Does anybody have good examples how SimpleXMLDecoder works ? --- In flexcoders@yahoogroups.com, lytvynyuk [EMAIL PROTECTED] wrote: Thank you I kinda knew about that way ;) but if my object contains30 fields and also has a bunch of another objects, this procedure will be painful ;) What

RE: [flexcoders] deleting rows from grid --- need help

2007-09-12 Thread Tracy Spratt
The problem is that deleting items in a collection causes the indexes to change, thereby confusing you loop. One solution is to delete the items from the end. There was a thead on this subject recently, including good code examples. Tracy From:

[flexcoders] sequencing effects

2007-09-12 Thread grimmwerks
Trying to do about 50 things at once for a demo today. Say I've got a state with a number of addChildren elements. I've got a transition I want to call on those children, but not all at once -- in sequence. How can I do this? I realize the Sequence is for sequencing effects, not elements; but is

[flexcoders] Re: How to get Textinput position?

2007-09-12 Thread flexawesome
great, I see but I was serious how to get a textInput position in form ( id=textInput ) by click the button? for example like coding below? huummm evt.currentTarget.parent.localToGlobal (new Point(evt.currentTarget.x,evt.target.textInput.y)).y Cheers --- In

[flexcoders] TileList Binding Issue

2007-09-12 Thread Adnan Doric
Hello all, I have a TileList binded to an ArrayCollection. If I add more items to the ArrayCollection the TileList updates, but if I try to change an already existing item in the ArrayCollection, the TileList doesn't change. I tried with List component and I don't have this problem, the view

[flexcoders] Re: Using @Resource directive with Moxie

2007-09-12 Thread kramus0
Hi again, maybe it is just a simple namespace problem. I am using Cairngorm and so I have a different namespace for my ServiceLocator where I use the HTTPService. Here an other code snippet. Thanks for your help. Markus ?xml version=1.0 encoding=utf-8? cairngorm:ServiceLocator

[flexcoders] How do I generate random colors (within a range)?

2007-09-12 Thread ben.clinkinbeard
OK, my hex and bitwise skills are non-existent, so I am probably on the completely wrong track here, but... I converted a couple of hex values to decimal values (11776947 and 10724259) with an online converter. They each evaluate to a shade of gray (as expected), but when I generate random values

RE: [flexcoders] How do I generate random colors (within a range)?

2007-09-12 Thread Ely Greenfield
Grey RGB values have the same byte value in each of the rbg channels. So your best bet is to store your grey values as single byte hex values myGreys = [0xAA, 0x58, 0x22]; then interpolate between those values: var newGreyByte:uint = ((myGreys[0] + (myGreys[1] - myGreys[0]) *

[flexcoders] A common question with no answer yet - Flex Debugger

2007-09-12 Thread JWOpitz
Hi folks, I have tried to find this topic posted in the group and the web in general and tho I find plenty on related cases, I cannot seem to find the right answer. So I pose this question to you, my fellow colleagues. I want to be able to connect the debugger to a swf that has NOT been

Re: [flexcoders] How to check to see if an XML element exists

2007-09-12 Thread Scott - FastLane
assuming var itemSource:XML is assigned to the structure below... I think if(itemSource.Media != undefined) should do it. hth Scott kc7cia wrote: Hi, I was hoping someone could tell me how to check to see if an XML element exists in AS3. I have an XML structure that looks like this:

[flexcoders] Long time to populate data

2007-09-12 Thread dbarenboym
Hi All. when i open my flex application it does it very quikly then i have to login and it takes me to a page with datagrid and populated small amount of data (3 rows). login process takes about 3 seconds but then i sit for almost 5 minutes while it populates that data into the grid. If i look

[flexcoders] yahoo maps CustomSWFMarker

2007-09-12 Thread thibs73
Hi there, Anyone know if there is a click event for a CustomSWFMarker in yahoo Maps? Just like the onPOIClicked for POIMarker...why am I not using POIMarker? Because it seems that I can only add POI Markers by address only. I need to be able to add it by Lat Lon. To sum up, I want to add

Re: [flexcoders] How to check to see if an XML element exists

2007-09-12 Thread Patrick Driggett
if( node.ItemSource.hasOwnProperty( Value ) ) { // Do stuff } On 9/12/07, kc7cia [EMAIL PROTECTED] wrote: Hi, I was hoping someone could tell me how to check to see if an XML element exists in AS3. I have an XML structure that looks like this: ItemSource component=DAM ValueCandy/Value

Re: [flexcoders] How do I generate random colors (within a range)?

2007-09-12 Thread Patrick Driggett
Ben, The reason that the values between do not fall into shades of grey is because the decimal values you have that represent those colors are just straight conversions from Hexadecimal to Decimal and therefore don't provide anything meaningful. To get true shades of grey you basically need each

[flexcoders] Nested Viewstacks - Child stack won't display

2007-09-12 Thread Fred Barrett
Long-time .NET programmer, 2-month noob to Flex. I have an mx:Application / that wants to have an mx:ViewStack / for the main site navigation, and then inside of a component page I want to have another mx:ViewStack / for the specific page/form (it has three pages to it). mx:Application

[flexcoders] Graph with fixed colors

2007-09-12 Thread Fernando Dumont
How I make a graph with fixed colors? Example: Example: root group catA/cat value10/value /group group catB/cat value16/value /group group catC/cat value4/value /group /root I want that colors always be red when cat = A, blue when cat = B and yellow when cat = C. Who knows to

Re: [flexcoders] TileList Binding Issue

2007-09-12 Thread Jon Bradley
Something like the following process: myCollection.enableAutoUpdate(); myCollection.itemUpdated(someItem, someProperty,someOldValue,someNewValue); myCollection.disableAutoUpdate(); myColleciton.refresh(); // just to be sure I have it working fine with the itemUpdated and refresh. I usually

[flexcoders] event for mx:image change

2007-09-12 Thread danprimetse
Hi, I would like to figure out how to get a notification after an image is loaded from a source change. I've been trying to see which event gets fired when I the image changes after I call myImage.source = blah.jpg; myImage does change (displays blah.jpg) but no event gets fired. I'd like to

[flexcoders] Re: How do I generate random colors (within a range)?

2007-09-12 Thread ben.clinkinbeard
Hi Ely, I (mostly) understand the concept in your example but am getting an error that I can't figure out for the life of me. On the line where you assign newGreyByte its telling me 1084: Syntax error: expecting rightparen before myGreys.. Also, shouldn't myGreys[2] be utilized somewhere?

[flexcoders] Re: A common question with no answer yet - Flex Debugger

2007-09-12 Thread Mike Morearty
Are you saying that (a) you want Flex Builder to launch the browser, but with a custom URL that you specify, or (b) you don't want Flex Builder to launch the browser at all -- just connec to an already-running browser that you launched? Both are possible. (a) If you want Flex Builder to launch

[flexcoders] How to remove Rectangle border from TextInput field

2007-09-12 Thread Patrick Lemiuex
Hello: Is it possible to do with a style sheet, is a class reference necessary. Thanks, Patrick

RE: [flexcoders] Nested Viewstacks - Child stack won't display

2007-09-12 Thread Tracy Spratt
No, ViewStack is good for this. Try one fmb:MyFormPage1 label=Form Page 1 / without the viewstack. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Fred Barrett Sent: Wednesday, September 12, 2007 12:20 PM To:

[flexcoders] Re: How to check to see if an XML element exists

2007-09-12 Thread jer_ela
this should work if (node.ItemSource.(hasOwnProperty(Media)) --- In flexcoders@yahoogroups.com, kc7cia [EMAIL PROTECTED] wrote: Hi, I was hoping someone could tell me how to check to see if an XML element exists in AS3. I have an XML structure that looks like this: ItemSource

[flexcoders] Re: Issues scrolling a scaled image. Can it be fixed?

2007-09-12 Thread carl_steinhilber
Okay... from the lack of response, I can only assume that it was too difficult to set up a testbed. ;-) So perhaps providing sample images will make things easier: http://www.thinkhmh.com/_img/flex/red-block-300x100.jpg http://www.thinkhmh.com/_img/flex/blue-block-300x200.jpg

RE: [flexcoders] Re: How do I generate random colors (within a range)?

2007-09-12 Thread Ely Greenfield
That should probably be: Var myGreys:Array = [...]; The example code I gave you just showed how to interpolate between two specific values. I'm assuming that in your code, you've got lots of grey values, and rules for deciding which two ones you want to interpolate between. So You

[flexcoders] Re: font in comboBox and Title not the same SIMPLE TEST CASE

2007-09-12 Thread Jeff Schuenke
Thanks very much Alex, that did it!

[flexcoders] event metadata syntax bug?

2007-09-12 Thread jer_ela
In the Creating and extending Flex components manual, the event metadata tag syntax to be: [Event(name=eventName, type=package.EventType)] If I use that syntax with the quotes around the package name within a metadata tag in and mxml file in FB3, it breaks code hinting. If I remove the quotes,

[flexcoders] Very slow initial load and an excessive CPU usage during startup

2007-09-12 Thread yevgeniy.galper
I am using Flex front end and Java/Hibernate for DB communication. When the application starts up fast and a login screen is displayed. After a user logs in the application logs in I get an Alert within a second or two confirming that the login information was correct and a user with a certain

[flexcoders] Detecting itemOpen event of a Tree

2007-09-12 Thread nhid
Hi, I have a tree with multiple root nodes, where the leaves will be populated only when I click on the folder icon using the itemOpen event. That call needs to pass the information of that particular root node to the backend, how do I detect which root node I clicked? Thank you!

RE: [flexcoders] sequencing effects

2007-09-12 Thread Mike Krotscheck
If you set up a transition to said state that contains AddChild directives, they will occur in the order and with the timing configured. Michael Krotscheck Senior Developer RESOURCE INTERACTIVE

[flexcoders] Decorator Pattern 101

2007-09-12 Thread Claudia Barnal
I believe I might be missing something with the Decorator Pattern. I've tried to get a simple example to work, but I get too mixed up with all the abstracts and what not. Here's what I'm trying to do: Extend a Button and add some functionality to it gotten from another class (non visual). From

[flexcoders] Running Executables from AIR

2007-09-12 Thread Claudia Barnal
Is it possible to run executables or command lines from an AIR application, if so... any pointers to where that procedure is explained? Thanks! Claudia

[flexcoders] Re: yahoo maps CustomSWFMarker

2007-09-12 Thread Abyss Knight
I actually am having the same documentation issues, but this might help you: latLonController.addMarkerByLatLon('CustomPOIMarker',dp[i].lat, dp[i].lon,{index:index,title:dp[i].shortName, description: description, markerColor: Number('0x3366CC'), strokeColor: Number('0xCEE9FF')});

RE: [flexcoders] Detecting itemOpen event of a Tree

2007-09-12 Thread Tracy Spratt
Tree.selectedItem Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nhid Sent: Wednesday, September 12, 2007 3:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Detecting itemOpen event of a Tree Hi, I have a tree

RE: [flexcoders] Detecting itemOpen event of a Tree

2007-09-12 Thread Tracy Spratt
Hmm, maybe not. But the itemOpen event object probably has a reference to the item. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, September 12, 2007 3:29 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Very slow initial load and an excessive CPU usage during startup

2007-09-12 Thread Tracy Spratt
Did you set creationPolicy=all anywhere? time the initialization functionality to determine if the issue is data transfer (doubtful) or rendering(probable) Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of yevgeniy.galper Sent:

Re: [flexcoders] Re: How to converst an XML to AS Object ?

2007-09-12 Thread Troy Gilbert
Does anybody have good examples how SimpleXMLDecoder works ? I've never found a good one. Senocular has a library called XMLDefinition (google it). I've not looked at it too much, but it superficially appears to do what you're looking for. I don't like the idea of passing the XML into the

Re: [flexcoders] TileList Binding Issue

2007-09-12 Thread Adnan Doric
I tried this with no success, my TileList items are still not updated. Maybe something is broken in TileList binding. Thank you :) Jon Bradley wrote: Something like the following process: myCollection.enableAutoUpdate(); myCollection.itemUpdated(someItem,

Re: [flexcoders] Binding component variable to application variable?

2007-09-12 Thread grimmwerks
On Aug 13, 2007, at 12:10 PM, Alex Harui wrote: Sorry, {Application.application.mainVariable} I'm trying to have a TitleWindow's close call a main application -- ie close={Application.application.closeWindow()} -- but I'm getting 'acces of undefined property 'Application'. I have to

Re: [flexcoders] Decorator Pattern 101

2007-09-12 Thread Michael Schmalle
Hi, You can't decorate a UIComponent since it is a DisplayObject and needs to be added to the display list. You have to either us composition or subclass Button and use an interface and pass the class to decorate the Button with. JuiceMaker id=myJuiceMaker decorator={JuiceMaster} click=

Re: [flexcoders] Decorator Pattern 101

2007-09-12 Thread Michael Schmalle
Oh yeah JuiceMaker id=myJuiceMaker decorator={JuiceMaster} click= myJuiceMaker.makeJuice('orange') / is supposed to be; JuiceMaker id=myJuiceMaker makerClass={JuiceMaster} click= myJuiceMaker.makeJuice('orange') / On 9/12/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, You can't decorate

Re: SPAM-LOW: [flexcoders] Running Executables from AIR

2007-09-12 Thread Jeffry Houser
Short answer: No But, google on WebORB AIR Edition and/or the Artemis Project. Also take a look at the ApolloCoders Yahoo group Claudia Barnal wrote: Is it possible to run executables or command lines from an AIR application, if so... any pointers to where that procedure is

[flexcoders] Re: CData inside XML object

2007-09-12 Thread discoguy77
Ignoring whitespace isn't a good option, because my server-side program doesn't ignore whitespace. The script you wrote causes a parse error, because the script itself is in a CDATA section. --- In flexcoders@yahoogroups.com, Daniel Freiman [EMAIL PROTECTED] wrote: Look at

[flexcoders] Re: Very slow initial load and an excessive CPU usage during startup

2007-09-12 Thread yevgeniy.galper
I did search for creationPolicy=all in all files, but I did not find anything, so I believe creationPolicy is not set to all. How would I go about timing the initialization functionality? Thanks, Yevgeniy --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Did you set

RE: [flexcoders] Re: How to get Textinput position?

2007-09-12 Thread Gordon Smith
I wish I could understand what you don't understand. Here's a complete working example. - Gordon ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ import mx.controls.Alert; private function createMsg(event:Event):void

RE: [flexcoders] Re: Very slow initial load and an excessive CPU usage during startup

2007-09-12 Thread Alex Harui
If you're using Moxie, the next beta will have a performance profiler. In 2.x, you can listen to LayoutManager for updateComplete events and see how many you get and how far apart they are. If you get a lot of them, then something in your app is constantly invalidating the UI and you have to

RE: [flexcoders] TileList Binding Issue

2007-09-12 Thread Alex Harui
Do you have a custom renderer? Maybe you can post its code. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Adnan Doric Sent: Wednesday, September 12, 2007 12:37 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] TileList

RE: [flexcoders] Re: Issues scrolling a scaled image. Can it be fixed?

2007-09-12 Thread Alex Harui
I'd check to see what the Image is reporting as measuredHeight. It might be wrong and you can subclass and fix it. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of carl_steinhilber Sent: Wednesday, September 12, 2007 11:31 AM To:

RE: [flexcoders] How to remove Rectangle border from TextInput field

2007-09-12 Thread Alex Harui
borderStyle=none? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Lemiuex Sent: Wednesday, September 12, 2007 11:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to remove Rectangle border from TextInput field

RE: [flexcoders] event for mx:image change

2007-09-12 Thread Alex Harui
complete event. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danprimetse Sent: Wednesday, September 12, 2007 11:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] event for mx:image change Hi, I would like to figure out

RE: [flexcoders] Re: Very slow initial load and an excessive CPU usage during startup

2007-09-12 Thread Gordon Smith
It takes several minutes for the application to return and display the data for the logged in user. determine if the issue is data transfer (doubtful) or rendering(probable) First be certain that the initial data transfer is quick. Put a breakpoint in the result handler and see whether you

RE: [flexcoders] Long time to populate data

2007-09-12 Thread Alex Harui
5 minutes to populate 3 rows? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dbarenboym Sent: Wednesday, September 12, 2007 8:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Long time to populate data Hi All. when i

RE: [flexcoders] Nested Viewstacks - Child stack won't display

2007-09-12 Thread Alex Harui
What does MyFormPage look like? Maybe they aren't reporting good sizes? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Fred Barrett Sent: Wednesday, September 12, 2007 9:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Re: modules httpservice

2007-09-12 Thread Alex Harui
Could it have been loaded twice when in same project? Usually these errors have to do with class collisions between two separate modules. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of keithtucci Sent: Wednesday, September 12, 2007

Re: [flexcoders] Re: How to check to see if an XML element exists

2007-09-12 Thread Daniel Freiman
The reason why this always returns true is because 'text()' returns an XMLList. In your setup you would want to check if the length of the XMLList is 0 or not. For more detail check out: ( http://nondocs.blogspot.com/2007/05/toplevelxmltraversing-xml-structures.html ) - Dan Freiman On 9/12/07,

Re: [flexcoders] Re: CData inside XML object

2007-09-12 Thread Daniel Freiman
var cdata:XML = new XML(![CDATA[ + s + ]+]); On 9/12/07, discoguy77 [EMAIL PROTECTED] wrote: Ignoring whitespace isn't a good option, because my server-side program doesn't ignore whitespace. The script you wrote causes a parse error, because the script itself is in a CDATA section. ---

RE: [flexcoders] 1009 error

2007-09-12 Thread Alex Harui
If you turn on verbose-stacktraces or use debug version it'll show you the exact line number to look at. Something doesn't exist that the code expects to exist. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jobe Makar Sent:

  1   2   >