logo       
Bookmark and Share

Re: How do I debug actionscript in ming?: msg#00051

web.ming.general

Subject: Re: How do I debug actionscript in ming?

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise