dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: Thomas D.Garrod

Page 1 of 13 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    275

    OK. I found the answer to my question. Actually,...

    OK. I found the answer to my question. Actually, I found the answer after writing the post, but before actually posting. I thought I'd go ahead and post anyway so I can support a search by someone...
  2. Replies
    1
    Views
    275

    [RESOLVED] Transparent background

    I've created a Flash menu for a website. Like any Flash file, this menu has a background. When the menus open to show submenu items, they drop-down over page content. To allow that the menu file...
  3. Thank you cancerinform. It was rude of me not to...

    Thank you cancerinform. It was rude of me not to reply with my thanks sooner. As it happens, I was off-tasked for a while and when I came back, the question returned - and here waits the answer. Much...
  4. [RESOLVED] Referencing the root frame label in a switch test expression

    Question: How do I reference the root frame label in a function for event dispatching using a switch statement.

    SUMMARY: This is simple, but as I've stepped away from ActionScript for too long,...
  5. Right. Apparently toFixed doesn't round a number....

    Right. Apparently toFixed doesn't round a number. According to the ActionScript 3.0 Language and Components Reference, toFixed() "Returns a string representation of the number in fixed-point...
  6. Hmm. Not sure what this does for me

    The first of the two functions corrects floating point errors. Assuming my issue is floating point errors, that would help, perhaps (of course I wouldn't know). But what does discovering numbers that...
  7. toFixed doesn't actually round numbers?

    I don't understand why my number generates more than two decimal places after toFixed is applied. Am I misunderstanding the purpose of toFixed()?

    Here is the code (one case in a switch):

    case...
  8. Replies
    15
    Views
    1,124

    Thanks Mr Loads O Flax

    I was just having logic problems. I followed your advice and traced the thing to death. Part of my problem is that I'm trying to do too much with my logic there are just too many variables. I've...
  9. Replies
    15
    Views
    1,124

    Good Questions

    Here are the declarations:
    private var m_premText:TextField;
    private var m_premHolder:Number;
    private var m_premIncrease:Number;

    Initially, m_premText holds a number in the form of a string.
    ...
  10. Replies
    15
    Views
    1,124

    I even tried m_premHolder =...

    I even tried m_premHolder = Number(this['customerPremiumText'].text);

    Can't fool Flash, it's still a "object TextField."
  11. Replies
    15
    Views
    1,124

    Must need more Flax. I tried m_premHolder =...

    Must need more Flax.
    I tried m_premHolder = Number(m_premText.text);//same result
    I tried m_premHolder = number(this['customerPremiumText']);//still = object TextField

    :>(
  12. Replies
    15
    Views
    1,124

    Right

    Right. Here is the trail of data:



    //in the constructor
    m_premIncrease = 0;
    trace("m_premIncrease = " + m_premIncrease// Yields: m_premIncrease = 0
    trace("m_premText = " + m_premText); //...
  13. Replies
    15
    Views
    1,124

    Check that (I forgot to remove the "new"). But...

    Check that (I forgot to remove the "new"). But now I'm getting a NoN at the front of my string (e.g., "NaN We do not cover repair business.").

    I don't understand that. It should be a number in...
  14. Replies
    15
    Views
    1,124

    I made the suggested change and got an...

    I made the suggested change and got an instantiation on a non-constructor error.
  15. Replies
    15
    Views
    1,124

    Thanks

    I really do have trouble understanding arrays. Moock did a really poor job on that. He doesn't show anything about how to instantiate an array, and from his description of the literal versus the...
  16. Replies
    15
    Views
    1,124

    I'm wondering if the issue might be string vs...

    I'm wondering if the issue might be string vs number. Could the array content be typed wrong? If so, any suggestions for resolution?
  17. Thanks florianvanthuyn, and thanks to Scott for...

    Thanks florianvanthuyn, and thanks to Scott for sticking with me on this too. If you have a chance, check out my post for parsing content from an array to a textField. The problem is probably equally...
  18. Replies
    15
    Views
    1,124

    [RESOLVED] Array to textField Madness

    This is a bit difficult to explain, but I'm trying to populate a text field from a multi-dimensional array. This is a reach for me, so it isn't surprising that I have an error:


    I can't see...
  19. Florian*, old buddy, you are so right.

    My problem was one of scope. Once I realized my misunderstanding of "private," I got it turned around. Thank you. I can mark this resolved if I can figure out where that is done.
  20. Yep.

    Thanks, you can check the files through this link. I'm afraid things have gone from bad to worse. I'm now getting a Error #1088: The markup in the docuemnt following the root element must be...
  21. That makes sense.

    So perhaps my problem was one of scope. When I tried to access other drag and drops from the DragDrop.as file, I was out of scope (the objects are instantiated in a function on the main class).
    ...
  22. Yes

    I thought I did, but I just tried it and the trace is the same. So maybe I did something wrong when I tried it before. What is that quote from the quick reference about then? Is it nuts?

    I have...
  23. Makes sense, but...

    didn't work when I tried it. I throughly agree that it should work that way. I'm betting it works that way for some (special people). It just didn't for me.

    The problem I faced is nicely defined...
  24. Thanks Scott

    Our ships passed in the night. This is not by any means the only code. I have several as files for loadingXML, for customer data, for Questions, for Drag&Drop. It is hard to have this discussion...
  25. Flash is alive!

    OK. Flash just has to prove me wrong. I think I have it now.

    Keep in mind that I've declared eDrags above the constructor thusly: private var eDrags:Array;


    eDrags = new Array();

    office...
Results 1 to 25 of 305
Page 1 of 13 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center