dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: fx.barrett

Page 1 of 20 1 2 3 4

Search: Search took 0.39 seconds.

  1. Replies
    10
    Views
    1,050

    Maybe because "you can" and second of all, the...

    Maybe because "you can" and second of all, the satisfaction is not the same. It's ok if you use the stuff someone else put together just "to get the job done" but you really not learning from all...
  2. Replies
    10
    Views
    1,050

    Personally, I'd simply go with recursion. I would...

    Personally, I'd simply go with recursion. I would have a method that gets as an argument an index ( assuming that you store the paths to all your image in an Array ). I'd start the loading by calling...
  3. It's not working because the text field is...

    It's not working because the text field is stealing the event. Use button.mouseChildren = false; button.buttonMode = true;
  4. Hint: don't look for tutorials, learn programming...

    Hint: don't look for tutorials, learn programming instead ( only if you ever want to actually be able to do something with AS 3.0 ).
  5. Replies
    3
    Views
    559

    In short: go on with Flex. Flash is not a...

    In short: go on with Flex. Flash is not a development environment, it's good for making animations and simple stuff but it would be way time consuming to build a real application in Flash. Cairngorm...
  6. Replies
    18
    Views
    939

    Uhh, really late reply... Sorry. @ neznein9:...

    Uhh, really late reply... Sorry.

    @ neznein9: yeah, that's a good way of doing it. An even faster would be this:


    var arr:Array = [0xFF0000, 0xFF6600, 0xFFFF00, 0x0066FF, 0x00FF00];
    var...
  7. Replies
    18
    Views
    939

    Nothing is perfect :) Nor is ActionScript...

    Nothing is perfect :) Nor is ActionScript...
  8. Replies
    18
    Views
    939

    I don't have a scientific explanation for this......

    I don't have a scientific explanation for this... but it might have something to do with possibility. We should take a look at the Math class an see how random works ( because random ain't really...
  9. Replies
    18
    Views
    939

    You got me confused a bit... Why did you use dual...

    You got me confused a bit... Why did you use dual random instead of round and random in the second situation ?
    What were you trying to prove / test there ?
  10. Replies
    18
    Views
    939

    Why would ceil screw the randomness ? Please...

    Why would ceil screw the randomness ? Please explain...

    EDIT: it's essentially the same thing as using Round ( in your last post ) just that it has a slightly larger chance to hit a bigger index...
  11. Replies
    18
    Views
    939

    @ MyFriendIsATaco: your code is almost correct,...

    @ MyFriendIsATaco: your code is almost correct, but there's a tiny problem with it... By using Math.round you might end up with a situation when instead of getting a random index from 0 to the length...
  12. Thread: addChild?

    by fx.barrett
    Replies
    2
    Views
    482

    First of all, where are the artowork MCs situated...

    First of all, where are the artowork MCs situated at ? If your MCs are in the library then you'll need to do this:


    // assuming artwork1 , 2, 3... are the linkage names of your MCs
    var...
  13. Replies
    10
    Views
    1,259

    I'll be a bit harsh, but my intention is not to...

    I'll be a bit harsh, but my intention is not to offend but to give a honest feedback.

    1) No offense, but "Alien Web Designs" sounds childish, you really should have thought of a better name
    2) I...
  14. Replies
    2
    Views
    432

    I don't understand you problem, could you write...

    I don't understand you problem, could you write proper English ?
  15. Replies
    3
    Views
    1,521

    Could you post some code so that we can see how...

    Could you post some code so that we can see how you're doing the whole focus thing ? If you ever using FocusEvent.FOCUS_IN and FocusEvent.FOCUS_OUT, it should work just fine.
  16. Replies
    1
    Views
    618

    Is your published .swf embedded as 100% width and...

    Is your published .swf embedded as 100% width and 100% height ( full browser ) ? Because if it's not then that's the problem.
  17. Replies
    5
    Views
    601

    1) Don't use setInterval, use Timer instead. 2)...

    1) Don't use setInterval, use Timer instead.
    2) It's going faster and faster because with each click you are initiating that setInterval function that keeps on firing the writeIt(); function. You...
  18. Replies
    5
    Views
    32,033

    Here's my custom scrollbar class, maybe it will...

    Here's my custom scrollbar class, maybe it will help as inspiration. Good job. ;)
    http://www.flashforum.ro/viewtopic.php?f=25&t=73&start=0#p743
  19. Replies
    8
    Views
    1,249

    I don't know of any easy books... AI is...

    I don't know of any easy books... AI is essentially: applying algorithms.
    I'm currently studying AI at University too and sadly, I can't point you in a way... It's seems complicated only at first...
  20. Here's how I'd do it: var rectList:Array =...

    Here's how I'd do it:


    var rectList:Array = new Array();

    for (var i:int = 0; i < 5; i++)
    {
    var rect:RectangleMc = new RectangleMc();
    rect.x = Math.round(rect.width + 10) * i;...
  21. Replies
    8
    Views
    1,249

    I don't know of any book specially on AI in AS...

    I don't know of any book specially on AI in AS but you could try this book:...
  22. var list:Array = ["one", "two", "three", "four"];...

    var list:Array = ["one", "two", "three", "four"];
    trace(this.list.indexOf("three"));
  23. import fl.transitions.Tween; import...

    import fl.transitions.Tween;
    import fl.transitions.easing.None;
    import fl.transitions.TweenEvent;

    var counter:Number = 0;
    var container:MovieClip;
    var tf:TextField;

    // your XML structure...
  24. Replies
    2
    Views
    658

    This is ActionScript 3.0, meaning that all code...

    This is ActionScript 3.0, meaning that all code goes on frames. You can't add anything to any symbol ( that was only possible in ActionScript 2.0 and 1.0 ).
  25. Thanks jAQUAN for taking a look. I have no idea...

    Thanks jAQUAN for taking a look. I have no idea why you got infinity% infinity% infinity% maybe you caught my server off guard and it wasn't doing something right because I never got those values :)...
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