Search:
Type: Posts; User: Vincent0
Search:
Search took 0.04 seconds.
-
-
Ah, so cropping isn't possible? I'm trying to pull out a bunch of images from one image, but unfortunately, they'd all have to be used repeatedly as textures on 3D buildings. Having them all masked...
-
Does anyone know how to load in only part of an image in Flash? The image is loaded in dynamically by the user, so I can't just crop it myself. Any help is appreciated.
-
I can stop it from looping if I add in a blank onEnterFrame function, but then no code runs, not even the stuff before the onEnterFrame.
EDIT: Alright, it looks like if I remove the preloader,...
-
My guess would be that the problem is in the other frame, not this one. There could be a number of different reasons causing it.
-
Alright, I'm using CS3, my file is in AS2 and it is being exported for Flash player 9. My problem is that for some reason the code is repeating itself. This script is meant to run only once, but it...
-
Nope, that didn't work. The same thing happened.
-
I am using AS2. The character, a robot, has machine guns that fire off bullets. I am trying to get the bullets to disappear when they hit an enemy. They do dmage, but for some reason they are still...
-
Okay, I fixed it. Thanks!
-
No, I meant the layering. The AS panel pops out. But it is behind most things, z-index wise.
-
_global.machine is an array. I do use the [] brackets. Well, except for in the push command. Push is a function, so you use (). Anyway, I found why it freezes. I had menu capitalized for the frame...
-
Ah, okay, I didn't know if it was a simple solution.
This is the code that makes it freeze:
on(release){
for(x = 0; x<_root.machGuns.length; x++){...
-
-
The array is global, so it is there for all the frames. But when data is stored in the array in frame three, going back into frame two the data is wiped. I switched the order of the frames, and the...
-
Nevermind, fixed. Simple mistakes.
-
That depends on the template. Looking in the library for the movie clip containing the background and replacing it would be your best bet.
-
I feel so stupid not being able to figure this out. The sad part is, I got it to work perfectly on another flash file, but I can't get it to work on this one. The concept is the saem but the...
-
The button located at http://www.fansvscohan.com/increase.swf works perfectly. However, when embedded in Firefox and IE, it cannot load or save the text file variables. I am using loadvars for...
-
I made a Flash file that uses loadVars and a PHP script to check a variable stored in a text file and increment it when a button is clicked. One slight problem: the embed code stops it in firefox and...
-
Experimenting in Flash is a good idea. Basically, that code will have no effect on animations, it will just move the movie clip named pic back and forth with the mouse.
-
Simple stuff. This is AS 2. Name the picture instance "pic". Put this code in the main timeline.
stop();
onEnterFrame = function(){
pic._x = -.5*Stage.width+_xmouse;
}
That moves the...
-
That would be quite simple. That could be done with one line of code.
-
Search around, I guess. Without actually seeing the .fla ourselves we can't help.
-
-
You have to open the .fla.
|
Click Here to Expand Forum to Full Width
|