Search:
Type: Posts; User: duchman
Search:
Search took 0.03 seconds.
-
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...
-
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!
-
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...
-
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
-
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...
-
O, yes it works! Tried it! Thats right, just inserted break to exit the loop.
Thanks for quick reply jamesloacher!!
-
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..
-
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...
-
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.
...
-
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...
-
Nevermind..stupid question.. spending too much time on timeline can kill ones deduction.. :)
-
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...
-
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...
-
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...
-
I dont know if this can be done? var bitmapBounds:Rectangle = tempScore.bitmap.getBounds(this)...
bitmapBounds.contains(bla,bla)...
And to Tweenlite that?
-
You should import like this:
import com.greensock.*;
import com.greensock.easing.*;
import com.greensock.plugins.*;...
-
You could dispatch new event on last frame of child clip, and set listener for it on main timeline telling it where to go..
-
If I understood You right..
It has to do with MovieClip(parent).mc. and gotoAndStop event.target.name..
-
YES!! WORKS!
Thanks Man!
var myTimer:Timer = new Timer(3000);
myTimer.addEventListener(TimerEvent.TIMER, addDrop);
myTimer.start();
var dripping:Drop = new Drop();
function...
-
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.....
-
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();
...
-
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!...
-
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..
-
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.*;
...
-
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...
|
Click Here to Expand Forum to Full Width
|