Search:
Type: Posts; User: Clownfish5
Search:
Search took 0.03 seconds.
-
Hi!
How do you feel about reusing wavs from other games and programs. Is it considered kinda ok? Some sounds, like explosions etc, are much better in commercial games than what you can make...
-
This is weird, cuz I don't think I had problems with it before. It's probably very basic, so I post it here.
I have an mc, InfoBox (instance name theInfoBox), made up of a couple of layers with...
-
Wonderful! Clean and simple! It worked!
In the frames of InfoBox, I put a Next_button_mc, in which I have put a Next_button_btn, and in that instance I put:
on (press) {
_parent.nextFrame;...
-
Thanx, TOdurus! That's two separate interesting solutions!
The first one, I guess I could modify and take the content of the assignment function and put it in an onEnterFrame in the InfoBox, frame...
-
Wow, I didn't know you could declare functions in a for loop! That would probably do what I want, but isn't it a bit memory-consuming to declare 100 functions that all do the same thing? Know what I...
-
Please, people!
Basically, I want to have a next-button in each frame of a movieclip, and that button shall show the next frame of the parent movieclip.
It should be easy, and if it is, please...
-
Hm, sorry if I was vague... but I wanted to tell the whole story, or my view on it, with the limited knowledge I have.
I see now, after your comment, that it is indeed possible to put code in a...
-
Ok, here's a nooby question. I'm not used to working with buttons...
I have a mc InfoBox, in which I have placed text and buttons for ok, next, prev etc. They will take you to the next...
-
Great artwork! You're very broad in your skills!
I like the semi glossy effect when you turn the pages! One idea for the book engine (although it's not new, and easier said than done!): Different...
-
Ok, thanx for explaining! I guess I'll just make a custom hittest function that takes care of both separate walls then!
-
So, does that mean that it's impossible to have an mc x that contains 2 mc's that are on different sides (depthwise) of another mc on the same timeline as x?
The pointer/"hero" can't pass the...
-
My baddies is on a depth of about 100. I had a "wall" placed on the stage, which then gets a depth of -16000 something. Now, I want the "wall" to have one part at the very bottom and one at the top,...
-
I DID define the contents of the array in the constructor, but I declared it outside with :Array=new Array()... perhaps that's the problem then! I'll try and change it - thanx!
-
Can't believe this! The fact that arrays are always sent by reference was bad enough, and now this! An array that belongs to a class seems to be shared by all instances, if not told otherwise!
I...
-
-
There must be some convention code that I don't understand...
Why the "_" in variable names? For example in "_x" while not in "text" of text boxes. And even less understandable, the "__"?
What...
-
Great, that worked, and for _rotation too! Thanx!
-
Hmm, it seems that I'm not done yet. Another related problem:
When I change the _alpha of an mc that contains dynamic text, the text will not change it's _alpha! I want the text to fade out!!
-
yea, I guess... but it's a pity, cuz it would have looked nice to attach a "letter class mc" specifying {_x:100, _y:100, char:"A"}. So, anyway, with the less good looking way, defining the text...
-
Thanx! You're right! The problem turned out to be that when I write the code
this.char_box.text=char;
inside the class "letter", it doesn't know that the instance of that class will have a text box...
-
I'm having this problem and I guess I must be doing something wrong!
If a movie clip contains a dynamic textbox with the instance name text_box, how can I change the text? Not with...
-
Good to hear you say that! So, well, since I'm alone in this project, I'll keep it simple and will keep my precious globals!
-
That sounds great - that all objects belongs to a given depth! But, since default stage graphics have negative depths, does that mean that if you want it to be ABOVE a code attached mc, you'll need...
-
arraight, but then, for the Actions layer, you DO have a keyframe on frame 2, to get that two rows of code in...
Regarding the code in functions, I just started this topic:...
-
In other program languages I used to code in, it was considered a good habit to use as few global variables as possible, and instead pass everything to functions as parameters.
In AS, however,...
|
Click Here to Expand Forum to Full Width
|