[flexcoders] Re: Data paging error: Item requested is not available. A request for the item.....

2010-05-08 Thread azona26
://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.h\ tml?content=dms_paging_4.html On Thu, May 6, 2010 at 6:59 PM, azona26 azsl1326-em...@... wrote: I am loading data from a mySQL database via php into a skinnabledatacontainer. I created a data service and then the set

[flexcoders] Data paging error: Item requested is not available. A request for the item.....

2010-05-06 Thread azona26
I am loading data from a mySQL database via php into a skinnabledatacontainer. I created a data service and then the set the dataprovider to the function created in the data/service window. I am using data paging, setting the page size to 15 via the DataManager pageSize property.I get the

[flexcoders] Loading external SWF with masked content - get size of masked area only

2010-04-23 Thread azona26
I am loading an external swf using the SWFLoader component. The swf that is being loaded is masked so that only a portion is being shown. However, when it's loaded the actual size of the swf (loader.content.width/loader.content.height) is the complete swf including the masked area. Therefore, the

[flexcoders] FB4: Create screenshot (bitmap) from loaded swf

2010-04-21 Thread azona26
I am loading an external swf into my flex application using the SWF Loader. Once loaded, I would like to capture/copy the SWF into a bitmap and then unload the original swf. I only need/want to capture the image (1st frame) of the SWF as opposed to the having the SWF play in my Flex

[flexcoders] Re: SparkDataContainer Scroller not scrolling to bottom of container

2010-04-01 Thread azona26
!!! HTH --- In flexcoders@yahoogroups.com, azona26 azsl1326-em...@... wrote: I am using a scroller component within a custom skin for a SkinnableDataContainer. I am running into an issue in that the thumbbar of the scroller stops at about the 50% point, however this is actually the end

[flexcoders] Spark DropDownList Custom ItemRenderer Issue

2010-03-29 Thread azona26
I have a Spark DropDownList that has a custom ItemRenderer. The ItemRenderer, upon creation, checks the label text and if it matches certain criteria, then the label text color changes. The label text color is changing, however it is for the wrong label. What appears to be happening is that the

[flexcoders] Re: Spark DropDownList Custom ItemRenderer Issue

2010-03-29 Thread azona26
=lblDisplay top=6 left=2 right=2 bottom=2text={data.name} / /s:ItemRenderer Thanks for the assistance! --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: What does your renderer code look like? On 3/29/10 8:08 AM, azona26 azsl1326-em...@... wrote: I have a Spark

[flexcoders] Re: Spark DropDownList Custom ItemRenderer Issue

2010-03-29 Thread azona26
property. Use dataChange instead of creationComplete. On 3/29/10 9:32 AM, azona26 azsl1326-em...@... wrote: Here's the code: s:ItemRenderer xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx

[flexcoders] Re: Spark DropDownList Custom ItemRenderer Issue

2010-03-29 Thread azona26
Got it! Thanks for the additional insight as that is exactly what I needed to do. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: You must derive all visuals, and that means resetting the color if it doesn't meet the criteria. On 3/29/10 10:44 AM, azona26 azsl1326-em

[flexcoders] SparkDataContainer Scroller not scrolling to bottom of container

2010-03-29 Thread azona26
I am using a scroller component within a custom skin for a SkinnableDataContainer. I am running into an issue in that the thumbbar of the scroller stops at about the 50% point, however this is actually the end of the scrollable area. In actuality, the thumbbar should be at the bottom of the scroll

[flexcoders] SparkDataContainer Scroller not scrolling to bottom of container

2010-03-29 Thread azona26
I am using a scroller component within a custom skin for a SkinnableDataContainer. I am running into an issue in that the thumbbar of the scroller stops at about the 50% point, however this is actually the end of the scrollable area. In actuality, the thumbbar should be at the bottom of the scroll

[flexcoders] Itemrenderer does not retain desired state (Flex 4)

2010-03-24 Thread azona26
I am using a SkinnableDataContainer that has both a custom item renderer as well as a custom skin class. The item renderer is displaying a dynamic image as well as a static (predefined) image. This item renderer has 2 states, normal and selected. When the user clicks the item renderer the state

[flexcoders] Re: Itemrenderer does not retain desired state (Flex 4)

2010-03-24 Thread azona26
Here's the resolution if anyone else needs assistance: http://flexponential.com/2010/02/07/using-datarenderer-to-add-custom-states-to-a-spark-list-renderer/ --- In flexcoders@yahoogroups.com, azona26 azsl1326-em...@... wrote: I am using a SkinnableDataContainer that has both a custom item

[flexcoders] Tilelist scrolling using mousewheel

2009-12-18 Thread azona26
I have a tile list which when (vertically) scrolling thru with the mousewheel immediately jumps to the last item - several rows. How can I set the scrollsize in a tile list so that each row is shown when using the mousewheel? If I use the scrollbar's thumb bar it scrolls as expected. Thanks

[flexcoders] Re: Datagrid - Using and Editing Data From XMLListCollection

2009-06-12 Thread azona26
for the itemeditend event. Then grab the data that was edited and modify the dataprovider. --- In flexcoders@yahoogroups.com, azona26 azsl1326-email@ wrote: I have an editable datagrid with data being populated from an XMLListCollection. I am attempting to edit the data in one of the columns

[flexcoders] Re: Datagrid - Using and Editing Data From XMLListCollection

2009-06-12 Thread azona26
={building_xmlcoll} itemEditEnd=updateData(event) mx:columns mx:DataGridColumn headerText=Building Number labelFunction=getValue editable=true/ /mx:columns /mx:DataGrid /mx:Application --- In flexcoders@yahoogroups.com, azona26 azsl1326-email@ wrote

[flexcoders] Datagrid - Using and Editing Data From XMLListCollection

2009-06-11 Thread azona26
I have an editable datagrid with data being populated from an XMLListCollection. I am attempting to edit the data in one of the columns that is using a labelFunction to get its value. This column does not have a dataField value. How can I edit the data in the field and have the XMLListCollection

[flexcoders] Creating ArrayCollection from returned AMFPHP data

2009-04-15 Thread azona26
I am using amfphp to return a complex object / multi-dimensional array. In the past, I have been able to simply create an ArrayCollection of the returned results by doing the following: public function result(event:ResultEvent):void { var resources_ac:ArrayCollection = new ArrayCollection()

[flexcoders] Re: Creating ArrayCollection from returned AMFPHP data

2009-04-15 Thread azona26
That will work! Thank you very much. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: I tend to use the Array Utils... var myArrColl:ArrayCollection; myArrColl = new ArrayCollection(ArrayUtil.toArray(event.result)); --- In flexcoders@yahoogroups.com, azona26

[flexcoders] Re: swfObject and deep linking

2009-04-13 Thread azona26
SWFObject and how. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of azona26 Sent: Sunday, April 12, 2009 3:16 PM To: flexcoders@yahoogroups.com Subject

[flexcoders] swfObject and deep linking

2009-04-12 Thread azona26
I am using swfObject to embed my application and running into some issues when trying to deep link via the BrowserManager class. I am able to update the URL when needed via setFragment(), however the issue occurs when the back/forward button is pressed. The application does not update as

[flexcoders] RSL Error after changing to 3.3

2009-03-04 Thread azona26
I am receiving the following error after switching to 3.3: Flex Error #1001: Digest mismatch with RSL http://127.0.0.1/framework_3.2.0.3958.swf. Redeploy the matching RSL or relink your application with the matching library. Could someone point me in the right direction on how to resolve this

[flexcoders] Re: Dynamically change HBox based upon height/width of Image

2009-02-26 Thread azona26
Solved. Use contentHeight and contentWidth to get scaledImage properties. Hope this helps someone else out. --- In flexcoders@yahoogroups.com, azona26 azsl1326-em...@... wrote: I am have a (large) Image Control whose source property is based upon which (smaller) Image Control is selected

[flexcoders] Changing states and removing ControlBar throws an error

2009-02-26 Thread azona26
I have a panel which contains a form, form items, controlbar and a button. When I create a new state and remove all the items from the panel using removeChild, the error is thrown: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. I have narrowed it down to an

[flexcoders] Re: Component/tool required

2009-02-24 Thread azona26
http://developer.yahoo.com/flash/astra-flex/autocompletemanager/ --- In flexcoders@yahoogroups.com, venkatesan.M venky_g...@... wrote: Hi everybody, I'm currently working on a project which needs autocomplete tool(textbox) i tried making one by myself but dint work out well. can any1 help me

[flexcoders] Dynamically change HBox based upon height/width of Image

2009-02-23 Thread azona26
I am have a (large) Image Control whose source property is based upon which (smaller) Image Control is selected in an itemrenderer of a tile list. The 'large' Image Control is contained within an HBox that has a border along with a background. I would like to have the HBox resize when a new image