Search:
Type: Posts; User: Blommestein
Search:
Search took 0.02 seconds.
-
Ah alright just wondering if there was another way. Thanks. :thumbsup:
By the way you know how there's that new 'Sprite' which takes up less memory than a movieClip but doesn't allow there to be...
-
What I mean by Graphics is the Symbol Type Graphic. In Flash 8, I had for example a graphic 'Block' in the library with a linkage identifier of one (1).
Then I did
var whatever =...
-
Well I made multiple graphics out of a single spritesheet that was a bitmap, so that won't work, but thanks anyway. Also I need to place the graphics into a movieClip, rather than the timeline, if...
-
In the tilebased method I used in AS2, I would attach graphics to the stage by an identifier that was an integer. Now however there are no identifiers, class names cannot be integers, and graphics...
-
Im using a tilebased method, and in it I create movieclips using the new keyword paired with addChild. I want to free all memory used with the movieClips when it is time to delete them, including...
-
Oh now it all makes sense, thanks.
But in AS2, wasn't it that the gotoAndStop function would check first if it wasn't already on that frame before executing? Because I had done it in AS2, and...
-
Hmm well in the real thing I didn't use a timer, rather keys. So here's a new example with the same basics, yet with key events. Can you tell me why this one doesn't work?
Thanks!
-
@ cancerinfrom: That's pretty much how I did it, only in a class and with different events. The "run" frames etc each contain a movieclip with a series of pictures for that run (and etc) animation....
-
Alright then. Heres an example showing how the code is done (a function of a class 'character').
public function animations()
{
if (run)
{
char.gotoAndStop("run");
}
if (jump)...
-
I'm in the process of recoding a WIP game of mine from AS2 to AS3.
In the original version I had a character MC, then several nested animation MCs on keyframes each with the action stop();. I...
-
Ah okay. How would I do so though, what does the declaration statement look like and should it go in the constructor or before?
And what does making a class dynamic do for it?
Appreciate the...
-
Whenever I use a Document Class in an fla I just now realized I get an error when I have an mc on the stage with an instance name. No instance name, no error. No document class, but with instance...
-
I'm using an external AS file with a package and a class. Would parent from an as file refer to the root level? Is that what youre saying?
-
Ive been in the process of converting a game of mine to AS3.
Ive managed to create a class character, linked to a character MovieClip, and constructors, variables, functions, and listeners are...
-
Linkage Identifiers let you create images on the stage from your library. Im assuming with yours, and instance names, you can only refer to those particular created ones, you cannot attach more of...
-
Yeah but that doesn't assign linkage identifiers. I had wondered this myself, but I just ended up using loadmovie except with a swf, and in the swf I had the extra images with linkage names.
-
Hi again.
Is there anyway to set the selected item in a combobox via Actionscript?
Thanks.
-
Nevermind I just tried for..in _root and that worked. :thumbsup:
-
So theres not a way to just refresh the swf and terminate all instantiated data? What about scope, could you set the scope of everything to expire when you leave the keyframe?
-
Well basically I use two different engines on two different frames (derived from he same original engine, hence the conflicting function names) one is an editor, one is the actual game. When going...
-
Is it possible to for example, jump to keyframe 14 where many functions and variables are instantiated, from keyframe 2, and then delete ALL variables, functions, and function events (like...
-
http://www.albinoblacksheep.com/tutorial/contextmenu
-
How does one kill the focus of a textinput box via AS?
Thanks. :)
-
Well let's say I have an integer array (each index has 4 integers, eg 5,2,5,6) for an editor. You can create tiles on screen, which pushes a value in the array (my engine creates the tiles in a...
-
Thanks. :thumbsup:
But can anyone answer the second question? Referring to the variables set to null?
|
Click Here to Expand Forum to Full Width
|