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
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
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
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
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
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
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
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.
Cor wrote:
It is Easter, so hunting the bunny
>
>
Eggxactly.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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
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
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
Traffic seems to have abruptly stopped..
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
13 matches
Mail list logo