Re: [Flashcoders] movieclip to movieclip control in AS3

2008-01-11 Thread Bob Leisle
Hi Gustavo, If you're looking for AS3 books, Essential Actionscript 3.0 by Colin Moock is a great place to start. I'm a bit unclear what you're trying to do. If you are trying to start the ball clip from it's parent timeline, this should work: ball.gotoAndPlay(2); If you're trying to start it

Re: [Flashcoders] Question about Arrays

2008-01-11 Thread Mark Winterhalder
On Jan 11, 2008 11:34 PM, Mark Lapasa <[EMAIL PROTECTED]> wrote: > I too would expect that it would need to be casted. Yes, one would think so. I can't answer your question, either, but can't help but note that in haXe you would declare your array as Array. The compiler wouldn't let you put anyth

Re: [Flashcoders] Question about Arrays

2008-01-11 Thread Mark Lapasa
Thx eka + steven for your replies. Forgot to mention my question which is not "why is this -not- working" Rather "why is -it- working?" Try creating an AS3 project in Flex called SampleClass. Cut and paste the whole code. I too would expect that it would need to be casted. Thx, -mL knowledge.

Re: [Flashcoders] movieclip to movieclip control in AS3

2008-01-11 Thread Helmut Granda
Hi Gustavo, Could you give more details on your movie? If you create a circle and on stage and give it an instance name of "ball", and then just do ball.gotoAndPlay(2) it works properly... Maybe you are combining AS3 with AS2 and that is how you got the issue... On 1/11/08, Gustavo Duenas <[EMAI

Re: [Flashcoders] movieclip to movieclip control in AS3

2008-01-11 Thread Gustavo Duenas
HI Bob, thanks but this is so obscure to me, there is an example about this someplaceI guess I should have bought an AS3 Book. Regards gustavo P.d: in AS@ is so easy but since we migrate to flash cs3 I'd like to have all the advantages of the AS3 but I don't get it something that si

[Flashcoders] Re: Embedding font weights?

2008-01-11 Thread Matt Gitchell
answered my own question with an admitted shot in the dark: If you add fontWeight='bold' to the embed call it works. --matt -- Forwarded message -- From: Matt Gitchell <[EMAIL PROTECTED]> Date: Jan 11, 2008 12:28 PM Subject: Embedding font weights? To: Flash Coders List Hi. I'm

Re: [Flashcoders] movieclip to movieclip control in AS3

2008-01-11 Thread Bob Leisle
Hi Gustavo , Check out DisplayObjectContainer.getChildByName() or getChildByIndex() in the Flash help or at http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/index.html?flash/display/DisplayObjectContainer.html&flash/display/class-list.html hth, Bob Gustavo Duenas wrote: Hi Coders

[Flashcoders] Embedding font weights?

2008-01-11 Thread Matt Gitchell
Hi. I'm trying to use a bold font with the Embed dingus, and when I use this: [Embed(systemFont='Gotham', fontName='goth', mimeType='application/x-font', unicodeRange='U+0020-U+002F,U+0030-U+0039,U+003A-U+0040,U+0041-U+005A,U+005B-U+0060,U+0061-U+007A,U+007B-U+007E')] public static var goth:Class;

[Flashcoders] movieclip to movieclip control in AS3

2008-01-11 Thread Gustavo Duenas
Hi Coders, long time no see! I have one movie clip, which has an order in the timeline. the order is : this.ball.gotoAndPlay(2); I've been trying: root.ball.gotoAndPlay(2); ball.gotoAndPlay(2); MovieClip("ball").gotoAndPlay(2); but no success at all...Am I'm doing wrong something? I've been

RE: [Flashcoders] flash and 3d asset options

2008-01-11 Thread Merrill, Jason
>>I'm not sure why we're arguing, or even if we are arguing! Nah, we're not arguing, I agree with what you said, you agree with what I said, and the archives are all the better for it! Jason Merrill Bank of America GT&O L&LD Solutions Design & Development eTools & Multimedia Bank of America

Re: [Flashcoders] Question about Arrays

2008-01-11 Thread ekameleon
Hello :) try the typecasting : (a.pop() as MyClass).myFunction(); you can decompose the code with a reference and add a test with the null object var myInstance:MyClass = a.pop() as MyClass ; if ( myInstance != null ) { myInstance.myFunction() ; } EKA+ :) 2008/1/11, Mark Lapasa <[EMA

Re: [Flashcoders] Question about Arrays

2008-01-11 Thread Steven Sacks
I believe it's type * so you should cast it. MyClass(a[0]).myFunction(); Mark Lapasa wrote: In the following bit of code... // START code package { import flash.display.Sprite; public class SampleClass extends Sprite { public function SampleClass() { var a

Re: [Flashcoders] flash and 3d asset options

2008-01-11 Thread Paul Andrews
- Original Message - From: "Merrill, Jason" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Friday, January 11, 2008 6:49 PM Subject: RE: [Flashcoders] flash and 3d asset options It's an example of a transformation of a small number of 3D objects (five, I think). When that count ri

[Flashcoders] Question about Arrays

2008-01-11 Thread Mark Lapasa
In the following bit of code... // START code package { import flash.display.Sprite; public class SampleClass extends Sprite { public function SampleClass() { var a:Array = [new MyClass()]; a[0].myFunction(); a.pop().myFunction(); }

RE: [Flashcoders] flash and 3d asset options

2008-01-11 Thread Merrill, Jason
>>It's an example of a transformation of a small number of 3D >>objects (five, >>I think). When that count rises, I expect performance to >>drop. If you're counting "5 objects" as the car body, and the four tires, well, that's not a good way to determine how complex a 3D object is or how proce

Re: [Flashcoders] flash and 3d asset options

2008-01-11 Thread Paul Andrews
- Original Message - From: "Merrill, Jason" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Friday, January 11, 2008 3:12 PM Subject: RE: [Flashcoders] flash and 3d asset options In practice I doubt that flash will be able to handle complex models well and that most developers will

[Flashcoders] Transitions between Movies AS3

2008-01-11 Thread Helmut Granda
Hello All, I need to make some transitions between movies, basically after movie A finishes playing movie B starts after B loaded to cache. With video people are more acceptable to see the video overlap or not aligning properly when animations switch rather fast. In this case the animation from Mo

RE: [Flashcoders] flash and 3d asset options

2008-01-11 Thread Merrill, Jason
>>In practice I doubt that flash will be able to handle complex >>models well >>and that most developers will still get the best results from >>faking 3D if >>they can. I dunno, I've seen some VERY impressive and complex and textured models exported from apps like Maya to Papervision and they

RE: [Flashcoders] component rendering delay

2008-01-11 Thread Matthew James Poole
Have a look at this using a pseudo-threading technique for large processing jobs that affect the UI - this should be what you need: http://blogs.adobe.com/aharui/2008/01/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of learner Sent: 11 January 2008 13:07

[Flashcoders] component rendering delay

2008-01-11 Thread learner
Hi all, My component structure contains following things: when i create this component it takes time to render its UI, the reason is mainly because, 1) The list has dataProvider which takes a custom item rendere which has images and 5-6 labels and a tex

RE: [Flashcoders] startAtLogin in AIR

2008-01-11 Thread Matthew James Poole
Cool, have you had a go with using Flex for AIR? Is very good :) ... Its about time I installed the Flash extension for AIR too ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 11 January 2008 10:01 To: Flash Coders List Subject:

Re: [Flashcoders] startAtLogin in AIR

2008-01-11 Thread Sidney de Koning
That works :) Thanks Muzak wrote: How do you trace your messages in AIR from the IDE? i dont get any i just noticed. In the Flash IDE: "Debug -> Debug Movie" works fine here. As explained in the docs: http://livedocs.adobe.com/labs/air/1/devappsflash/ http://livedocs.adobe.com/labs/air/1/de

Re: [Flashcoders] startAtLogin in AIR

2008-01-11 Thread Sidney de Koning
Just a regular trace() I'm using Flash. I'll try the debugger in the IDE Matthew James Poole wrote: Good plan, it doesn't look that complicated anyway... @How do you trace your messages in AIR from the IDE? Are you using Flex or Flash? I've not built any AIR in Flash so I cant comment, but in

Re: [Flashcoders] So You Want To Hire a SWF Developer?

2008-01-11 Thread Zárate
Just jump to page 3 if you want to see the descriptions and avoid the Flash history: http://www.communitymx.com/content/article.cfm?page=3&cid=284FA Cheers! On Jan 11, 2008 4:10 AM, Joseph Balderson <[EMAIL PROTECTED]> wrote: > FYI, there's a free article on Community MX >

Re: [Flashcoders] flash and 3d asset options

2008-01-11 Thread Paul Andrews
- Original Message - From: "Merrill, Jason" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Wednesday, January 09, 2008 7:52 PM Subject: RE: [Flashcoders] flash and 3d asset options FYI - Swift3D now exports to Papervision, and provides the code for you, so you can easily do real 3D

Re: [Flashcoders] flash and 3d asset options

2008-01-11 Thread Peter B
> FYI - Swift3D now exports to Papervision, and provides the code for you, > so you can easily do real 3D in Flash. > Nice, thanks for the infor Jason ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/list