Re: [Flashcoders] Moving groups of objects

2008-07-22 Thread Gabino Travassos
oad in mcs in there, and attachMovie some buttons. But when I move the mc in root only the images which are loaded in move when I move it? On Tue, Jul 22, 2008 at 9:12 PM, Gabino Travassos < [EMAIL PROTECTED]> wrote: Hi Jonathan, How about creating a root movieclip and then making your

Re: [Flashcoders] Moving groups of objects

2008-07-22 Thread Gabino Travassos
Hi Jonathan, How about creating a root movieclip and then making your objects as children of that clip, so something (pseudocode) like: create movieclip f1 // root button create movieclip f1.button1 // button clip create text field f1.button1.text1 // text create movieclip f1.button1.rect1 // r

Re: [Flashcoders] tracing height

2008-07-08 Thread Gabino Travassos
I suggest you use onLoadInit instead onLoadComplete, because onLoadInit is dispatched after content was fully loaded and initialized. Gabino, use this code and you'll be able to get the dimensions of your loaded movie as soon image is loaded. Best, Fábio, Yeah, that is much better than what

Re: [Flashcoders] tracing height

2008-07-08 Thread Gabino Travassos
dListener(mclListener); my_mcl.loadClip("http://www.helpexamples.com/flash/images/image1.jpg";, img_mc); and while the clip loads I am not getting a trace... that's really what I need Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gab

Re: [Flashcoders] tracing height

2008-07-08 Thread Gabino Travassos
- Original Message - From: "Lehr, Theodore M (N-SGIS)" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Tuesday, July 08, 2008 8:56 AM Subject: [Flashcoders] tracing height I have: _root.imageMovie.loadMovie(stepImageArray[0]); sizeImage(); function sizeImage () { trace(_r

Re: [Flashcoders] Changing font?

2008-04-24 Thread Gabino Travassos
loop setTextFormat() maybe - Original Message - From: "Pedro Kostelec" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Thursday, April 24, 2008 11:49 AM Subject: [Flashcoders] Changing font? Hi How can i animate a change of font like in this page: http://www.emmawatsonofficial.c

Re: [Flashcoders] Reloading Dynamic Text

2008-04-19 Thread Gabino Travassos
What does the variable t1s look like? I notice that the text box is also called t1s. - Original Message - From: "Scott Wilhelm (HireAWebGeek.com)" <[EMAIL PROTECTED]> To: Sent: Saturday, April 19, 2008 1:43 PM Subject: [Flashcoders] Reloading Dynamic Text Hello: I'm trying to u

Re: [Flashcoders] code review

2008-04-16 Thread Gabino Travassos
Oh, right. I never use setTextFormat, I always create the text box, format it and put the text in. public static function makeTextField(x:Float,y:Float,w:Float,h:Float,f:String, s:Float,rgb,t:String){ var newDepth=flash.Lib.current.getNextHighestDepth(); var tf2 =flash.Lib.current.createTe

Re: [Flashcoders] code review

2008-04-15 Thread Gabino Travassos
Hi Theodore Have you tried it without the loop? i=1; _root.main_content["p_"+i].setTextFormat(portNavOff); _root.main_content["p_"+i].text="hello world!"; also, have you put text in p_1 already? Because the order that Flash wants is you setTextFormat on the text field, and then you put the te

Re: [Flashcoders] sending email as/php

2008-04-14 Thread Gabino Travassos
hi Theodore Use $_POST if you're sending POST. Use $_GET when you're pulling variables out of the url, like index.php?id=980; I'd also recommend strip_tags(). $comment=strip_tags($_POST['ucomment']); And look up sql injection. Gabino - Original Message - From: "Lehr, Theodore M (N

Re: [Flashcoders] Adding n days to dateField.selectedDate

2008-04-13 Thread Gabino Travassos
Hi Alan I found the easiest way to work with dates to keep from having to do this all the time is to start with unix date time, do calculations on it, and then convert it back to whatever format you want. For example, today is 1208129349, which is that many seconds past the Unix epoch start

[Flashcoders] online compiler project

2008-02-14 Thread Gabino Travassos
one file result Something like your typical swf 2 exe compiler, except it happens from a server in a Linux environment. Many thanks. Gabino Travassos ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders