[flexcoders] Problems getting a DataGroup to scroll

2010-06-10 Thread Raymond Brown
I have attempted twice to get a tileList of data in a DataGroup to scroll, here are my two attempts: ATTEMPT ONE: s:SkinnableDataContainerwidth=100% height=100% itemRenderer=com.silenttrace.hal.views.ItemRenders.AliveDeadItemRenderer dataProvider={items} s:layout layouts1:FilteredTileLayout

[flexcoders] Bug in Flex Chart in Flash Builder?

2010-06-10 Thread Raymond Brown
I have created a simple chart in flex, if I resize the window by dragging the corner edge everything works. If I try to click a button and change the graph screen width and height via a state the Y scale of the graph resets to 0 through 100. When my data is between 0 and 3 obviously this

[flexcoders] Can someone point out a tutorial or sample about moving panels?

2010-05-28 Thread Raymond Brown
I was looking for a way to move panels freely within a container, like the tool on http://www.splashup.com/splashup/ and I was wondering how to do the same. I have no interest in duplicating the site, just want to know how to drop two or more panels into a container such that my users can move

[flexcoders] Chart Bug in Flash Builer?

2010-05-25 Thread Raymond Brown
Anyone else have this problem with charts in Flash Builder 4? - before making a bug submit I want to know if I am missing something. I place a chart into a panel - and as I drag the corner of the browser around, the panel resizes and the graph resizes. If, however, I add a button and then

[flexcoders] Module help in flash builder

2010-05-24 Thread Raymond Brown
Does anyone know how to have multiple modules load inside a view stack in flash builder? So you have something like this: mx:ViewStack id=myViewStack s:NavigatorContent id=one mx:ModuleLoader id=oneModule/ /s:NavigatorContent s:NavigatorContent id=two mx:ModuleLoader id=twoModule/

[flexcoders] A way to animate or move a list smoothly? My attempt in Flex 3 works, Flash builder not so much.

2010-05-03 Thread Raymond Brown
I have a horizontal list of objects (image and labels) that I want to slide to the left smoothly, in a consistent speed till the last object goes off screen and then repeat. However my code, as seen below has two weird effects. First it hauls butt across the screen way to fast to be readable

[flexcoders] Verticalscrollposition in flashbuilder?

2010-05-02 Thread Raymond Brown
Anyone know the equivalent of var scrollUpPropertyAction:AnimateProperty = new AnimateProperty(this); scrollUpPropertyAction.property = verticalScrollPosition; scrollUpPropertyAction.fromValue = this.verticalScrollPosition; in a panel for flash builder 4? In addition in flex you use to be

[flexcoders] A way to removeAllChildren in a panel in flash builder 4?

2010-05-02 Thread Raymond Brown
Is their a flash builder 4 equivalent of - public function set dataItems(dataItemsCollection:ListCollectionView):void { //trace(set DataItems); _dataItems = dataItemsCollection; removeAllChildren(); rowsArray = []; will removeAllElements() really achieve the same result - it just doesn't

[flexcoders] ResultEvent from HttpService not parsing xml

2010-04-22 Thread Raymond Brown
I have an xml doc: one two nameBob/name /two /one I have a Httpservice tage with url, resulthandler, faulthandler and resultformat=e4x. In my resulthandler, I have this: var ourXML:XML = event.result as XML; var name:String = ourXML.one.two.name; var x:int = 0; Here is the problem, I

[flexcoders] https in flex 4?

2010-04-02 Thread Raymond Brown
can i make a simple call like this? s:HTTPService id=siteID url=https://127.0.0.1:8443/HalDS/hal/siteid; result=siteID_resultHandler(event) fault=siteID_faultHandler(event)/ it should return an xml file like this - dataset hal_info ip=10.1.12.200 latitude=0.0 longitude=0.0 site_id=12/ /dataset

[flexcoders] Flex 4 has radically changed my components

2010-04-02 Thread Raymond Brown
Any suggestions on the two idea's below (In Flex 3 it was easy and there is no samples yet that I have seen.) 1. Create an controlBar that is consisting of a list of 80x50 buttons with images and read in from an xml. i.e. xml document tells them the list of buttons to read in. 2. A list

[flexcoders] Question about the flash detection kit script

2010-04-01 Thread Raymond Brown
Can anyone give advice on how best to use the flash detection kit. My users have 4.0 minimum so I should be able to use the flash_AS_detection.as but I am not sure how to use it. I want to achieve the following: 1. My users go to page https://127.0.0.1:8443/initial/startPage.swf - if they

[flexcoders] Progress bar in place over a component?

2010-03-03 Thread Raymond Brown
Is it possible to have several components inside a panel and as one of the components does something in the background can you place a progress bar over the component itself - NOT the whole page ?

[flexcoders] Change grid font size via actionscript?

2010-03-03 Thread Raymond Brown
We have a datagrid which we would like to change the fontsize of dynamically. i.e. mx:DataGrid id=table/ mx:Button label=+ click=increaseFontSize()/ private function increaseFontSize(): void { table.fontSize += 4; } The problem is you can't do something like table.fontSize. At least it

[flexcoders] Change TileList background color via actionscript

2010-03-03 Thread Raymond Brown
We have a TileList that when a user clicks a checkbox we would like to change the background color from white to red and backwards. Is this possible? Do we have to override a function because it doesn't seem like we can when we try to do it. We create a TileList using mx:TileList id=list and

[flexcoders] Multiple initializers for property 'dataProvider'

2010-01-07 Thread Raymond Brown
Below is a snapshot of one of my components. However I am always getting an error on the Datagrid (id=cmdTable') and the error is: Multiple initializers for property 'dataProvider'. (note: 'dataProvider' is the default property of 'mx.controls.DataGrid'). Does this mean you can't keep more

[flexcoders] Beginner Event Question

2009-12-12 Thread Raymond Brown
I created a custom event to pass a string with, shown here: package events { import flash.events.Event; public class ConfigFileEvent extends Event { public var configFile:String; public function ConfigFileEvent(type:String, configFile:String) { super(type); this.configFile = configFile; }

[flexcoders] unsubscribe

2009-11-01 Thread Raymond Brown
unsubscribe

[flexcoders] Someone have sometime to help me develop a datagrid before this weekend? Key word is help me - not write for me.

2009-08-12 Thread Raymond Brown
Anyone, Wwas wondering if I could ask a couple of questions - aside from this one. 1. Is it possible to 'solely' in actionscript make a datagrid from an arraycollection? I am trying and it keeps dying. 2. Is it possible to have the cells in a datagrid show one of three png images all

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

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

[flexcoders] How do I create in ActionScript what MXML lets me do?

2009-06-27 Thread Raymond Brown
Data can be found at http://www.silenttrace.com/deviceData.xml Question one - How can I create my list, onList in pure actionscript vice mxml? The reason I want to do this is because I get a null exception otherwise. I imagine its because I am instantiating the itemrenderer before I have any

[flexcoders] Updating WITHOUT human intervention

2009-06-23 Thread Raymond Brown
Say your school has a remote system collecting data miles away and you need to update it with no one there to help click through the dialog. Is there a way to do an update in adobe air without human intervention? Meaning we post a new update on the server and the next time the remote app

[flexcoders] Question about ArrayCollections

2009-06-05 Thread Raymond Brown
Here is some code of what I am using today: private function startAliveDeadCheck():void { startMonitor(127.0.0.1, 80); } private function startMonitor(location:String, port:uint):void { monitor = new SocketMonitor(location, port);