[flexcoders] Moving a Canvas

2007-06-14 Thread pdflibpilot
I am looking for the easiest way to drag a canvas (not a popup) containing navigation buttons anywhere on the screen. Are there other options besides drag / drop ? or is there an easier way to do this using Move effect ? or move() method ?

[flexcoders] AS access to a component inside a viewstack

2007-06-08 Thread pdflibpilot
I have the following structure viewstack1 Canvas id=screen1 ns2:DualColumn x=0 y=0 id=DualColumnComponent/ /mx:Canvas /viewstack1 how do I call an AS in DualColumn ??

[flexcoders] Convert htmlText to plain text

2007-06-04 Thread pdflibpilot
I saw a couple of post about removing all the formatting tags from htmlText and came up with this solution that uses RegExp. I am not completely satisfied with the form though it works. If anyone has any suggestions for improvement or if there is an easier way that I am missing let me know.

[flexcoders] Dynamic text flow - multicolumn page

2007-06-04 Thread pdflibpilot
I am working on a multicolumn page layout. The goal is to be able to populate 1-4 columns of page content in a newspaper / magazine article type format. I have be successful with 2 column layout and want to do 3 and 4 column as well but before moving forward I want to make sure I am approaching

[flexcoders] itemRenderer null object error

2007-06-01 Thread pdflibpilot
I am so happy I was able to create an itemRenderer with an initialize event that dynamically set the style for each item based on the source data. This worked flawlessly for one HorizontalList ( List A) so I tried to implement the same on a TileList (List B) on the same layout. They have virtually

[flexcoders] Parallel viewstates ?

2007-05-31 Thread pdflibpilot
Is it possible to have more than one viewstate as current. I would like to have 2 new viewstacks function independently - show one, the other or both at anytime.

[flexcoders] Struggle with TileList refresh

2007-05-28 Thread pdflibpilot
I have a tileList that does not update its itemRenderer when the dataProvider is changed. In one scenario I have a drag and drop to the TileList that always updates the dataProvider (XMLList) but will not reflect the change in the display. I can force a refresh by iterating over the XMLList like

[flexcoders] buttonMode / selectable / useHandCursor - settings not respected

2007-05-24 Thread pdflibpilot
Not sure if this is by design or a bug. I have a Flex website with integrated content management feature. When content is rendered to a list and the itemRenderer Text component is set to buttonMode=true useHandCursor=false selectable=false it works just fine. However building the Text

[flexcoders] Image analysis before upload

2007-04-11 Thread pdflibpilot
Are there client-side ActionScript methods available that would allow one to determine image resolution in order to prevent a user from uploading a low-resolution image for hi-resolution application ?

[flexcoders] remove image from cache

2007-03-03 Thread pdflibpilot
I have an upload image process that allows users to change their photo for their record - I want to replace the image on screen as soon as the new photo is uploaded. The photo name is constant so the new image does not refresh. Flex does not recognized it as a new image source since the URL is

[flexcoders] Re: remove image from cache

2007-03-03 Thread pdflibpilot
Dang - the solution was so simple - I just added ? to the end of the URL and that forces the image to refresh ! Brilliant ! I have an upload image process that allows users to change their photo for their record - I want to replace the image on screen as soon as the new photo is uploaded.

[flexcoders] Storing / retrieving rich text

2007-02-26 Thread pdflibpilot
I am trying to develop a method to allow web administrators to be able to edit text in their Flex application directly in the UI (without Flex). This text gets saved to mySQL when they close the rich text editor. The data is stored correctly in mySQL however when its retrieved it gets formated

[flexcoders] Printing Mailing labels

2007-02-22 Thread pdflibpilot
I need to explore the possibility of printing mailing labels directly from my Flex app versus dumping the records to excel or another application. It seems to me that Flex printing would produce a print job for every record - queuing perhaps hundreds of print jobs to the printer. Is there a way

[flexcoders] new HTTPService() using AS

2007-02-16 Thread pdflibpilot
I need to specify variable result events for HTTPservice request I hope to create dynamically. I can build the request using var requestHTTP = new HTTPService(); requestHTTP.url = http://mydomain.com/my.php; requestHTTP.method = POST; etc. but I have not

[flexcoders] Populate Tree from PHP

2007-02-08 Thread pdflibpilot
Before I begin to create a PHP script from scratch I was wonder if there is any open source PHP script available that will produce the proper XML with appropriately nested children to populate a Flex Tree in one fell swoop ?

[flexcoders] Return a PDF as response to request

2007-01-26 Thread pdflibpilot
Is there any why to display a PDF within a Flex app that would be returned in response to an HTTPservice request ? Currently we plan to launch a new browser window with a URL to the PDF but we can return this dynamically generated PDF directly but can Flex handle it ??

[flexcoders] Prevent DataGrid itemClick event from launching with header click

