dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: badaboom55

Page 1 of 6 1 2 3 4

Search: Search took 0.29 seconds.

  1. Thanks, I'll probably just call my class...

    Thanks, I'll probably just call my class DataSource or something, sometimes the best names are already taken by Flash, so it just got me thinking.
  2. [RESOLVED] Custom Class named the same as Flash Class, problems?

    All,

    I understand it's probably best practice to name your custom classes differently than the built-in AS3.0 classes; however, what kind of problems could I run into if I don't?

    Specifically,...
  3. Replies
    1
    Views
    939

    Conditional vs. Conversion

    Which, in theory would be faster... using a conditional or allowing the Flash engine to automatically convert the values?

    Conditional

    var output:int;
    var b:Boolean = true;
    var i:int = 5;...
  4. Replies
    0
    Views
    3,309

    Swipe/Drag/Pan an Object such as a list?

    Ok, so I'm starting to delve into developing for touch enabled devices.
    However, in looking over the AS3 Multitouch API documentation, I'm having a hard time seeing how to I can differentiate...
  5. Replies
    1
    Views
    4,028

    what error?

    what error?
  6. Well, unfortunately I'm trying to sift through...

    Well, unfortunately I'm trying to sift through somone else's code... but GENERALLY... for the "top-level" instances (Config1, etc.) are created in a global space. Then, my "2nd level" xmls are...
  7. Wow, I'm really off today... I'm sorry, thanks...

    Wow, I'm really off today...
    I'm sorry, thanks for taking the time, by the way:
    // On launch
    var Config1:myCustomLoader = new myCustomLoader("Config1.xml");
    var Config2:myCustomLoader = new...
  8. oops, that was a typo, it is a class variable: ...

    oops, that was a typo, it is a class variable:

    // myCustomLoader class
    package {

    public class myCustomLoader extends EventDispatcher {

    private var urlLoader:URLLoader = new...
  9. URLLoader - No Error Event, No Success Event

    All,

    I have encountered an interesting problem when I try to load an .xml file using a URLLoader (within my own custom class). I have several configuration .xml files which I use to configure the...
  10. Is it possible to reference a Constant in an XML attribute?

    Hello all,

    Is it possible to reference a constant in an XML attribute (or the node itself)?
    Meaning if I have a class with some defined constants like:
    package{

    public class MyConstants {...
  11. Replies
    5
    Views
    1,556

    No, I'm not loading SWFs... But, it might have...

    No, I'm not loading SWFs...
    But, it might have something to do with the way the Navigator gets instantiated?

    I have an .fla with a Navigator instance already on the stage. I believe I want the...
  12. Replies
    5
    Views
    1,556

    Well... I agree, but, the data type SHOULD be...

    Well... I agree, but, the data type SHOULD be clear... I will always store a reference to an instance of Navigator in the Global.myNavigator variable... so, it's always been my impression that...
  13. Replies
    5
    Views
    1,556

    Strange appearance of Error 1118

    Hello All,

    Usually, I know why and how to fix the compiler errors I receive, and I can fix the 1118 I'm currently receiving... but I don't really understand WHY I'm getting this particular error,...
  14. Oy... should've known that... thanks!

    Oy... should've known that... thanks!
  15. Oops... not done yet apparently... Now I'm...

    Oops... not done yet apparently...

    Now I'm encountering an interesting problem when I try to remove the listeners.

    In ClassA (the dispatcher) I have:
    Broadcaster.broadcastEvent("someEvent");
    ...
  16. Meh, no problem, that's what the Compiler Panel...

    Meh, no problem, that's what the Compiler Panel is for! The tricky part is when nothing works and you DON'T get errors =)

    I was just posting for completeness for future viewers.
  17. Got a compile error... _instance should be...

    Got a compile error... _instance should be "static" as well, I think.
    private static var _instance:Broadcaster = null;
  18. Ahh, ok, that makes sense... that you need an...

    Ahh, ok, that makes sense... that you need an instance to dispatch the event... and I really only want 1 instance at any given time.
  19. Just changing "bubbles" to true doesn't seem to...

    Just changing "bubbles" to true doesn't seem to work. At least not with objects outside of the dispatcher's display list hierarchy. Using the above I could "hear" the event in the dispatcher's...
  20. [RESOLVED] Dispatch and Listen for a Global Event

    All,

    Thanks for your patience, I know there's been quite a few posts about events, but I've run into a problem that I haven't really encountered before, and I've kind of confused myself with all...
  21. Ahhh...found the answer, do the same thing as I...

    Ahhh...found the answer, do the same thing as I would do for any project that uses the built-in AS3 components (such as FLVPlayback):

    Put the Font items into a new .fla library and export a SWC.
    ...
  22. Replies
    2
    Views
    1,346

    Make sure the progressbar and bar aren't flipped...

    Make sure the progressbar and bar aren't flipped or have some weird rotation on them.
    Then make sure you're passing the correct "value" to your function by rewriting it like so:

    function...
  23. [RESOLVED] ASDoc Error: Can't Find Embedded Fonts?

    Hello,

    I am working in Flash CS5 Professional.
    On my stage, I have a dynamic TextField (my_txt) that uses a basic font, we'll say Arial. However, I want to format some of the text within the...
  24. Replies
    9
    Views
    1,878

    buffer? By this, do you mean storing 10 objects...

    buffer?
    By this, do you mean storing 10 objects in the Vector and keeping them ready to go... even though most of the application will only need 1 or 2 of those objects at a time, but in a specific...
  25. Replies
    9
    Views
    1,878

    Thanks, ActionScript abounds with exceptions,...

    Thanks, ActionScript abounds with exceptions, obviously... but in general, I was thinking this as well.
Results 1 to 25 of 133
Page 1 of 6 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center