A Flash Developer Resource Site

Search:

Type: Posts; User: Danielle R

Page 1 of 20 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    8
    Views
    2,678

    Hi all, I've found a way to tackle this problem....

    Hi all,
    I've found a way to tackle this problem. First ItemRenderers are completely separate entities, they know nothing of each other so I can't get the widest item in the way I tried. I've now set...
  2. Replies
    8
    Views
    2,678

    Hi cancerinform, Yes the icons are outside...

    Hi cancerinform,
    Yes the icons are outside because I'm still testing. I'm struggling on with the width issue. My idea now is that if I can get the maximum width of the pyramid I can calculate the 0...
  3. Replies
    8
    Views
    2,678

    Well, when I trace it in the main mxml, like you...

    Well, when I trace it in the main mxml, like you do in your example it outputs 0... You say: but don't place that file in the data folder. What is the data folder? I've now created a separate package...
  4. Replies
    8
    Views
    2,678

    Hi cancerinform, Thanks for the example. I've...

    Hi cancerinform,
    Thanks for the example. I've implemented it. The x value of the parent component in the main mxml is 0 (which I knew). So it uses 0 in the itemRenderer and the effect is exactly the...
  5. Replies
    8
    Views
    2,678

    OK, I've got a little more insight into the...

    OK, I've got a little more insight into the problem now. The MenPiramid.x is also the x of the icon rows. The ItemRenderer only "knows" about itself. So what I need to know is the x value of the...
  6. Replies
    8
    Views
    2,678

    Flex: position item in ItemRenderer

    Hi all,

    I'm building a population pyramid in Flex (view this file: 73909 for one half of the pyramid). The rows of icons are placed in the right position at after loading. The red icons represent...
  7. Replies
    2
    Views
    1,735

    Hi cancerinform, you are right, as ever ;) I've...

    Hi cancerinform, you are right, as ever ;)
    I've added a creationComplete event and put the everything in a handler like this:

    protected function...
  8. Replies
    2
    Views
    1,735

    Flex: access of undefined property

    Hi all,

    I suppose I'm overlooking something very basic, but I can't get something very simple to work.
    I try, for example, to access a Graphic from the script block in Flex like this:...
  9. Hi JAQAUN, Thanks for that, of course that's it....

    Hi JAQAUN,
    Thanks for that, of course that's it. I did also have to add metadata to the ItemRenderer like this:

    <fx:Metadata>
    [Event(name="change_year", type="events.ChangeYearEvent")]...
  10. Thanks for your help. This doesn't seem the right...

    Thanks for your help. This doesn't seem the right approach. I'm trying a custom event now but I'm encountering some problems with that, please view this thread if you want to help:...
  11. Flex: can't access property of custom event

    Hi all,

    It's me again :) I've changed my strategy for this problem:...
  12. Hi JAQUAN, Thanks for your input. I've updated...

    Hi JAQUAN,
    Thanks for your input. I've updated function set data like you said and the eventHandler like this:

    protected function btn96ClickHandler(event:MouseEvent):void{
    currentYear =...
  13. Explain more

    Hi all,

    So far I've had no replies so I would like to explain a little more and add some code. I've been doing some more searching and I think I just need an eventlistener in my ItemRenderer but I...
  14. Flex: letting component know a button has been clicked in mxml

    Hi all,

    I suppose my problem is pretty basic but after searching for some time I can't find a solution. In my application I load 1 data file in the main mxml. After it loads some processing is...
  15. It sure is! I'd like to add that I'm using a...

    It sure is!
    I'd like to add that I'm using a slightly different approach, I'm using the an image fill for a rectangle:
    <s:Rect id="backgroundRect" left="0" right="0" top="0" bottom="0" >
    ...
  16. I had considered both your suggestions. I thought...

    I had considered both your suggestions. I thought it was a bit silly to fill array with individual values, but I understand now that is the way it should be done. I need to animate the visualisation...
  17. Hi again, I already did that. This is my...

    Hi again,
    I already did that. This is my ItemRenderer class as a whole:

    <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark" ...
  18. Hi cancerinform, The values shouldn't be even...

    Hi cancerinform,

    The values shouldn't be even because I want to display parts of icons (mask them for example) to show the remainder.
    I'm already working with the datagroup component, view...
  19. Some progres

    Hi all,
    I've managed to solve problem 1. I can now work with the data that comes into the renderer like this:

    <fx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable]...
  20. Replies
    2
    Views
    1,202

    What about this:...

    What about this: http://code.google.com/p/facebook-actionscript-api/
    The new Adobe ActionScript 3 SDK for Facebook Platform API, fully supported by Facebook and Adobe, makes it easy to build...
  21. [RESOLVED] Flex: displaying a calculated amount of icons in an itemRenderer

    Hi all,

    I want to make a population pyramid like this one:...
  22. Thanks very much cancerinform. MATE looks like a...

    Thanks very much cancerinform. MATE looks like a very robust solution. After continuing with the script I realised I don't need to do any calculations in the main application but I can pass the data...
  23. Sure the data loads. I can create the...

    Sure the data loads. I can create the DataProxy.populationMen ArrayCollection is created. I can access it in the mxml file for example here:
    <s:FormItem...
  24. Flex: letting application know when data is ready

    Hi all,
    I'm struggling with a Flex 4.6 application that has to notify the main application when data is parsed. I think I should be using a custom event but I don't quite know where to start. At the...
  25. Replies
    30
    Views
    4,603

    Haha, I told you it was unbelievable :) As for...

    Haha, I told you it was unbelievable :)
    As for the loading bit. The alpha is added after the load finishes because it's in the load complete handle. I wouldn't know of any other way of checking...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center