2007-01-10 Thread pdflibpilot
I have a dataGrid that I have set an itemClick event to launch a popup canvas as an editor for the line item clicked. The dataGrid is set to editable but each column is set to noneditable to prevent the cell from being edited directly. Everything works well for the editing the line items however

[flexcoders] Checkbox in dataGrid problem

2007-01-09 Thread pdflibpilot
I am using an inline render as follows: mx:itemRenderer mx:Component mx:VBox horizontalAlign=center mx:CheckBox id='cb' selected={data.myFIELD}/ /mx:VBox /mx:Component /mx:itemRenderer No matter what value is in myFIELD null or true this checkbox always renders

[flexcoders] ArrayCollection does not yield the same results as dataGrid

2007-01-02 Thread pdflibpilot
I am using an HTTPservice request to get a set of records in basic format like so recordsrecordmergeFieldMyField/mergeField/records/record I am using the default result format for this request: mx:HTTPService id=annotationsInfoReq url=http://myDomain.com/getRecords.php; useProxy=false

[flexcoders] Concatenate data into multiline Text in Itemrenderer

2006-12-29 Thread pdflibpilot
Is there a simple way to concatenate multiple data fields into a single TextArea and force newlines between data ? I am displaying this data inside and inline ItemRenderer component. Concatenation is simple enough however using \n, \\n, \n\r, or \r, do not yield a new line. Is it possible ? or is

[flexcoders] Flex contractors needed

2006-12-19 Thread pdflibpilot
We have several Flex projects and are looking to increase our production capacity with several qualified Flex developers. Please, only inidividual developers ready to work directly need to contact us. All work may be performed through telecommute and could possibly lead to full-time hire. alQemy

[flexcoders] eval() function removed in AS 3.0 ??

2006-12-09 Thread pdflibpilot
According to the documentation eval() has been removed as function - is there an alternative ? I really would like to use this function.

[flexcoders] Best Practice for creating a dynamic image array for online viewing.

2006-12-02 Thread pdflibpilot
I am trying to build an array of images from which to display 2 at a time side by side dynamically. Its important that these images be preloaded as much as possible to maximize response times. Ideally loading atleast 6 images in advance as the user navigated through the sequence. What is the best

[flexcoders] Problem with Loader

2006-12-01 Thread pdflibpilot
I am trying to load images into my display object and began with this simple example taken directly from the Help system. Why is it giving me the error undefined property on pictLdr on the lines indicated () ?? import flash.display.*; import flash.net.URLRequest; import flash.events.Event; var

[flexcoders] Developer/Consultant Needed for Photo Slide Show Project

2006-11-30 Thread pdflibpilot
We are looking for a Flex developer to help us complete one phase of a larger Flex project. Current phase is production of a type of online photo slide show with animated change effects. For detailed requirements please contact me - Ben [EMAIL PROTECTED]

[flexcoders] Re: Having trouble with swf app and proxies

2006-11-27 Thread pdflibpilot
I am having a similar issue with an application we hope to launch to the general public in January. In our beta testing we have clients who need to access their own special Flex app portal and currently their proxy server is looking for the crossdomain.xml policy file. Clearly we cannot expect to

[flexcoders] Binding Request result to ComboBox

2006-11-23 Thread pdflibpilot
I am having trouble populating a ComboBox with items returned from a HTTPservice request. My results are returned in the following format recordsrecordlabel2 Text/labeldata2/data/recordrecords I am using an ArrayCollection like this mx:ArrayCollection id=toc source=

[flexcoders] Capture URL of application Parent

2006-11-23 Thread pdflibpilot
I have been able to determine the url of the application using this.url but I really need to be able to determine the full URL - i.e. the full url of the HTML page displaying the swf. Any suggetions on how to do this ? Ultimately I plan to pass variables to the application by parsing the URL. I

[flexcoders] Login verfication

2006-11-06 Thread pdflibpilot
I am using the following HTTPservice request to query mySQL using PHP and return the users basic information into an array. mx:ArrayCollection id=userInfo source= {ArrayUtil.toArray(loginRequest.lastResult.records.record)}/ This is working fine since it will populate a form with their info,

[flexcoders] Re: Login verfication

2006-11-06 Thread pdflibpilot
, pdflibpilot flex@ wrote: I am using the following HTTPservice request to query mySQL using PHP and return the users basic information into an array. mx:ArrayCollection id=userInfo source= {ArrayUtil.toArray(loginRequest.lastResult.records.record)}/ This is working fine since

[flexcoders] Login application - several newbie questions

2006-11-05 Thread pdflibpilot
I am trying to implement an application where the user logs in using a Title Window. 1. I need to store data returned from the server containing user info with successful login. Currently I am using DataGrid but there is only one record. Is this the best method ? When the Title Window closes

[flexcoders] resize dataGrid using creationComplete

2006-11-04 Thread pdflibpilot
I am trying to grow the dataGrid to display only as many rows as the dataProvider contains. I am trying to use the creationComplete to invoke the ActionScript. Any suggestions as to how to overcome this problem of a null object as noted in my code below. public function