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
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
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,
, 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
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=
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
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
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]
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
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
According to the documentation eval() has been removed as function -
is there an alternative ? I really would like to use this function.
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
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
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
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
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
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 ??
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 ?
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
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
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
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
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.
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 ?
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
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
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.
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
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.
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
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 ??
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 ?
32 matches
Mail list logo