dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: Handycam

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    671

    Link text is breaking onto its own line

    I have an XML file generated by our CMS. It's gives me a node like this:



    <Abstract>
    <p>Wood scientist and consultant Howard Brickman first saw this cutting gauge...
  2. Replies
    1
    Views
    759

    un-selectable check box?

    I'd like to use a checkbox to display if part of my program is complete, setting its selected property programmatically only.

    But I don't want the user to be able to change it by clicking on it. ...
  3. Replies
    0
    Views
    893

    Numeric stepper not getting data? Help!

    A while back, Chris posted an excellent solution for a numeric stepper item editor component. I have used this fine, but now it's not working.

    I have a drag-n-drop grid. Items are dropped in,...
  4. Replies
    1
    Views
    655

    How to get contents of datagrid?

    I've got two data grids. Elements can be dragged from one to the other. The first grid is populated by a binding to a data provider, an XMLList The second grid has not data provider, as it's empty...
  5. Replies
    0
    Views
    561

    How do I loop a variable name?

    I've got this function:


    public var choiceList0:Array = new Array();
    private function getLists():void {
    for each (var m:XML in xmlData.step.ingredientList[0].items.item.attribute("ln1")){
    var...
  6. Replies
    0
    Views
    508

    Save and then restore a list selection?

    I've got a list control in a popup window, supplied by a dataProvider. The user makes selections, clicks OK, and the selections are processed -- it all works fine.

    However, since it's a popup...
  7. Replies
    3
    Views
    3,941

    Except that didn't work for me... have you tried...

    Except that didn't work for me... have you tried it?

    You're right, according to the docs it should be the way to go.
  8. Replies
    0
    Views
    1,008

    One-way data binding?

    I've got a series of data grids that reference items in an XMLList, as in:


    <mx:DataGrid id="dg1" width="100%" dataProvider="{stepChoices1}" selectable="false">
    <mx:columns>
    ...
  9. Replies
    3
    Views
    3,941

    Someone found a solution on another forum, so...

    Someone found a solution on another forum, so I'll share it here:

    This question was answered by fletch1856, on Friday, July 20, 2007 7:06 AM

    Answer
    If you havent found an answer yet I think I...
  10. Replies
    3
    Views
    3,941

    Getting numeric value from an XML file

    In my XML file, I have an item like:


    <myxml>
    <amount>5</amount>
    </myxml>

    In my Flex code, I have a something like:
  11. Replies
    0
    Views
    2,538

    Setting selected items in a list

    I apparently don't understand setting a value like this...

    I've got a list. At the click of a button, I run a function to assign list.selecteditems to a variable typed as an array. Fine.

    I...
  12. Replies
    0
    Views
    522

    Panel not scrolling to show extra text!

    I have a panel in my app (layout vertical, vertical gap 0) that's has about 15-20 text elements in it. These are mapped to variables, and as you use the app their values are set accordingly.

    My...
  13. First, save the new component wherever you keep...

    First, save the new component wherever you keep your components, let's say you call it "MyPopWindow.mxml"


    Assign public variables for the string in both the main app and the popup.

    In your...
  14. Replies
    0
    Views
    2,396

    How to pass an variable object reference?

    How do I use a string to dynamically set an object reference?

    For example, I have a pop up window with a function to set the text of a text object in the main application:
    ...
  15. List control not updating to show added item

    I'm having trouble getting a list control to update.

    In my main application, there's a list control, "ingredList". It's bound to an Array "ingredientList". It displays to two nonsense items I...
  16. Replies
    1
    Views
    595

    Count & store items in a data grid

    My app has 2 data grids. The left grid uses an array collection as its data provider. The user can drag these items to the other grid.

    I need to:

    1. count the number of items in the right...
  17. Replies
    0
    Views
    638

    Display SQL Results in datagrid?

    I'm trying to access a local DB file using an Air app. I can successfully create the connection and connect; what I'm really stuck on is displaying the data from my request in a Data Grid.
    ...
  18. Replies
    1
    Views
    7,668

    Ok, I fixed it (thanks to another user) by just...

    Ok, I fixed it (thanks to another user) by just replacing all the [] with getItemAt(), i.e.

    ingredientList[0].label becomes ingredientList.getItemAt(0).label
  19. Getting and adding Numeric stepper values

    I've got a form with a series of form items like:

    <mx:FormItem>
    <mx:HBox>
    <mx:CheckBox id="c0" width="{colW}" label="{ingredientList.getItemAt(0).label}" change="enableStepper(q0,c0)"...
  20. Replies
    1
    Views
    7,668

    Array Collection getItemAt method?

    I have an app with an array collection, here's the fist 2 items:

    [Bindable]
    private var ingredientList:ArrayCollection = new ArrayCollection([
    {label:"Celery, chopped", min:1, max:2,def:1,...
  21. Replies
    1
    Views
    462

    This keeps happening. There's a call to a...

    This keeps happening. There's a call to a function in the main app, as above "click=step2handler()"

    The step2handler code is in the script block of the step2.mxml component, as a public function....
  22. Replies
    1
    Views
    462

    Public function problem

    In my main app, I have this button:

    <mx:Button id="list2Done" label="Done" click="step2Handler()"/>

    And in my component, step2.mxml, I have a public function:

    public function...
  23. Replies
    5
    Views
    1,182

    Alternate options

    I've got this working, but now my client feels it's not clear that the Quantity is editable, since you only see the stepper control when you click on that cell (to edit it).

    Do you know of a way...
  24. Replies
    5
    Views
    1,182

    Ah! Of course. You know, I never would've...

    Ah! Of course.

    You know, I never would've thought to preface those variables with "data." I thought I had tried it every which way -- but not that. Thanks gain.
  25. Replies
    5
    Views
    1,182

    Many thanks! A big help. What does the...

    Many thanks! A big help.

    What does the function do, exactly?
Results 1 to 25 of 26
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center