A Flash Developer Resource Site

Search:

Type: Posts; User: Sleeve

Page 1 of 20 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    1
    Views
    752

    I haven't had to deal with this this myself yet...

    I haven't had to deal with this this myself yet but I see it peppered throughout the Flex Framework and it seems to refer to the problem you are having.

    Have a look at the embeddedFontRegistry...
  2. Replies
    5
    Views
    1,533

    Not is flash. Mouse speed is controlled by the...

    Not is flash. Mouse speed is controlled by the OS and flash does not have access to it. Depending on your use case, you might be able to compromise.
  3. Replies
    3
    Views
    493

    Not if you use a weak reference ...

    Not if you use a weak reference

    randomObject.addEventListener(MouseEvent.CLICK, reaction, false, 0, true);
  4. Replies
    5
    Views
    1,311

    This is a perfect candidate for composition....

    This is a perfect candidate for composition. Instead of extending the viewstack, create a custom component that uses a view stack. This way you have access to all class members at the point of...
  5. Replies
    5
    Views
    1,311

    Viewstacks use deferred instantiation of child...

    Viewstacks use deferred instantiation of child objects. Meaning, you have to select the view first, then your object is created, added to stage and all methods and properties become available. Once...
  6. Replies
    2
    Views
    1,150

    So the comboBox uses a Button to actuate the...

    So the comboBox uses a Button to actuate the dropdown list which picks up that type selector in your css. Type selectors are the ultimate global style declaration. Having a 'Button' type selector...
  7. Replies
    1
    Views
    723

    Because you need layout logic in components added...

    Because you need layout logic in components added to an application. UIComponent is the base class allowed to be added to a Container. Add all sprites to the rawChildren property of the app, as in...
  8. So, first of all. You have entirely too much time...

    So, first of all. You have entirely too much time on your hands. Second, get a dev job, you are probably wasting talent. Third, release your code. This is the only way most dev's can truly...
  9. Replies
    5
    Views
    1,715

    set the text's leading to a negative number in...

    set the text's leading to a negative number in your styleSheet or styleObject for a quick hack.
  10. Replies
    10
    Views
    775

    It may have to do with your height and width...

    It may have to do with your height and width designations after the renderer is instantiated however, there is a more pressing issue with your code:
    for (var i = 0; i < numChildren; ++i) {...
  11. Replies
    10
    Views
    775

    dz902- You are going to want to create a...

    dz902-

    You are going to want to create a custom cellRenderer for your particular UX. To better understand what went wrong with your cellRenderer, you first have to know how the List component...
  12. Replies
    1
    Views
    2,207

    Hi - You are targeting the wrong parent for the...

    Hi - You are targeting the wrong parent for the removal of the Sparkle. Remember, a Container keeps skins, and it's psudo intrinsic children on the rawChildren object. You are accessing parent...
  13. Thread: can it be done?

    by Sleeve
    Replies
    1
    Views
    650

    The Flex SDK is free to anyone. All you need is...

    The Flex SDK is free to anyone. All you need is an editor to help with the coding. This is outside of Flash 8 and is a completely different set of frameworks but you do not need any 'Flash' version...
  14. Replies
    3
    Views
    1,135

    why not retain a reference to your "box" in a var...

    why not retain a reference to your "box" in a var on the main class, then check the var instead of looping through a displaylist? Each time the box is created, the variable is set to that object and...
  15. event:Event=null is there in case you want to...

    event:Event=null is there in case you want to call the function without a event being passed. I use this whenever I don't care about the event.
  16. Your problem is in referencing the stage object...

    Your problem is in referencing the stage object that does not exits yet. Your Main.as should have the ADDED_TO_STAGE event to ensure that you can reference the stage before trying to add listeners...
  17. Replies
    4
    Views
    603

    I don't mean to butt in on this thread but......

    I don't mean to butt in on this thread but... using getChildByName to target what should probably be a Sprite anyway is a bad habit to develop. It lends to poor organizational coding practices and...
  18. Replies
    1
    Views
    534

    Complex vectors will always be processor...

    Complex vectors will always be processor intensive and unpredictable depending on the user's machine. Even non-blocking multi-threaded vector rendering operations will be arduously slow on a PIII...
  19. Replies
    3
    Views
    622

    Use UIScrollbar.scrollPosition =

    Use UIScrollbar.scrollPosition = <int>
  20. Replies
    3
    Views
    622

    Just call UIScrollBar.update(); after you scroll...

    Just call UIScrollBar.update(); after you scroll your scrollTarget manually.
  21. Replies
    9
    Views
    1,234

    5TonsOfFlax - You should also clarify that...

    5TonsOfFlax -

    You should also clarify that naming and retrieving your instances using the name property is a newbish AS2 habit that should probably be used sparingly if at all in AS3.
  22. Replies
    5
    Views
    1,246

    Hi- Sorry for the late response. Here is a...

    Hi-

    Sorry for the late response. Here is a working example - Just paste the following code in the first frame of the main timeline
    var sprite0 : Sprite;
    var sprite1 : Sprite;
    var button :...
  23. Replies
    3
    Views
    891

    I have built a custom comboBox component that...

    I have built a custom comboBox component that takes an XML object as the dataprovider (see attached). When it is in enhanced mode, the auto complete and auto filter methods are available to sort the...
  24. Replies
    3
    Views
    891

    XML Child Node Access Optimization?

    Is there any difference between * and children() when accessing the children of an XML object? Any speed gains by using one versus the other?
  25. Replies
    8
    Views
    797

    I thought the System.gc() is for the flash player...

    I thought the System.gc() is for the flash player debugger only therefore it will not work for all other versions. Is this not correct?

    Anyway, looking up gskinner, I found what may be a solution...
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