Search:
Type: Posts; User: gordonart
Search:
Search took 0.03 seconds.
-
Many program nowadays can rotate teh drawing canvas.
How about Flash?
/Mattias
-
One idea ( maybe a little complex but..) would be to have 6 different frames that you go to before a new frame. There you can specify which rand-frame there are.
If yoy want to avoid frame 4 among...
-
I tested this but had problems with some other codes that I used on every page.
I found a way move to another fram with this code:
function randNum(nMin, nMax) {
return Math.round(Math.random() *...
-
I have this random-code that make the player jump do 6 different frames in the movie.
unction randNum(nMin, nMax) {
return Math.round(Math.random() * (nMax - nMin)) + nMin;
}
/////...
-
solved. Had "autokern" checked in the properties.
-
I have coded this:
stop();
ordet = "write here";
////
knapp.onRelease = function(){
if(ordet == "yes" ){
trace("yes!");
}else{
trace("no!");
-
I have a function with several functions like this:
letafel(spel.b1);
letafel(spel.b2);
letafel(spel.b3);
letafel(spel.b4);
letafel(spel.b5);
Can I make this code more simple by some kind of...
-
-
I use this:
this.onEnterFrame = function(){
if((kropp==2)&&(huvud==4)&&(bg.BGtyp==1)){
bg.nextFrame();
trace("good");
}
to know when different variabels are right. But I don´t want the...
-
-
I have this movie that where you go to a random-frame.
If you answer right that frame is removed from the Array.
If you answer wrong the frame stayes in the Array.
It works well but there seems...
-
There seems to be a little problem.
On the first load I always comes to frame 2. That´s ok but when pressing the right choice on frame 2 that frame come back later. That is not the case with the...
-
I have a function in a mc and I want to use it in another mc.
But I does not seem to call it.
I guess I can make the function global in some way, or?
-
Now it seems to work the way I wanted.
I just have some questions so I learn more. Se comments in the code.
the code "!isCorrect" means that the isCorrect is false?
////this code...
-
Wonderful, Now it seems to work, or rather now I understand how to do it right.
You have helped me before dawsonk, thanks again.
Get back if I get into trouble again.
/Mattias
-
Could the codes on on quiz with right answer be like this then:
t1.onRelease = function(){
var isCorrect = true;
_parent._parent.gotoAndPlay(1);
}
-
Thanks,
I got me to remove an Array but I more wanted this:
I can go to 4 random frames ( it works now).
On each frame there is a "question".
If you answer right this frame is "deleted" from...
-
I found out that had to use Arrays of course.
var Nummer = new Array(1,2,3,4);
randomNum = random(Nummer.length);
//////
texter.gotoAndStop(randomNum);
trace("numbers left:" + Nummer);
I...
-
I have this Random-code where you go to different frames in a mc.
function MyRandom(minVal, maxVal){
return minVal + Math.floor(Math.random()*(maxVal +1 - minVal));
}
//////...
-
I have a button(a). When you click on that button a mc(b) will goto different "holds". So with the a-button you can select different frames ( with names ). One one of the names are the right one....
-
I have this code in an mc.
//////
function musikstil(a,b){
a.onRollOver = function(){
a.gotoAndStop("over");
}
a.onRollOut = function(){
a.gotoAndStop(1);
-
I need to have a good htmlRender to load into Flash 8. I did buy one Htmlrender from Flashtuning for AS2 but it has problems with reading a new html-codes correct.
Does anyone have any experience...
-
Thanks, now it works and I have learned this.
-
I am trying to make this imported text bold but it does not work:
I also want to rotate the text but when I do the text could not be seen.
Here the code I am working on:
/////
var...
-
I could not make it work. I put it after and the way you did above put it did not work.
|
Click Here to Expand Forum to Full Width
|