Search:
Type: Posts; User: albert105
Search:
Search took 0.09 seconds.
-
Btw: I'm not just sitting here waiting for someone posting the quickest fix.
Just trying to understand how things works and how classes relate to each other.
-
Thanks for the responses. Much appreciated!
I have worked with event dispatchers once before and I understand why they are the smartest solution. But I must admit that they do confuse me a lot and...
-
Ok thanks! But I might have narrowed down my problem a bit too much..
It's slightly more complicated:
http://www.triggerfish.nl/as32.jpg
in mainholder I have a pagesholder that is in
control...
-
It's probably a pretty basic/noobie question. Forgive me for my ignorance.
I mean that I initialised yaddayadda inside Main like:
var yaddayadda:YaddaYadda = new YaddaYadda();...
-
Yo everyone,
I have question about communication between classes.
Here's a pic that explains the problem:
http://www.triggerfish.nl/as3.jpg
Thanks!
-
Hi there,
I'm having a problem with a upload module I want to use in a form.
Everything seems to work fine..
My completeHandler is being called..
Only the file is nowhere to be found.........
-
I get the info I'd expect..
The button first enters the screen via a tween. After the tween is done the listeners are set. I only get the error when I'm hovering the button at the time the...
-
Hi there,
I've got the following problem:
I have a button with two listeners: a mouseover and a mouseout.
When I mouseover I trigger a TweenLite x tween that tweens the position of a...
-
something like this should work:
var timeout;
btn.onPress = function(){
timeout = setTimeout(gameover,5000);
};
btn.onRelease = function(){
clearTimeout(timeout)
-
Yes true. That's because the if statement is only read once. It doesn't recheck A after it's been checked.
You can make a function that you can call at anytime to update:
function...
-
have you embedded the font? If not, try that.
-
It doesn't work because it reads the code from top to bottom. So it first reads the if(A==1) before A gets declared. So at the time of the if statement A hasn't been set yet. This works:
A=1;...
-
yes; the on(press) is the oldfashion way
-
try to avoid using scenes.. they add no value.
-
Use buttonname.onPress=function() instead of on(press).
Avoid to attach code directly onto movieclips but place it in timeline frames. It keeps your code way cleaner and managable in the long run.
-
You can give each randomPic an Id number that you can use as reference.
randomPic.pid = i;
target.onRelease = function(){
trace(this.pid);
};
-
It's not the depths. It's because the external files aren't loaded yet at the time you assign the event actions to them. Try this:
// -----------------load random Clips function...
-
try randomPic.onRelease
edit.. mm not working either.. probably because the external swf isn't loaded yet. It probably needs to be fully loaded first
-
It's not working because you have assigned the onPress action of the sub buttons before the buttons are actually on the stage. So at the time you declare the onPress action the buttons do not yet...
-
Hi there,
Couldn't find an answer here on the following question:
How do set the focus on a input textfield by default?
As soon as the field appears it should be active.
cheers,
Albert
-
To answer your first question:
Set the variable first outside your keydown check code, like this:
var fire1:Number = 0;
-
ohhhh ok thanks! It works
-
Sorry I'm not quite getting it.....
To be more specific:
I have all the files (flas, as files and swfs) in one folder named "virtualzoo/src".
The package name in the as files is named "zoo"....
-
Hi there,
I'm completely new to actionscript 3.0 as well as using external *.as files.
I'm now studing the moock essential 3.0 book. The problem is that I don't
know how to compile it... I...
-
oy.. it's been a while... I did actually used silentweed's code.
If I'm not mistaken I think a build a fake preloader that divided 100 percent with the amount of swfs. I had around 30 small swf...
|
Click Here to Expand Forum to Full Width
|