Search:
Type: Posts; User: cresquin
Search:
Search took 0.07 seconds.
-
-
are you using an instance of the Ball class?
-
1. no code should ever go on the mc. That is a depricated method of coding AS. Again all script goes on the frame (or a custom class) all of the time.
2. Arrays are really cool, you can use them...
-
-
There is no way to keep it from triggering the firefox thing, this is in-fact a feature and security measure. Imagine me making a script that opened a new window on Enter Frame at 30 fps, it would...
-
Hammer, the script I pasted above works if you paste it into a fresh file. Don't know what else to tell you.
-
import flash.display.DisplayObjectContainer in both classes and change Stage to DisplayObjectContainer (in all of the instances in my code). I thought Stage was a native class, but it may also need...
-
You're right, I did misunderstand the nature of the problem, try something like this:
var strandID:Number
function connectT() {
for (var i = 0; i < 100; i++) {
if...
-
Also remove the tf.align line.
import flash.text.TextField;
import flash.text.TextFormatAlign;
import flash.text.TextFieldAutoSize;
var tf:TextFormat=new TextFormat();
tf.font='Verdana';...
-
include the block I gave you and try testing on the server.
-
You should check out the documentation to see what other properties/methods you are missing out on:
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/MovieClip.html
-
try this:
import flash.text.TextFieldAutoSize;
t.width = 500;
t.autoSize = TextFieldAutoSize.CENTER;
-
you need to use the full address to sword_mc
on (release) {
_root.mc.mc.mc.sword_mc.gotoAndPlay(2);
}
-
buk, the quick answer is probably, with some wrangling.
The logic and methodology behind your attempt is sound, but like cancerinform said, there are some syntax errors up there.
-
using int on hex values won't make any real performance or technical difference in this case. The real benefit of uint is that you can use integers up to 2^64 instead of 2^63. you might gain...
-
Basically your problem is that you are trying to add bmp2 to the display list of something that isn't on stage.
I assume that Bender doesn't subclass anything. Within Bender, you need to add a...
-
setinterval calls a function every [duration].
you need to make a new function for it to call that will execute your tween that is separate from the listener function.
Your listener function...
-
it should look something like this:
<object type="application/x-shockwave-flash" data="file.swf">
<param name="movie" value="file.swf"/>
<param name="allowScriptAccess" value="always"/>...
-
I actually have a shuffle() function in AS3, I'll have to dig it up, but it uses a similar technique to what I described above.
-
my specific answer to that specific question is: change the code.
Beyond thinking you are lazy (maybe, maybe not) I think you have started a project that is bigger than you can handle. I think...
-
in the HTML make sure you have allowScriptAccess = "always" parameter set.
-
yes, use array[i] within a for loop. just like the other code. That's how I know you didn't write it.
-
I haven't and won't click any links, but you probably just need to set onEnterFrame = null on the first frame of your movie.
-
the top way is correct. if you need xmlData from the specific button you click then use e.target to reference the clicked button:
gardengate_btn.addEventListener(MouseEvent.CLICK,...
-
rather than replacing the collision detection, can you modify the working code to act the same as the second tut? (FYI: I will not be giving you any specific code unless you ask a specific question....
|
Click Here to Expand Forum to Full Width
|