Search:
Type: Posts; User: nartic
Search:
Search took 0.06 seconds.
-
you can pause playback (or simulate pausing) instead of restarting
s = new Sound(_root);
s.attachSound("song");
elapsed = new Number(0);
playback = "play";
_root.play_btn.onRelease =...
-
ju mean 24/7 or only when in use?
-
ok unless your schooled in AS I would suggest animating it frame by frame within the pinata movie clip and on the clip add something like this
onClipEvent(load){
this.gotoAndStop("at rest");
}...
-
on ???bat_mc??? add
onClipEvent(load){
this.maxHits= new Number(3);
this.currentHits = new Number(0);
}
onClipEvent(enterFrame){
if(this.hitTest(//scope to pinata_mc)){
this.currentHits++;...
-
on last frame of mc1.swf add
stop(); this.loadMovie("mc2.swf");
//or
inca = 0;
mcArray = new Array("mc1.swf", "mc2.swf", Etc...);
loadNext = function(){
if(this._currentFrame ==...
-
-
myClip_mc.onPress = function(){
this.startDrag()
}
myClip_mc.onRelease = function(){
this.stopDrag()
}
-
MovieClip.hitArea
Availability
Flash Player 6.
Usage
my_mc.hitArea:Object
Returns
A reference to a movie clip.
-
relax? Frankie says be like nartic. Nobody called you an idiot, turbo, so you relax man, scrub your forehead, get some co co, and read your flash bible
-
you're declaring with some (close but no cigar) syntax, this works
for(i = 1; i < 6; i++){
mc = _root["myVar" + i] = new String("this is string " + i);
trace(mc);
}
if you have the flash...
-
well, what's the desired action?
-
thanks for the two cents taco man, feel better? why don't you take the next one
-
you just can't man, never thought about it but might be that var is constructor. I think when you put var AS then assumes whatever is to the right of the var is new variable that exists souly in the...
-
what don't you get man. b = _root.a, load the mutha's where you know you can get at them, then make one loadVars equal to another one. from your loaded swf you can scope to the _root using "_root".
-
-
does your mcController load into clipHolder?
-
make an image folder for your pics, name the pics something like pic0.jpg, pic1.jpg...etc
use something like
picsInFolder = 30;
picTarget_mc.loadMovie("./images/pic" +...
-
the three ways
var isLoaded:Boolean = false;
this.isLoaded = new Boolean(false);
var isLoaded:Boolean = new Boolean(false);
-
can you load variables into the mqain mc first, then your swf's, and copy the loadVars onLoad?
-
if it's inside a button you can scope it to a linking variable in the properties tab and that can control the text
-
hitTest just runs code when one mc bounding box overlaps anothers. you should probobly have any projectile load into an empty movie clip on the root. it would be easier to control the code.
-
-
is gameIcon an array? a string? where is it initialized? what's the scope? you should upload fla
-
crap, i just copied the code without looking, see what happens when i forget my meds for one day. yeah my code works with getBytesLoaded() & getBytesTotal();
instead of play it should say...
-
your loading that sound on the first frame right? or initializing it if it's not? and forget that drag'n drop'n one stop shopp'n user friendly tea time crap it's boo boo, create a sound object in the...
|
Click Here to Expand Forum to Full Width
|