Search:
Type: Posts; User: electricbluemonkey
Search:
Search took 0.14 seconds.
-
The problem is everytime you return to the first frame of your movie you are creating another Key.listener - hence, the onKeyUp function gets called twice for every KeyUP action.
Try this
...
-
// PUT ALL THIS ON THE MAIN TIMELINE
function time() {
return getTimer()/1000;
}
startTime = time();
count=0;
this.onEnterFrame = function() {
currentTime = time()-startTime;
if (count) {...
-
When you setInterval() use this:
intervalID=setInterval(wclear,500);
When you want to clearInterval() use this:
clearInterval(intervalID);
-
In your changeInfoBox function you have declared the SpeedofTransistion variable as a _global. However, in both the fadeIn() and fadeOut() functions you refer to it as a local variable...
-
Add the following to your on(release) when the object is released on it's target clip.
// disable the button
this.enabled=0;
-
Try this:
getURL("javascript:window.open('"+linkout+"','game','"+linkout_window_properties+"')");
-
// drop this onto frame 1 of any movie and it will act as a preloader
// and when preloading is complete it will delete itself
// so it won't interfere with any of your code
this.onEnterFrame =...
-
try www.moock.org it's Colin Moock's site (you should own his book if you want to really learn good oop techniques) - anyway he's got some .fla's you can download that are templates for creating oop...
-
You might get some help if you showed us the code that is not working.
-
You have two options when preloading your movie: 1. check to see if a certain frame has loaded, or 2. check to see if a certain number of bytes have loaded. So, if you only want to load the movie up...
-
// this code goes in an onEnterFrame function - or some other function
// that gets called every frame
this.onEnterFrame = function() {
currentTime = int(getTimer()/1000); // current time in...
-
2 things:
First, your conditional statement should be:
if (_root.ball.hitTest(_root.square)) {
(period after ball, not comma)
Second, since the statement is on the main timeline, and not in...
-
You were pretty close actually.
_currentframe/2 == int(_currentframe/2);
-
Regardless of whether or not the _parent & child hitareas overlap you cannot put a button inside another button
-
I've never used a Linux server. You might check with Macromedia - maybe there is some info in one of their tech notes about it.
-
Your syntax was a bit off is all:
if (rawTextLength > breakpoint){
while(rawText.charAt(breakpoint) != " "){
breakpoint--;
}
substring1 = rawText.slice(0,breakpoint);
substring2 =...
-
Without even seeing a hint of you code it's hard to say, but my guess would be that you are telling the sound to start() before it has loaded.
-
You can download a Flash detection kit from Macromedia's website. It includes a default page, for those visitors that don't have the plugin, which contains an image - just swap out their image for...
-
You should only need to use this once. After the initial frames have loaded the entire movie will still be loading so you don't need another preloader for the portfolio. However, you may want to make...
-
-
No, I don't know of a tutorial, but this might help:
// put this on the first frame of your movie
// set this equal to the first frame of your portfolio
// (if you have multiple scenes in you...
-
The principles of using ASP with Flash are basically the same as PHP,PERL, or any other server side script, and since it is much more common to use PHP with Flash you might look up a tutorial on a...
-
It is possible to preload only part of the site if you insist on keeping it all in one file. To do this you would have to have you portfolio section come after everything else on the timeline. You...
-
onClipEvent(load) {
badPeanutSpeed=random(4);
function badPeanutReset() {
this._x=random(400);
this._y=0;
this._visible=true;
}
badPeanutReset();
// add move variable
this.move =...
-
Is pressOutside a new function in MX2004? I've never heard of Mouse.isDown either (Key.isDown I'm familiar with). Anyhow, this may help:
// You only need one onClipEvent(load) function...
|
Click Here to Expand Forum to Full Width
|