Re: [Flashcoders] 360 degree rotation
thanx Cor But i need like this http://www.somersetdesign.co.uk/3drotator.php regards amol - Original Message - From: "Cor" To: "'Flash Coders List'" Sent: Monday, April 25, 2011 12:26 PM Subject: RE: [Flashcoders] 360 degree rotation 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 rotate(e:Event):void{ obj.rotation +=5; } //start the show init(); regards Cor ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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 But i need like this http://www.somersetdesign.co.uk/3drotator.php regards amol - Original Message - From: "Cor" To: "'Flash Coders List'" Sent: Monday, April 25, 2011 12:26 PM Subject: RE: [Flashcoders] 360 degree rotation > 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 rotate(e:Event):void{ > obj.rotation +=5; > } > > //start the show > init(); > > > regards > Cor > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] 360 degree rotation
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 a stack - one on top of another. Make all images invisible. Make the first visible. To rotate just move the visibility flag through the stack ( probably best to keep image references in an array). ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] 360 degree rotation
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 object is not fully rotated, goto 1 Flash loads all images in a stack - one on top of another. Make all images invisible. Make the first visible. To rotate just move the visibility flag through the stack ( probably best to keep image references in an array). ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] test
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 > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders John R. Sweeney Jr. Interactive Multimedia Developer OnDemand Interactive Inc 945 Washington Blvd. Hoffman Estates, IL 60169 Office/Fax: 847.310.5959 Cellular: 847.651.4469 www.ondemandinteractive.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] 360 degree rotation
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.. take PHOTO here! LOL 2) rotate turntable X degrees Oops, TAKE PHOTO! 3) If object is not fully rotated, goto 1 Flash loads all images in a stack - one on top of another. Make all images invisible. Make the first visible. To rotate just move the visibility flag through the stack ( probably best to keep image references in an array). ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Strange Behavior with an email link
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 SendRepEmail(e:MouseEvent): void{ var url:String = "mailto:"; + e.target.RepEmailText.text; var request:URLRequest = new URLRequest(url); // Also triedvar request:URLRequest = new URLRequest(url,"_blank' ); with the same result try { navigateToURL(request); } catch (e:Error) { //Do Nothing } } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Strange Behavior with an email link
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");} ); On Apr 25, 2011, at 1:07 PM, Steve Abaffy wrote: > 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 SendRepEmail(e:MouseEvent): void{ > > var url:String = "mailto:"; + e.target.RepEmailText.text; > > var request:URLRequest = new URLRequest(url); // Also triedvar > request:URLRequest = new URLRequest(url,"_blank' ); with the same result > > try { > >navigateToURL(request); > > } catch (e:Error) { > >//Do Nothing > > } > > } > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders DON TALCOTT 316 Greenwood Avenue Decatur, Georgia 30030 404.538.1642 dtalc...@mindspring.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Strange Behavior with an email link
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 email link 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");} ); On Apr 25, 2011, at 1:07 PM, Steve Abaffy wrote: > 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 SendRepEmail(e:MouseEvent): void{ > > var url:String = "mailto:"; + e.target.RepEmailText.text; > > var request:URLRequest = new URLRequest(url); // Also triedvar > request:URLRequest = new URLRequest(url,"_blank' ); with the same result > > try { > >navigateToURL(request); > > } catch (e:Error) { > >//Do Nothing > > } > > } > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders DON TALCOTT 316 Greenwood Avenue Decatur, Georgia 30030 404.538.1642 dtalc...@mindspring.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] 360 degree rotation
Thanx a lot - Original Message - From: "Paul Andrews" To: 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 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.. take PHOTO here! LOL 2) rotate turntable X degrees Oops, TAKE PHOTO! 3) If object is not fully rotated, goto 1 Flash loads all images in a stack - one on top of another. Make all images invisible. Make the first visible. To rotate just move the visibility flag through the stack ( probably best to keep image references in an array). ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders