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
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();
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
thanx Cor
But i need like this
http://www.somersetdesign.co.uk/3drotator.php
regards
amol
- Original Message -
From: Cor c...@chello.nl
To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
Sent: Monday, April 25, 2011 12:26 PM
Subject: RE: [Flashcoders] 360 degree rotation
Oh, OK look at Swift3D
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of
a...@yonearth.com
Sent: maandag 25 april 2011 9:47
To: Flash Coders List
Subject: Re: [Flashcoders] 360 degree rotation
thanx Cor
On 25/04/2011 08:47, a...@yonearth.com wrote:
thanx Cor
But i need like this
http://www.somersetdesign.co.uk/3drotator.php
regards
amol
It's not that complicated.
1) put object on turntable.
2) rotate turntable X degrees
3) If object is not fully rotated, goto 1
Flash loads all images in
On 25/04/2011 12:51, Paul Andrews wrote:
On 25/04/2011 08:47, a...@yonearth.com wrote:
thanx Cor
But i need like this
http://www.somersetdesign.co.uk/3drotator.php
regards
amol
It's not that complicated.
1) put object on turntable.
2) rotate turntable X degrees
Oops, TAKE PHOTO!
3) If
Now I have a chocolate high :)
on 4/24/11 12:18 PM, Kerry Thompson at al...@cyberiantiger.biz wrote:
Cor wrote:
It is Easter, so hunting the bunny
Eggxactly.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
On 25/04/2011 12:56, Paul Andrews wrote:
On 25/04/2011 12:51, Paul Andrews wrote:
On 25/04/2011 08:47, a...@yonearth.com wrote:
thanx Cor
But i need like this
http://www.somersetdesign.co.uk/3drotator.php
regards
amol
It's not that complicated.
1) put object on turntable.
1b Err..
I have the following code, and in IE8, IE9, Chrome when the email link
button is pressed, it opens the client email as expected but it also opens a
new page that says Navigation Cancelled in Firefox it works without
opening the extra page.
How do I make it stop doing that.
function
had somewhat the same problem, used as below to fix.
//SET THE MAILTO ADDRESS
var emailLink1:String = mailto:...@i.com;;
//ADD EVENT LISTENER FOR EMAIL LINK
mailtoLink1.addEventListener(MouseEvent.MOUSE_DOWN,function():void {
navigateToURL(new URLRequest(emailLink1), _self);}
);
Thank you that did the trick.
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of DONALD
TALCOTT
Sent: Monday, April 25, 2011 12:23 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Strange Behavior with an
Thanx a lot
- Original Message -
From: Paul Andrews p...@ipauland.com
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, April 25, 2011 8:00 PM
Subject: Re: [Flashcoders] 360 degree rotation
On 25/04/2011 12:56, Paul Andrews wrote:
On 25/04/2011 12:51, Paul Andrews wrote:
On
13 matches
Mail list logo