[Flashcoders] is anybody from china in there ?

2006-12-24 Thread hongrizhao
my qq is 5641817 and my Msn is [EMAIL PROTECTED]  welcome every add me :)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: Re: [Flashcoders] i want to know how to record the flv with rtmp

2006-12-24 Thread hongrizhao
the thing i want to do is to record the flv was published  in the web with 
rtmp,for example,the max2006 video in adobe's web




hongrizhao
2006-12-25



发件人: Yehia Shouman
发送时间: 2006-12-25 12:01:55
收件人: Flashcoders mailing list
抄送: 
主题: Re: [Flashcoders] i want to know how to record the flv with rtmp

What you need to look into is FMS server side actionscript, to catch the
stream and save it

to publish from the client:
http://livedocs.macromedia.com/fms/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=0575.html

then save it
http://livedocs.macromedia.com/fms/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=0789.html#116659

Hope that helps
Yehia Shouman

On 12/24/06, hongrizhao  <[EMAIL PROTECTED] > wrote:
>
> if i know the rtmp address, how to record the flv to save ?
>
>
>
>
> hongrizhao
> 2006-12-25
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] i want to know how to record the flv with rtmp

2006-12-24 Thread Yehia Shouman

What you need to look into is FMS server side actionscript, to catch the
stream and save it

to publish from the client:
http://livedocs.macromedia.com/fms/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=0575.html

then save it
http://livedocs.macromedia.com/fms/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=0789.html#116659

Hope that helps
Yehia Shouman

On 12/24/06, hongrizhao <[EMAIL PROTECTED]> wrote:


if i know the rtmp address, how to record the flv to save ?




hongrizhao
2006-12-25


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash on Wii

2006-12-24 Thread Josh Santangelo

I did some poking around and discovered the following:

- The user-agent of the Wii browser (US version) is  "Opera/9.00  
(Nintendo Wii; U; ; 1309-9; en)".

- The Flash Player version on the Wii is "WII 7.0.70.0"
- You CAN enter a URL directly to a SWF.
- You CAN add a favorite directly to a SWF, but it won't show a good  
icon in the favorites screen.
- A SWF's stage at 100% width and height in 16:9 mode (480p) is  
1024x500.

- In 4:3 mode it is 800x500.
- After messing with the screen mode I was able to get the browser  
into a state where it was reporting the stage size as 700x150.  
Restarting the Wii fixed it.
- There are no global objects named Controller, Remote, Buttons, Wii,  
Nintendo, or com (looking for things like Mouse and Key).
- When pressing the A button on the remote, you get a mousedown event  
-- in fact it seems like you get four of them!

- Releasing the A button does not create a mouseup event.
- onMouseMove works pretty much as expected.
- Mouse.hide() does not hide the Wii remote pointer.
- Clicking on a text input field does bring up the Wii on-screen  
keyboard.
- I was not able to trap any events from buttons other than A on the  
main remote using mouse or keyboard events -- also tried Nunchuck and  
Classic Controller.


My only tools here are outputting things to a text field and using  
ASSetPropFlags to unhide any potentially-hidden variables. If anyone  
else has other tricks for finding things, I'd be into hearing them,  
but at this point it looks like you can't do anything particularly  
cool with Flash on Wii.


-josh

On Dec 22, 2006, at 9:37a, Josh Santangelo wrote:

The Wii's "Internet Channel" launched today, which is basically a  
downloadable version of Opera. Of course the first thing I did  
after getting it was check out what version of Flash was included.  
getVersion() returns "WII 7.0.70.0".


Kind of lame that it's only Flash 7. It looks like wiicade.com, a  
site full of Flash games to play on the Wii, was surprised too:  
http://wiicade.com/


I wonder if there's any kind of hidden API to trap events from the  
Wii remote control.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Re: Help with custom button (AS3)

2006-12-24 Thread Charles Parcell

On 12/23/06, Reid Priedhorsky <[EMAIL PROTECTED]> wrote:


Charles Parcell wrote:
>

Hi Charles,

Thanks for your help!

> I am not very versed on Flex Builder it self, but my first question is
to
> ask why you are importing UICompnent? I can only guess that you have not
> pasted in all of your code here.

That's because I was trying to decide whether to subclass Button or
UIComponent -- so far, they seem to work the same, but subclassing
Button results in a gradiented roundrect being drawn over my own stuff.
It's all there; just substitute UIComponent for Button when you read the
code. :)



Ahh, ok I can understand that.
If it makes any difference to you, I have built a button component that
actually extends MovieClip. I would guess in the context of Flex, you would
redraw or fill the graphic based on the effect triggered. So, you would have
to create methods for each of the events. But this is outside the bounds of
your question.

I don't know that I can be much more help on this because it seems that the
answer lies with how Flex handles the default placement of the center point
of the button.

Just doing a quick search on the livedocs site...

http://livedocs.macromedia.com/flex/2/langref/mx/effects/effectClasses/RotateInstance.html
http://livedocs.macromedia.com/flex/2/langref/mx/effects/Rotate.html



Second, why not draw your arrow so that its center is at 0,0?

This helps, but the layout is still kind of wonky. This also seems like
an odd solution to me; this would mean that people drawing components
would have to always work in four quadrants of the Cartesian plane
instead of just one.



True. It was just the first thing that popped into my head as a quick try.
:)

Charles P.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] i want to know how to record the flv with rtmp

2006-12-24 Thread hongrizhao
if i know the rtmp address, how to record the flv to save ?




hongrizhao
2006-12-25
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] Good External Actionscript Editor for Mac?

2006-12-24 Thread Josh Santangelo
Is there a tutorial anywhere on how to set up a good Xcode dev  
environment? Everything I've tried has never actually worked too well.


-josh

On Dec 21, 2006, at 10:05a, Randy Troppmann wrote:


I happily use xcode. Auto completion. Apple script "shift-enter" will
compile and run in Flash. Quick switching between class files.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Game - Post Encrypted Score to server side script

2006-12-24 Thread JulianG

I was starting to suspect that. Thank you!

JOR wrote:

Referrer's can be faked.
James



Mick G wrote:

You can also try checking the HTTP referrer in PHP to make sure people
can only post data to your PHP script from your page on your site.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Game - Post Encrypted Score to server side script

2006-12-24 Thread JOR

Referrer's can be faked.
James



Mick G wrote:

You can also try checking the HTTP referrer in PHP to make sure people
can only post data to your PHP script from your page on your site.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Remove elements from Array

2006-12-24 Thread AJ Canepa
The Array.splice method, in AS1 at least, is very slow.  For that  
reason, In situations like this where you would make repeated calls  
to it to remove one item I prefer to:

- create a new Array
- iterate the original array with a for loop
- push the items I want to keep into the new array
- dispose the old one when done.


On Dec 22, 2006, at 12:09 AM, Arindam Dhar wrote:


Try this,

  var myArray1:Array = new Array();
myArray1.push( new Array("A:", -1) );
myArray1.push( new Array("B:", -1) );
myArray1.push( new Array("C:",  0) );
myArray1.push( new Array("D:",  0) );
myArray1.push( new Array("E:", -1) );
myArray1.push( new Array("F:",  1) );
myArray1.push( new Array("G:",  0) );
myArray1.push( new Array("H:", -1) );
trace( myArray1);

  // the function with recursion

  function removeElements(arr, level) {

 for (var i = 0; i wrote:
  -

Hi everyone,

I'm having a braindead moment today, which I was hoping someone could
help me with.

I have the following array...

//Create array with 5 elements
var myArray1:Array = new Array();
myArray1.push( new Array("A:", -1) );
myArray1.push( new Array("B:", -1) );
myArray1.push( new Array("C:", 0) );
myArray1.push( new Array("D:", 0) );
myArray1.push( new Array("E:", -1) );
myArray1.push( new Array("F:", 1) );
myArray1.push( new Array("G:", 0) );
myArray1.push( new Array("H:", -1) );
//name, score

...and I'm trying to remove all the elements in myArray1 with a  
score of

less than 0 without sorting/reordering the array at all.

I was trying to use a 'for loop', but obviously as the elements are
removed, the length of the array changes & causes the wrong  
elements to

be deleted.

Can anyone help?

Thanks,


--
-
Mike Cobb
Creative Director
HMC Interactive
-
Tel: + 44 (0)845 20 11 462
Mob: + 44 (0)785 52 54 743
Web: http://www.hmcinteractive.co.uk
-
Grosvenor House, Belgrave Lane,
Plymouth, PL4 7DA, UK.
-

I've got a new e-mail address: [EMAIL PROTECTED]
Please update your address book. Thanks.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


 Send instant messages to your online friends http:// 
asia.messenger.yahoo.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com