A Flash Developer Resource Site

Search:

Type: Posts; User: sirzooass

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Thanks for your insight fruitbear! Here's...

    Thanks for your insight fruitbear!

    Here's where I landed (assuming I don't hit another snag). This converts CSV data within quotes (exported this way by Excel because they contain commas and/or...
  2. This actually turned out to be worse than...

    This actually turned out to be worse than expected because some Excel field have commas within them, but found the answer at the bottom of:
    ...
  3. Regular expression to replace certain characters between 2 other characters?

    I'm working with some CSV data exported from Excel and need to clean it up so I can correctly convert it to array. The following works fine if there are double carriage returns, but if there are...
  4. It seems that drawing from point to point is what...

    It seems that drawing from point to point is what is causing a segmented looking line. It might not be an issue if the frame rate was so high that the mouse coordinates were recorded at every pixel...
  5. Do you have code in mind that would accomplish...

    Do you have code in mind that would accomplish drawing smooth calligraphic lines not using lineTo? I don't understand how leaving a trail of shapes would be any better.
  6. Hi moot. Unfortunately I cannot do that. It is...

    Hi moot. Unfortunately I cannot do that. It is for an application where the user controls a chiseled marker that has to dynamically draw on the screen.
  7. This works OK, but the line is somewhat jagged. I...

    This works OK, but the line is somewhat jagged. I could update with trig to change the angle of the line, but I don't think that would make the line smoother. I tried messing with the lineStyle...
  8. Is there a way to draw a chiseled line in Flash?

    I have a project where I need to draw a chiseled line as if the user is using a calligraphy pen / chiseled marker. I'm not sure how to even approach this as it is outside of Flash's drawing API, and...
  9. Got it!!! ...

    Got it!!!


    data.module.(descendants("description").text().contains("DESC4")).modName
  10. E4X trouble. Any way to match child node value and get XMLList several nodes up?

    Using this simplified example, is there a way to match the description DESC4 and spit out an XMLList at the module level? Right now it spits it out at the activity level. The end goal is to search on...
  11. Replies
    21
    Views
    13,863

    Woohoo! Got it working 2 different ways....

    Woohoo! Got it working 2 different ways. Hopefully someone out there will find this useful!


    import flash.display.BitmapData;
    import flash.geom.Matrix;

    // ADD A MOVIECLIP WITH THE INSTANCE...
  12. Replies
    21
    Views
    13,863

    Something like this...

    Something like this (with fading instead of gravity) would also work. Unfortunately, this example breaks an image up into single pixels, not larger blocks.
  13. Replies
    21
    Views
    13,863

    I know this thread is ancient, but I'm looking to...

    I know this thread is ancient, but I'm looking to do something somewhat similar and was wondering if anyone has seen anything like this:


    1 - copy a movieclip on stage into a bitmap and hide it...
  14. Oops! Meant to type "removing the pixels that are...

    Oops! Meant to type "removing the pixels that are 100% transparent, but shifting semi-transparent colored pixels to 0% transparency"
  15. Need help using threshold to remove and shift transparent pixels in a bitmap

    What I'm looking to do is capture a movieclip containing drawn vector shapes with smooth semi-transparent edges and create a bitmap where all transparency has been removed. Not just removing the...
  16. Glad to see that this post is still helpful over...

    Glad to see that this post is still helpful over 3 years later :)
  17. Thanks for the insight! Just before I read this I...

    Thanks for the insight! Just before I read this I tried flipping on the x-axis only and using rotation and it seems to be working. I had a problem with the rotation when the object and its reflection...
  18. How to reflect a movie clip across an angled line?

    I'm trying to build a tool similar to this.

    I'm using movie clips for the shapes.

    I am placing the reflected shape by figuring out the point on the line perpendicular to the original shape's...
  19. Need help dynamically generating XML filtering OR statement

    Does anyone know if there is a way to create the OR statement like this dynamically? (the data is for example only)

    var results:XMLList = animals.animal.(species == "cat" || species == "dog" ||...
  20. problem creating static class that does not need to be instantiated

    I'm trying to set up a static class that does not need to be instantiated but I keep getting smacked with the error:

    Spring.as, Line 26 1119: Access of possibly undefined property onEnterFrame...
  21. Figured it out :) trace(myXML.item.(...

    Figured it out :)

    trace(myXML.item.( /color/.test(*) ));

    but that includes node names so

    trace(myXML.item.( />.*?color.*?</.test(*) ));


    I guess the next challenge is to weight the...
  22. Most efficient way to search all children for a keyword with E4X?

    I've been experimenting with searching and filtering XML and displaying results and can't seem to google my way to the right answer so...

    Is there any way to simplify the expression below so it...
  23. [RESOLVED] flash.net.FileReference error #1069 in loaded SWF

    I'm using save to download directly from Flash and avoid uploading to a server and then downloading.

    The problem was that save() is a Flash 10 thing, and the parent SWF was set to publish in...
  24. flash.net.FileReference error #1069 in loaded SWF

    I'm using FileReference to download an image directly from Flash. Works fine in my standalone SWF, but it throws the following error when it is loaded into another SWF:

    ReferenceError: Error...
  25. Replies
    0
    Views
    5,073

    How to draw a spiral spring unwinding?

    Does anyone have any insight as to how I could draw a spiral spring (like these http://www.google.com/images?q=spiral+spring) unwinding?

    I have discovered how to draw an Archimedean spiral...
Results 1 to 25 of 74
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center