pages is a movieclip object with labeled keyframes. The code applies button functionality to the named array items and points them to a particular labeled keyframe in a movieclip named "pages" based...
Type: Posts; User: NTD
pages is a movieclip object with labeled keyframes. The code applies button functionality to the named array items and points them to a particular labeled keyframe in a movieclip named "pages" based...
Hi,
I've scripted several timer apps. I tend to be heavy on AS so I hope you get out of it what is needed ...
Simple seconds countdown ...
_root.createEmptyMovieClip("countDown",10);...
Uncontrolable spam like above is one of the main reasons I stopped donating my time here.
Keep on spammin
NTD
Hi,
Thank you for not deleting this thread as it kept me from having to start a new one. I am tired of being the forum janitor and all the spam that is allowed to continue in this forum. I will be...
Hi,
Depending on the timeline you want to manipulate, you would use either "this" or "_root" ... or an instance name of a target movieclip...
if(total == 5){
_root.gotoAndStop(3);
}
What version of flash are you using? If you notice the original post date of this thread, it is a couple years old. The base language this was written for is AS2. It won't work if your using a newer...
Hi,
First I kind of need to know where you are scripting wise.... Do you understand how to populate the LoadVars object I posted above from an external text file? If you know how to do that, you...
Hi,
I don't download files as I am using an older version of flash. However, I see a couple possible issues. A LoadVars object would be a better choice than the loadVariables method and the POST...
Hi,
If you scan through this forum regarding any posts about scenes, you will see my standard response of "the practice of using scenes is bad!". Scenes are notorious for dropping variable values...
Hi,
I rarely deal with database coding. You will most likely need the all seeing Google monster to find a solution. Here is an Adobe link for setting up a mysql database to interact with flash......
Hi,
Depending on the version of flash your using, you should be able to add pages with...
PrintJob.addPage()
Here is an Adobe link for CS3...
...
Hi,
It would look something like...
for(i=0;i<myArray.length;++i){
_root["p"+i].onRollOver=function(){
this._alpha=50;
}
}
Hi,
This is a very confusing topic for many. Flash allows for multiple ways to communicate with Javascript functions. In fact, there is a Flash/Javascript integration kit that you can download for...
Hi,
Have you traced the variable to make sure the data is what you think it is? If so, adding a "this" reference should let flash know which timeline to manipulate... or maybe even a full instance...
Hi,
Something like this should work, however... it does not account for repeats...
myArray = ["a1", "a2", "a3", "a4", "a5"];
myRandom = random(myArray.length);
trace("file chosen =...
Hi,
You can try an onload method, but you cant toggle a movieclip timeline until the movieclip has fully loaded. The way you have it coded, I suspect the object is not instantiated before the code...
Hi,
It is a matter of telling the movieclip to play after the animation....on the last keyframe of the animation add a stop action and tell the other movieclip to play. You can then send the...
Hi,
Yes,...
From each button....add
snd.stop();
Hi,
I'm not sure I am exactly clear on what you have going on in your project, however, something that is often confusing for many is the use of nested movieclips in the button object. Button...
Hi,
While they do appear similar, stopAllSounds is intended for frame sounds rather than a sound Object. The stop and start methods intended for the sound object would be the way to go. From each...