Re: How do I debug actionscript in ming?
gaz b <[email protected]> Wed, 31 Dec 2003 05:36:58 -0800 (PST)
| Newsgroups | gmane.comp.web.ming.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, you need to name the gun clip and move its x/y when you add it to the movie (as you did with the bullet clip) and name the textfield message inside the swftextfield definition. patch below that might improve it some, or even fix it... gazb ------------------------------------------------------------------ 109,110c109,110 < SWFDisplayItem_setName(myGunDisplayItem.i, "gun"); < SWFDisplayItem_moveTo(myGunDisplayItem.i, 200, 380); --- > //SWFDisplayItem_setName(myGunDisplayItem.i, "gun"); > //SWFDisplayItem_moveTo(myGunDisplayItem.i, 200, 380); 145a146 > SWFTextField_setName(t, "message"); 184c185 < SWFDisplayItem_setName(gameOverMessageDisplayItem, "message"); --- > //SWFDisplayItem_setName(gameOverMessageDisplayItem, "message"); 188c189,192 < SWFMovie_add(myMovie, myGunMovieClip); --- > SWFDisplayItem myGunMovieDisplayItem; > myGunMovieDisplayItem = SWFMovie_add(myMovie, myGunMovieClip); > SWFDisplayItem_moveTo(myGunMovieDisplayItem,200, 380); > SWFDisplayItem_setName(myGunMovieDisplayItem, "gun"); ------------------------------------------------------------------ __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree