Search:
Type: Posts; User: joefouts
Search:
Search took 0.07 seconds.
-
Nice Work Davo! I'll have to use that!
-
There are a couple of ways to do so...
1. Use the new Sound Object with Flash 5
2. Create a movieClip on the main timeline with a stop statement on frame 1 and on a different frame, labelled...
-
To my knowledge it's not quite that easy. There are steps you need to take first...
1. Create a new color object by targeting your movieclip like this:
-- movieColor = new Color("moviePath");
...
-
It's possible that it is working, but you just can't see it... With two frame animation loops, I've had the same thing happen. The gotoAndPlay sometimes can happen too fast, so you won't see the...
-
I think it's almost right... I think it needs to be more like this:
loadVariables ("text.txt", "_root.movie1");
notice the subtle differences...
1. loadVariables instead of loadVariablesNum...
-
You could put an if statement around your textNum expression, like this:
on (release) {
if (textNum < 5){
textNum = textNum+1;
textfield ="Site"+ textNum;
}
}
of course your other button...
-
try this:
Selection.setFocus("_root.variableName");
-
Can you post a link? Maybe seeing it might help answer.
-
You may or may not be aware that flash's loadVariables command will only work with local files on a webserver. So you need to serve the flash files from the same server as your chat client. That...
-
I think Dickee is right, you need to make sure it's a string. Try adding this line at the beginning just before decimal = false;
totalPurchase = String(totalPurchase);
that should fix it :)
-
Thanks! I'm glad for the warning, I really don't want to lose my baby!!! :)
-
Hey Howard, this is kind of off the subject, but I also have a VAIO, and I wanted to install Win 2K, but I've been too afraid. Any tips for not having to use their stupid Recovery Disks?
-
It may help if you can post the code that is troubling you. But a few things to remember when calling from a movieclip:
1. Syntax like this _root.gotoAndStop(3); or _root.gotoAndStop("hello");
...
-
q = _root["x" + i];
the [ ]'s tell it to evaluate the expression "x" + i
-
Check out this thread, if you view the example there is a downloadable zip that will show you how to do it. It involves passing param's to flash like you want:
...
-
No problem :)
Actually if they will all be called "button" and a number, then this line would work...
myNum = myName.substr(6, (myname.length - 6));
and that should work for however many...
-
I'm pretty sure that it doesn't work that way. I think "exec" opens only "executables" or exe's.
-
Yes you are on the right track.
myNum = myName.substr(-1, 1);
That will work as long as you don't have over 9 buttons :)
Let me know if you need one that will work for 2 digit numbers
-
Nuts you're right! I hate when that happens. Thanks for claryfying Dickee.
Sorry for any confusion smayer72!
-
I was wondering if you would need that :)
decimal = false;
for (i = totalPurchase.length;i>0;i--){
if (totalPurchase.substr(i, 1) eq "."){
decimal = true;
decimalPosition = i;
}
}
if...
-
I was wondering if you would need that :)
decimal = false;
for (i = totalPurchase.length;i>0;i--){
if (totalPurchase.substr(i, 1) eq "."){
decimal = true;
decimalPosition = i;
}
}
if...
-
Thanks! I'll give that a shot.
-
I think I had that happen one time before, but I can't remember what it was. Are you using #P to print a specific frame? Or just printing the entire movieclip?
-
Yes, I put in a vote for a forum section on OOP!
OR
At least one for ADVANCED actionscripting.
-
You need to make it a movieclip or button before you can apply actions to it. Select your square and hit F8 or select New Symbol under the Insert menu.
|
Click Here to Expand Forum to Full Width
|