To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Product Support > Koolmoves

Reply
 
Thread Tools Search this Thread Display Modes
Old 12-10-2006, 01:49 AM   #1
this.Alex
Senior Member
 
Join Date: Nov 2006
Posts: 196
How Would i Duplicate a MC in V8 not 6

Hey im wondering how i would make this in action script v8 not v6 this is the v6 code i made my self =)
:

PHP Code:
createEmptyMovieClip("square",i);
square.lineStyle(1,0x0,80);
square.beginFill(0x55FF,100);
square.lineTo(0,25);
square.lineTo(25,25);
square.lineTo(25,0);
square.lineTo(0,0);
square.endFill();
onEnterFrame=function(){
    
Mouse.hide();
    
onMouseMove=function(){
        
i++;
        
square.duplicateMovieClip("square"+i,i,{
                                  
_x:_xmouse,
                                  
_y:_ymouse
                                  
})
    }
    
square._visible=false;
}
but i dont know how to do it in V8 flash V8 is not AS2 as well =).
this.Alex is offline   Reply With Quote
Old 12-10-2006, 04:03 AM   #2
w.brants
Senior Member
 
w.brants's Avatar
 
Join Date: Dec 2002
Location: Netherlands
Posts: 1,466
KoolMoves doesn't support AS2 and AS2 isn't required to use the flash 8 features. The only thing you have to change when you want to export your code for flash 8 is add a line in the beginning
i=0;
. This is because flash player 6 handles variables that are not initialized before they are used in a different way compared to flash player 8.
w.brants is offline   Reply With Quote
Old 12-10-2006, 04:07 AM   #3
this.Alex
Senior Member
 
Join Date: Nov 2006
Posts: 196
it Works that was easy thanks wilbert =)

(yer i know thats why i said flash 8(v8) aint as2);

Last edited by this.Alex; 12-10-2006 at 04:24 AM.
this.Alex is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Product Support > Koolmoves

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:56 AM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.