A Flash Developer Resource Site

Search:

Type: Posts; User: duchman

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    0
    Views
    831

    Bouncing ball down the hill? Help

    Ok, heres that bouncing ball again...
    I know how to do regular bouncing, if ball reached the target, do *= - on velocity and set that position to balls position..
    But I am tryin to roll the ball...
  2. Replies
    5
    Views
    1,064

    Thank You very much for Your time and tuts, its...

    Thank You very much for Your time and tuts, its quite helpful!
    Theres just so many ways to write a line of as3, and its good to have some
    healthy advices.
    Thnx Gk!
  3. Replies
    5
    Views
    1,064

    I see. Your suggestion feels right, its more...

    I see.
    Your suggestion feels right, its more clearly and easier to maintain.
    Its a point and click game,I just have many many MouseEvents, code is getting huge, and I started to care for...
  4. Replies
    5
    Views
    1,064

    Ternaries on Mouse interaction Y/N?

    Pros and cons of doing this please:

    (e.type == "rollOver")? doOver:doOut;

    Any gain except of condensing the view?
    Any loss on speed or performance?

    Thanx
  5. Replies
    6
    Views
    2,565

    Thanks mr 5Tons, for optimized code, but much...

    Thanks mr 5Tons, for optimized code, but much more for advice on how to do stuff. You guys are amazing!
    Btw, why is there some stupid dot flashing under my input cursor, in input field??
    It...
  6. Replies
    6
    Views
    2,565

    O, yes it works! Tried it! Thats right, just...

    O, yes it works! Tried it! Thats right, just inserted break to exit the loop.

    Thanks for quick reply jamesloacher!!
  7. Replies
    6
    Views
    2,565

    Will that mach a username with correct pass? I...

    Will that mach a username with correct pass? I dont want to login as a user with just any pass from array.. Havent tried Your example, thats why Im asking..
  8. Replies
    6
    Views
    2,565

    Login Form Help as3

    I have two arrays of strings
    containing usernames and passwords for login,


    var uN:Array;
    var pW:Array;
    uN = ["fla","fli","flu"];
    pW = ["adv","advi","advu"];

    I need to do a function which...
  9. Replies
    0
    Views
    479

    Help swfaddress navigation no timeline

    Im building a site, pure as3, external classes, no timeline. Using swfaddress.
    I have a Master class with navigations and listeners, and pages are external classes with their dispose() methods.
    ...
  10. Replies
    1
    Views
    1,140

    null -ing stuff Help

    if I have:

    public class Gate extends MovieClip {


    private var sC1 = new SoundChannel;
    private var dO = new Sound(new URLRequest("open.mp3"));
    private var dC = new...
  11. Replies
    5
    Views
    1,636

    Nevermind..stupid question.. spending too much...

    Nevermind..stupid question.. spending too much time on timeline can kill ones deduction.. :)
  12. Replies
    5
    Views
    1,636

    Ok, got that. Now I have problem of retaining the...

    Ok, got that. Now I have problem of retaining the actual layer order from IDE..
    Main Mc has seven layers of which some are graphics(no instance names), and in IDE layer order they were above of...
  13. Replies
    5
    Views
    1,636

    This is a mock up of my file, since its a mess,...

    This is a mock up of my file, since its a mess, lets not waste Your time navigating through all code..Never done anything through Document or external classes, so Im totaly lost how to move out...
  14. Replies
    5
    Views
    1,636

    Help timeline code to class as3

    Help..
    I have all my code in timeline, and I would like to put it in external classes, It would be easy if I had it all just in main timeline, but when I have code in children of main mc, and...
  15. Replies
    3
    Views
    1,801

    I dont know if this can be done? var...

    I dont know if this can be done? var bitmapBounds:Rectangle = tempScore.bitmap.getBounds(this)...
    bitmapBounds.contains(bla,bla)...
    And to Tweenlite that?
  16. Replies
    3
    Views
    1,801

    You should import like this: import...

    You should import like this:
    import com.greensock.*;
    import com.greensock.easing.*;
    import com.greensock.plugins.*;...
  17. You could dispatch new event on last frame of...

    You could dispatch new event on last frame of child clip, and set listener for it on main timeline telling it where to go..
  18. Replies
    2
    Views
    940

    If I understood You right.. It has to do with...

    If I understood You right..
    It has to do with MovieClip(parent).mc. and gotoAndStop event.target.name..
  19. Replies
    4
    Views
    1,583

    YES!! WORKS! Thanks Man! var myTimer:Timer =...

    YES!! WORKS!

    Thanks Man!
    var myTimer:Timer = new Timer(3000);
    myTimer.addEventListener(TimerEvent.TIMER, addDrop);
    myTimer.start();
    var dripping:Drop = new Drop();
    function...
  20. Replies
    4
    Views
    1,583

    Yes, I started with few drops, but decided to...

    Yes, I started with few drops, but decided to stick to one, changing random entries of it..forgot to discard uint.. I did change to TimerEvent, but then I loose the speed of drop, dripping.ySpeed.....
  21. Replies
    4
    Views
    1,583

    Delay for loop Help

    I ve done simple dripping effect, but I need those drops to have some delay between their droping, lets say 2 sec..
    Heres the code:

    var nDrop:uint = 1;
    var dripping:Drop = new Drop();

    ...
  22. Replies
    4
    Views
    461

    Yes, I see. Its just some flickering bulb,...

    Yes, I see.
    Its just some flickering bulb, randomly changing brightness and contrast..silly maybe, but I didnt know how to make it other way.. Yes definetly You helped me to understand my mistakes!...
  23. Replies
    4
    Views
    461

    Hm, yes, right.. Im so new in this.. It just...

    Hm, yes, right..
    Im so new in this..
    It just need Mc to flicker randomly.
    So I should replace ENTER_FRAME with just "ram();"...?
    Sorry, beginers are borring I know..
  24. Replies
    4
    Views
    461

    [RESOLVED] Loop Question

    Hello,
    What would be a better loop solution? Its some flickering thing, 40 fps.
    I cant tell the difference, or benefits..
    This:

    import flash.filters.*;
    import com.greensock.*;
    ...
  25. Replies
    5
    Views
    756

    Resolved

    Oh thanx my friend, its so simple, (and thus perfect) meanwhile I actually did the code but it looks more like Ben Hur scenario.. :)
    3months of beginers as3 course is still nothing..
    Yes, this is...
Results 1 to 25 of 28
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center