Search:
Type: Posts; User: joejoe2288
Search:
Search took 0.09 seconds.
-
Yea, thats what I meant, you added the declaration of the CartItem to the root, so you have to change your reference path to match where the button now resides.
-
You added the CartItem to the root actions rather than the button actions. You need to put
pages.CarlsB.item = new CartItem in that second piece of code if you want the CartItem object to be...
-
First problem: Sounds like a deep inset issue with the code, possibly because you call the changeImage function on load, would have to test the code out to figure that one out, I don't have the...
-
You could store a boolean variable that says if you are in the text box or not, and use an event listener so that when the input box is selected the value is changed in the boolean variable and when...
-
That is quite odd and I am very sorry, but I know little about the changes made in AS3 so my knowledge is limited, as if it wasn't already :P
-
Probably has to do with the integer conversion type in Flash, try 310.0-(-303.3)
I have had the same problem in Java, of course the compiler won't even let me subtract a double from an integer in...
-
No need for the haughty attitude! I was mistaken... I have been away from Flash for far too long. I guess I just used that syntax as an approach for on the fly behavior, writing and reading an array...
-
Yea but what about referencing dynamically created movie clips, like ball1, ball2, ball3.... can't exactly store them in an array unless you just wanted to store their references.
-
I know other languages such as Java don't incorperate things such as that because it really slows down the compiler for much larger applications, but it would be very disappointing if Adobe removed...
-
Perfectly on topic, and it looks like you got the hang of it ;) If you add a loop it it is just multiple definitions of the one you specified. In actuality, you would never need to run the code you...
-
code wasn't too far out, not sure if this will work in AS 3.0 but I used it all the time in 2.0
for (var i =0;i<POSITIONS;i++){
public var this["pos"+i]:Point = new Point();
};
-
If i remember correctly, you have to import the class at the start of the .fla with
import MyClass.as
then you should be able to call the methods on the objects you create that are the type of...
-
Can you attach the file so we can take a look?
-
it wasn't laggy in safari on the mac, it seems a bit more laggy in firefox than IE. I am totally mind boggled as to what it could be because I think my code is pretty concise, as to the onEnterFrame...
-
It seems that my FPS drops when I put my swf onto my server, it ran fine when I was viewing it on my friends MAC but when I view it on my PC it gets really choppy, could it have something to do with...
-
not what i needed but thanks
-
The best way to do that is to create a movieclip and treat it as a button in the actionscripting except when defining the text. just put a dynamic text field inside the movie clip and give each...
-
When that happens, that means the however many percent you have to wait is located in the first frame of that movie, I believe for yours it was 11%. A better way to do that is to start loading the...
-
You are in the wrong forum buddy you need to move to the scripting and backend forum
-
sure, here is the code and I made an example fla.
There are multiple ways of doing this but this is the first that popped into my head :)
stop();
...
-
Hey guys, I have created som script I am trying to use for collision detection it is working out alright, the only thing is that I am not too good with vectors yet because I don't take PHY until next...
-
you don't necessarily need a variable that does that, you can just have a container movieclip and then reference the clip with an unload movie action then load another swf into it
...
-
-
see where your reference point is in the movieclip, it should be in the upper left of the mc
-
so basically the actions for that would be really simple once you thing about it, all they would have to do is change the _xscale and _yscale of the main movie and that would change the size of the...
|
Click Here to Expand Forum to Full Width
|