Re: [Flashcoders] Play MOV in flash

2008-05-19 Thread EECOLOR
If I recall correctly, you can only play .mov files if they are encoded with
the H.264 codec. And only if you have Flash player 9.0.124.


Greetz Erik

On 5/17/08, Scott Wilhelm (HireAWebGeek.com) [EMAIL PROTECTED] wrote:

 Is it possible to play a MOV file within flash?



 Thanks,



 Scott

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 : Flash IDE Base Class question ...

2008-05-19 Thread John McCormack

Hi Stephen,

On the Export for Actionscript dialog there is a pencil which brings up 
your class if you click it. But if you haven't written a class yet then the 
dialog says it will create one for you (when compiled), based on MovieClip. 
If you have written a class then you get what you want instead. I suppose 
they take the generic case since a MovieClip (an extended Sprite) can do 
anything a Sprite can.


John

//Is the compiler now using Sprite as the Base Class for my Box class (as 
per the Class definition) or is it still using MovieClip (as per the IDE)?




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Play MOV in flash

2008-05-19 Thread John R. Sweeney Jr
on 5/19/08 5:22 AM, EECOLOR at [EMAIL PROTECTED] wrote:

 If I recall correctly, you can only play .mov files if they are encoded with
 the H.264 codec. And only if you have Flash player 9.0.124.

I'm currently using this codec and player for about 50 external QT movies.
Working great.


Good luck,
John

===
John R. Sweeney Jr.([EMAIL PROTECTED])
Interactive Multimedia Developer/
Digital Media Specialist

OnDemand - Interactive, Inc.
847.651.4469 (cell)  847.310.5959 (office/fax)
=== 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Fastest way to compile AS2 SWFs from Textmate?

2008-05-19 Thread Ali Drongo
Hiya, I normally code in Textmate and use the Flash IDE to compile my  
SWFs. I was wondering if there was a faster way to compile my AS2 SWFs?

I'm on a Mac btw.

Cheers!

Ali


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Fastest way to compile AS2 SWFs from Textmate?

2008-05-19 Thread Ian Thomas
MTASC:

http://www.mtasc.org/

HTH,
   Ian

On Mon, May 19, 2008 at 4:33 PM, Ali Drongo [EMAIL PROTECTED] wrote:
 Hiya, I normally code in Textmate and use the Flash IDE to compile my SWFs.
 I was wondering if there was a faster way to compile my AS2 SWFs?
 I'm on a Mac btw.

 Cheers!

 Ali


 ___
 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] Dispatch Event works only with SetTimeout

2008-05-19 Thread Helmut Granda
Hi all,
I have an issue trying to dispatch a simple event. dispatchEvent(new
Event(ClassName.EVENT_NAME));

for some reason the event is not being triggered -unless- i put a time out
before it...

like so:

setTimeout(doDispatch, 1);

private function doDispatch () : void {

dispatchEvent(new Event(ClassName.EVENT_NAME));

}

Isn't this weird? Is there any reason why this behavior happens?

TIA
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Re: Dispatch Event works only with SetTimeout

2008-05-19 Thread Helmut Granda
I kind of figured out the issue, but would like to get some confirmation...
The issue at hand was that I was adding the listeners almost at the same
time that the application starts... here is one sample:

---MAIN.as

package {
import flash.display.Sprite;
import flash.events.Event;
public class Main extends Sprite {

public function Main() {
var mm = new MyMessage;
mm.addEventListener(MyMessage.DONE, theComplete);

}
 private function theComplete ( e : Event ) {
trace(THE COMPLETE)
}
}

}

-- MYMESSAGE.as
package {
import flash.display.Sprite;
import flash.events.*;
import flash.utils.*;
 public class MyMessage extends EventDispatcher {
 public static const DONE : String = complete;
 public function MyMessage () {
init();
}
 public function init() {
theDispatch();
}
 public function theDispatch() {
dispatchEvent( new Event(MyMessage.DONE))
}
 }
}



Now if i put a time out, the application is able to register the listeners.
So I must assume there is no way to assign a listener at the same time you
are creating an object. Is that correct?

--

On Mon, May 19, 2008 at 1:07 PM, Helmut Granda [EMAIL PROTECTED]
wrote:

 Hi all,
 I have an issue trying to dispatch a simple event. dispatchEvent(new
 Event(ClassName.EVENT_NAME));

 for some reason the event is not being triggered -unless- i put a time out
 before it...

 like so:

 setTimeout(doDispatch, 1);

 private function doDispatch () : void {

 dispatchEvent(new Event(ClassName.EVENT_NAME));

 }

 Isn't this weird? Is there any reason why this behavior happens?

 TIA

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Dispatch Event works only with SetTimeout

2008-05-19 Thread Merrill, Jason
What does the listener look like?  Also what code do you use to trigger
the event dispatch when not using the timer?  

Jason Merrill 
Bank of America 
Global Technology  Operations LLD 
eTools  Multimedia 

Join the Bank of America Flash Platform Developer Community 

Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GTO Innovative Learning Blog  subscribe. 

 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of Helmut Granda
Sent: Monday, May 19, 2008 2:08 PM
To: Flash Coders List
Subject: [Flashcoders] Dispatch Event works only with SetTimeout

Hi all,
I have an issue trying to dispatch a simple event. 
dispatchEvent(new Event(ClassName.EVENT_NAME));

for some reason the event is not being triggered -unless- i 
put a time out before it...

like so:

setTimeout(doDispatch, 1);

private function doDispatch () : void {

dispatchEvent(new Event(ClassName.EVENT_NAME));

}

Isn't this weird? Is there any reason why this behavior happens?

TIA
___
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] Dispatch Event works only with SetTimeout

2008-05-19 Thread eric e. dolecki
sounds like you *might* need an ADDED_TO_STAGE event here... but can't say
without knowing more.

On Mon, May 19, 2008 at 2:23 PM, Merrill, Jason 
[EMAIL PROTECTED] wrote:

 What does the listener look like?  Also what code do you use to trigger
 the event dispatch when not using the timer?

 Jason Merrill
 Bank of America
 Global Technology  Operations LLD
 eTools  Multimedia

 Join the Bank of America Flash Platform Developer Community

 Are you a Bank of America associate interested in innovative learning
 ideas and technologies?
 Check out our internal  GTO Innovative Learning Blog  subscribe.



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Helmut Granda
 Sent: Monday, May 19, 2008 2:08 PM
 To: Flash Coders List
 Subject: [Flashcoders] Dispatch Event works only with SetTimeout
 
 Hi all,
 I have an issue trying to dispatch a simple event.
 dispatchEvent(new Event(ClassName.EVENT_NAME));
 
 for some reason the event is not being triggered -unless- i
 put a time out before it...
 
 like so:
 
 setTimeout(doDispatch, 1);
 
 private function doDispatch () : void {
 
 dispatchEvent(new Event(ClassName.EVENT_NAME));
 
 }
 
 Isn't this weird? Is there any reason why this behavior happens?
 
 TIA
 ___
 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] adding value of radiobutton to number in resultTxt.text field.. help please

2008-05-19 Thread rlyn ben
how can i add a radiobutton value from the number at resultTxt.text... here is 
my code.. it wont do the math.. all it does is puts the value right beside the 
numbers at resultTxt.text.. help.. 

stop();

var gRB:RadioButtonGroup = RadioButtonGroup.getGroup(genderGroup);
gRB.addEventListener(MouseEvent.CLICK, genderHandler);

function genderHandler(event:MouseEvent):void {
trace(event.target.selection.name, event.target.selection.name);
trace(event.target.selection.value, event.target.selection.value);
trace(resultTxt.text, resultTxt.text);

switch(event.target.selection.name) {
case maleRB:
maleRB.value = 1;
break;
case femaleRB:
femaleRB.value = 0;
break;
}
resultTxt.text = parseInt(resultTxt.text) + 
(event.target.selection.value).toString();
}



  
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders