RE: [Flashcoders] 360 degree rotation

2011-04-24 Thread Cor
Oops, forgot to put it on stage: var obj:Sprite = new Sprite(); obj.graphics.beginFill(0xff); obj.graphics.drawRect(0,0,20,20); obj.graphics.endFill(); obj.x = 50; obj.y = 50; addChild(obj); function init():void{ addEventListener(Event.ENTER_FRAME, rotate, false,0,true); } function rot

RE: [Flashcoders] 360 degree rotation

2011-04-24 Thread Cor
var obj:Sprite = new Sprite(); obj.graphics.beginFill(0xff); obj.graphics.drawRect(0,0,20,20); obj.graphics.endFill(); function init():void{ addEventListener(Event.ENTER_FRAME, rotate, false,0,true); } function rotate(e:Event):void{ obj.rotation +=5; } //start the show init(); regard

[Flashcoders] 360 degree rotation

2011-04-24 Thread amol
Hi all, any one have an idea how to create a 360 degree(spin,rotation) views of a object. in as3.0 . thanks, a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] AIR apps on iPhone - any good shipping examples?

2011-04-24 Thread Gerry Beauregard
Does anyone know of some really good apps on the iPhone app store that were written as AIR apps? It's certainly possible to make iPhone apps from AIR apps. Adobe's got a summary of the workflow here: http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d1295c1072d7-8000.html I'm curio

Re: [Flashcoders] Something I don't understand about loader

2011-04-24 Thread Henrik Andersson
Steve Abaffy skriver: Great then how do I use the same image in two different spots?? In general it is impossible. But bitmaps are an exception. You see, by using the same BitmapData instance with multiple Bitmap instances you can save a lot of memory by showing the same data as many times a

RE: [Flashcoders] Something I don't understand about loader

2011-04-24 Thread Steve Abaffy
Great then how do I use the same image in two different spots?? -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson Sent: Sunday, April 24, 2011 3:02 PM To: Flash Coders List Subject: Re: [Flash

Re: [Flashcoders] Something I don't understand about loader

2011-04-24 Thread Henrik Andersson
Steve Abaffy skriver: what is going on here??? Each DisplayObject can only be on one display list. Trying to add it to another one when already on a list will automatically remove it from the first one before it is added to the second one. ___ Flas

[Flashcoders] Something I don't understand about loader

2011-04-24 Thread Steve Abaffy
Hello, This code Is not exact it is to show what is happening. myLoader :Loader = new Loader(); myLoader.load(new URLRequest(filename)); // loads a imagefile then in a function var mc1:MovieClip = new MovieClip(); var mc2:MovieClip = new MovieClip(); mc1.addChild(myLoader); mc2.

Re: [Flashcoders] test

2011-04-24 Thread Kerry Thompson
Cor wrote: It is Easter, so hunting the bunny > > Eggxactly. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] test

2011-04-24 Thread Cor
It is Eastern, so hunting the bunny Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Andrews Sent: zondag 24 april 2011 16:08 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashco

Re: [Flashcoders] test

2011-04-24 Thread Paul Andrews
On 24/04/2011 14:48, Cor wrote: Got it. Thanks Cor. I guess the list is exceptionally quiet. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] test

2011-04-24 Thread Cor
Got it. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Andrews Sent: zondag 24 april 2011 15:46 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] test Traffic seems to have abruptly stoppe

[Flashcoders] test

2011-04-24 Thread Paul Andrews
Traffic seems to have abruptly stopped.. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders