RE: [Flashcoders] movement

2008-04-10 Thread Lehr, Theodore M (N-SGIS)
: Thursday, April 10, 2008 9:30 AM To: Flash Coders List Subject: Re: [Flashcoders] movement Make sure you set the window mode to opaque OR transparent... not default. That seems to make a huge difference: wmode not set: http://hugo.wddg.com/blogfiles/wmode/wmodedefault.html wmode set to opaque

Re: [Flashcoders] movement

2008-04-10 Thread mario gonzalez
Make sure you set the window mode to opaque OR transparent... not default. That seems to make a huge difference: wmode not set: http://hugo.wddg.com/blogfiles/wmode/wmodedefault.html wmode set to opaque: http://hugo.wddg.com/blogfiles/wmode/wmodeopaque.html Both are using the same swf

RE: [Flashcoders] movement

2008-04-10 Thread Lehr, Theodore M (N-SGIS)
No - on a PC viewing it in IE -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Rogers Sent: Tuesday, April 08, 2008 4:13 PM To: Flash Coders List Subject: Re: [Flashcoders] movement are you using safari? On Apr 8, 2008, at 2:41 PM

Re: [Flashcoders] movement

2008-04-09 Thread EECOLOR
Why does Flash act the way it does? More information can be found here on the blog of one of the Flash Player engeneers: http://www.kaourantin.net/2006/05/frame-rates-in-flash-player.html Greetz Erik On 4/8/08, Cory Petosky <[EMAIL PROTECTED]> wrote: > > My buddy and I were playing with some p

Re: [Flashcoders] movement

2008-04-08 Thread Cory Petosky
My buddy and I were playing with some performance benchmarks we wrote (put 100 bitmaps on the screen by manual blits to a backing BitmapData). We weren't surprised that it ran stably at 120 FPS in the Flash IDE. We were alarmed to discover, however, that the same SWF ran at a mere 80 FPS in the Fla

Re: [Flashcoders] movement

2008-04-08 Thread David Rogers
if you are on a mac, try enabling or disabling rosetta in the info panel of the application icon On Apr 8, 2008, at 2:41 PM, Lehr, Theodore M (N-SGIS) wrote: I have a mc I am moving via AS - it moves at a fine pace in the player inside flash - but when I view it via the browser, it really slow

Re: [Flashcoders] movement

2008-04-08 Thread David Rogers
are you using safari? On Apr 8, 2008, at 2:41 PM, Lehr, Theodore M (N-SGIS) wrote: I have a mc I am moving via AS - it moves at a fine pace in the player inside flash - but when I view it via the browser, it really slows down... why would this happen? ted ___

Re: [Flashcoders] movement

2008-04-08 Thread Jason Van Pelt
Are you on a mac? I've had lots of problems with swfs playing back slowly on macs, but fine on pcs. Otherwise, macs just work. ;-) Jason Van Pelt Interactive Developer 504.210.1232 (p) / 504.581.2731 (f) Peter A. Mayer Advertising, Inc. I have a mc I am moving via AS - it moves at a fine pace i

RE: [Flashcoders] movement question

2007-01-19 Thread Steven Sacks | BLITZ
Need to clean up that enterFrame once it's finished. This is about as compact as it can get. this.onEnterFrame = function() { if (--myClip._rotation == -90) delete this.onEnterFrame; } ___ Flashcoders@chattyfig.figleaf.com To change your subscr

Re: [Flashcoders] movement question

2007-01-19 Thread Gustavo Duenas
thanks guys...you are good. Gus On Jan 19, 2007, at 3:24 PM, Rost, Andrew wrote: this.onEnterFrame=function():Void { if(myClip._rotation != -90){myClip._rotation--}; } Quick and simple... Andrew -Original Message- From: Gustavo Duenas [mailto:[EMAIL PROTECTED] Sent: Friday,

RE: [Flashcoders] movement question

2007-01-19 Thread Keith Reinfeld
Gustavo, function rotateMC(mc, increment, targetDegree){ mc.onEnterFrame = function(){ this._rotation = this._rotation + increment; if(this._rotation == targetDegree){ delete this.onEnterFrame; } } }

RE: [Flashcoders] movement question

2007-01-19 Thread Rost, Andrew
this.onEnterFrame=function():Void { if(myClip._rotation != -90){myClip._rotation--}; } Quick and simple... Andrew -Original Message- From: Gustavo Duenas [mailto:[EMAIL PROTECTED] Sent: Friday, January 19, 2007 1:58 PM To: Flashcoders mailing list Subject: [Flashcoders] movement

RE: [Flashcoders] movement question

2007-01-19 Thread Holth, Daniel C.
Where someMovieClip__mc is the instance name of the rotating movieClip on the stage. Add this code to the frame you want it to start rotating. onEnterFrame = function(){ if(someMovieClip__mc._rotation == -90){ delete onEnterFrame; } else { someMov

RE: [Flashcoders] Movement in an oval shape

2006-08-11 Thread Paul Steven
Thanks Ravi and others - that is very helpful indeed. Cheers Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravi Marella Sent: 11 August 2006 07:08 To: Flashcoders mailing list Subject: RE: [Flashcoders] Movement in an oval shape The following

RE: [Flashcoders] Movement in an oval shape

2006-08-10 Thread Ravi Marella
Training http://www.figleaf.com http://training.figleaf.com best regards RaviKiran Marella -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Stone Sent: Thursday, August 10, 2006 7:04 PM To: 'Flashcoders mailing list' Subject: RE: [Flashc

RE: [Flashcoders] Movement in an oval shape

2006-08-10 Thread Andy Stone
You can fake in with _xscale/_yscale changes... var inc = 3; _root.onEnterFrame = function() { vStar_Object._x = (Math.cos((vStar_Object.circlePos/180)*Math.PI))*160+vStar_Object.centerX; vStar_Object._y = (Math.sin((vStar_Object.circlePos/180)*Math.PI))*160+vStar_Object.centerY;

Re: [Flashcoders] Movement in an oval shape

2006-08-10 Thread Jim Berkey
Check out the '3d Carousels' tutorials http://www.gotoandlearn.com/ jimbo *** REPLY SEPARATOR *** On 8/10/2006 at 2:05 PM Paul Steven wrote: >I have written some code to move some stars in a circle. > >This is a snippet of the code: > >vStar_Object._x = (Math.cos((vStar_Object.