A Flash Developer Resource Site

Search:

Type: Posts; User: Calipoop

Page 1 of 3 1 2 3

Search: Search took 0.05 seconds.

  1. Replies
    0
    Views
    2,284

    Best Practice - Saving multiple images

    I'm building a Flash application that spits out 6 jpg byte arrays using Adobe's JPEGEncoder. Typically, with just 1 jpg I'd use something like the following simple php:



    $fp =...
  2. Replies
    5
    Views
    1,034

    yeah... I guess I'll have to do a side by side...

    yeah... I guess I'll have to do a side by side comparison when I get the time.

    And yes, I suppose 400K png was a bit of an exaggeration :shhh:
  3. Replies
    5
    Views
    1,034

    Heheh re huge-ass pngs - Well 3/4 the size of...

    Heheh re huge-ass pngs - Well 3/4 the size of 400K saves 100K, and the savings add up fast if you've got a few pngs for each different section.

    So in terms cpu though, you WOULD agree that a...
  4. Replies
    5
    Views
    1,034

    blendMode vs transparent png

    So you've got a transparent png. Rather than importing that png with its alpha channel, I've always assumed it's better to import it with a black or white matte, then use Flash's blend modes...
  5. In case anyone wants to know or has comments,...

    In case anyone wants to know or has comments, this is what I opted for:


    var hiddenArray:Array = new Array(5,14,15,17,23,24,26,27);

    for (var i:int; i<40; i++) {
    if (i == hiddenArray[0]) {...
  6. Thanks for the input neznein9. Guess I should...

    Thanks for the input neznein9. Guess I should just stick with the stacking!
  7. thanks for the reply - I had looked at .every()...

    thanks for the reply - I had looked at .every() and .map() but #1-couldn't make immediate sense of them and #2-they looked like more trouble than they're worth...

    Basically I have 40 objects...
  8. Is there a way to access multiple array indeces simultaneously?

    Is there a way to do something like this?


    var myArray:Array = new Array(10)
    myArray[8, 9, 10].visible = false
    where myArray[8, 9, 10] would access the last three objects referenced in the...
  9. Makes perfect sense. Thanks so much for you help...

    Makes perfect sense. Thanks so much for you help and clarification! :thumbsup:
  10. Neznein your solution works great, a simple...

    Neznein your solution works great, a simple import into frame 1 and the global var works in all children.

    Now I just have a question about how the Class works; I'm still pretty noobish on classes....
  11. Hah! Thanks for your reply neznein, I'll put...

    Hah! Thanks for your reply neznein, I'll put this to use and test in the next hour.
  12. Perhaps I'll restate the question since my...

    Perhaps I'll restate the question since my attempted solution might be the best way to accomplish this:
    What is the best method to reference a variable that is set on the main timeline?

    For what...
  13. aw - no advice? :(

    aw - no advice? :(
  14. advice for controlling multiple sounds in multiple timelines

    Here's the setup:
    -I have a music score that will be streamed in via actionscript
    -I also have multiple short sounds (SFX) in multiple nested MCs
    -these SFX sounds are customized using the ide...
  15. Replies
    2
    Views
    9,219

    Thanks Ranoka!

    Thanks Ranoka!
  16. Replies
    2
    Views
    9,219

    circular mask animation

    Having a terrible time animating a circular mask. I've searched the forums but no luck. Does anyone know of a definitive way to draw a circle over time?

    More specifically: I have a ring png...
  17. Thanks for the insight! Would you say there is...

    Thanks for the insight! Would you say there is any performance benefit to either method? And in my case where buttons are already on the stage, would it then be better practice to use...
  18. aw man... I'm just retarded and overworked. Yes...

    aw man... I'm just retarded and overworked. Yes the same exact way works as Taco pointed out. It was an error in naming that was causing the problem.

    So related question - is there any advantage...
  19. as3 is killing me slowly. quick for() question

    I have three items I've placed on the stage: thumb1 thumb2 and thumb3. To assign button actions I'd previously use something like this in as2:


    for(i = 1 ; i<=3 ; i++){
    this["thumb"+i].onPress...
  20. Replies
    2
    Views
    657

    Yes, it was the former I was talking about. I...

    Yes, it was the former I was talking about. I know how to render html, it's saving the jpg to disk that was my goal. However, I've decided to simply zip the jpg up, so when the user clicks on the...
  21. Replies
    2
    Views
    657

    Can CS3/AS3 do this yet?..

    can you have an html page within an swf? For example, my goal is to load an image within the swf, but let it be downloadable (via right-click -> save target as). Are there any slick methods of...
  22. In case anyone else is looking for this answer, I...

    In case anyone else is looking for this answer, I figured it out:



    var theURL:URLRequest = new URLRequest("theFile.html");
    navigateToURL(theURL, "_self");
  23. quick (simple?) question about loading html into root

    How would I replace the current swf with html page into the same window?

    in AS2 it would be something like getURL("www.blah.com","_self")

    Please help!

    Thanks
  24. cool thanks!

    cool thanks!
  25. oh ok... so this is not possible through timeline...

    oh ok... so this is not possible through timeline actionscript, but rather through .as classes?

    basically what I have is an MC that has a motion tween. I want to dynamically insert different...
Results 1 to 25 of 59
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center