A Flash Developer Resource Site

Search:

Type: Posts; User: nartic

Page 1 of 7 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    1
    Views
    319

    you can pause playback (or simulate pausing)...

    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 =...
  2. ju mean 24/7 or only when in use?

    ju mean 24/7 or only when in use?
  3. Replies
    4
    Views
    353

    ok unless your schooled in AS I would suggest...

    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");
    }...
  4. Replies
    4
    Views
    353

    on ???bat_mc??? add onClipEvent(load){...

    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++;...
  5. on last frame of mc1.swf add stop();...

    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 ==...
  6. ...

    ...
  7. myClip_mc.onPress = function(){ this.startDrag()...

    myClip_mc.onPress = function(){
    this.startDrag()
    }
    myClip_mc.onRelease = function(){
    this.stopDrag()
    }
  8. Replies
    3
    Views
    1,225

    MovieClip.hitArea Availability Flash Player 6....

    MovieClip.hitArea
    Availability
    Flash Player 6.

    Usage
    my_mc.hitArea:Object

    Returns
    A reference to a movie clip.
  9. relax? Frankie says be like nartic. Nobody called...

    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
  10. Replies
    1
    Views
    2,089

    you're declaring with some (close but no cigar)...

    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...
  11. Replies
    3
    Views
    499

    well, what's the desired action?

    well, what's the desired action?
  12. Thread: Random image?

    by nartic
    Replies
    4
    Views
    638

    thanks for the two cents taco man, feel better?...

    thanks for the two cents taco man, feel better? why don't you take the next one
  13. Replies
    6
    Views
    558

    you just can't man, never thought about it but...

    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...
  14. what don't you get man. b = _root.a, load 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".
  15. Replies
    3
    Views
    499

    Here

    Here
  16. Replies
    2
    Views
    380

    does your mcController load into clipHolder?

    does your mcController load into clipHolder?
  17. Thread: Random image?

    by nartic
    Replies
    4
    Views
    638

    make an image folder for your pics, name the pics...

    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" +...
  18. Replies
    6
    Views
    558

    the three ways var isLoaded:Boolean = false;...

    the three ways
    var isLoaded:Boolean = false;
    this.isLoaded = new Boolean(false);
    var isLoaded:Boolean = new Boolean(false);
  19. can you load variables into the mqain mc first,...

    can you load variables into the mqain mc first, then your swf's, and copy the loadVars onLoad?
  20. Replies
    3
    Views
    356

    if it's inside a button you can scope it to a...

    if it's inside a button you can scope it to a linking variable in the properties tab and that can control the text
  21. Replies
    3
    Views
    1,225

    hitTest just runs code when one mc bounding box...

    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.
  22. can you provide fla?

    can you provide fla?
  23. Replies
    6
    Views
    822

    is gameIcon an array? a string? where is it...

    is gameIcon an array? a string? where is it initialized? what's the scope? you should upload fla
  24. Thread: Loading bar

    by nartic
    Replies
    3
    Views
    343

    crap, i just copied the code without looking, see...

    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...
  25. Replies
    3
    Views
    396

    your loading that sound on the first frame right?...

    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...
Results 1 to 25 of 156
Page 1 of 7 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center